Does a comprehensive guide to ILSpy exist? #3304
-
I was looking for a desktop app that will give me the same results as https://sharplab.io/, which is using ILSpy as far as i know. But i don't really understand how i should tune the options to see state machines of async or a anonymous delegate classes that compiler makes (basically elimination of syntax sugar plus actual code that is generated behind the scenes in C#), thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
I guess you are looking for this feature? |
Beta Was this translation helpful? Give feedback.
-
To get the latest CI build - go to the main page https://github.com/icsharpcode/ILSpy |
Beta Was this translation helpful? Give feedback.
Left of the language selection dropdown there is a group of buttons, which control the visibility of items in the tree view. By selecting the third option from the left you should see all the types and members. Then you should be able to select the compiler-generated display class in the tree view and/or navigate to it via link.
Note, that these types are usually nested types so you need to look into the type containing the method in question.
If it is still not visible that sounds like a bug, but it is hard to say without the actual binary to look at.