Replies: 2 comments
|
I feel like that's a .NET limitation that has nothing to do with AsmResolver. I think that signature is just a byte and an int (or something like that). The name is unknowable, except in the context of a method. |
|
I understand the thought process and it would indeed be nice, but this is something that I am not sure is a good idea to implement in AsmResolver directly. As @ds5678 indicated,
Both points are problematic. Hard-wiring severely hurts the UX of blob signatures in general (e.g., it would disallow reuse of signatures by multiple metadata members, and having to pass the owner to a signature always clutters code etc.). Type resolution could be done but can be computationally expensive and is not even always guaranteed to succeed (e.g., in case of missing dependency files). |
Uh oh!
There was an error while loading. Please reload this page.
It will be nice to have real Generic Type (i.e. T ) instead of (!0 or !!0), when Calling Property
GenericParameterSignature.Name,Specially when using the signature and you do not have itsMethod's owner or Type, Like
ILSpyordnSpyAll reactions