You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry,My Question was : how to get Assembly EntryPoint from MethodDefinition ?, like Mono cecil Assembly.EntryPoint.
I have another question: is there any way to get ParameterDefinition or even parameter Name from ParameterSignature, because CilInstruction Operand is Only gives ParameterSignature
dashne
changed the title
Method EntryPoint
Assembly EntryPoint
Jan 31, 2020
The only way to get the actual name of the parameter is to first obtain its index using MethodSignature.Parameters.IndexOf, and then use this index to get the right parameter definition from MethodDefinition.Parameters
Note that the way parameters are handled and resolved and made much easier in v4.
how to get Method
EntryPoint
fromMethodDefinition
?The text was updated successfully, but these errors were encountered: