Get information about the index of a method in the containing type #925
Unanswered
daveMueller
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm curious if it is possible to get the index of a method in the containing type with
cecil
? Theroslyn
team is sometimes using this value to create names for generated synthesized methods. When I look into the documentation of the filehttps://github.com/dotnet/roslyn/blob/main/src/Compilers/Core/Portable/CodeGen/DebugId.cs
it says something about 'the ordinal is included in the custom debug information record attached to the method'. But when I try this with
cecil
I only get someBinaryCustomDebugInformation
that seem impossible to interpret.Beta Was this translation helpful? Give feedback.
All reactions