Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using the Lutz reflector for seeing IL code

I have a class with a few methods and I would like to see how the code is converted to IL code. Can I do this using the reflector? If not, can I use VS IDE to view the IL code?

like image 975
Nick Avatar asked Dec 30 '22 22:12

Nick


2 Answers

Yes you can. Open the exe/dll with Reflector and change the language setting to IL.

like image 177
Inisheer Avatar answered Jan 17 '23 14:01

Inisheer


You can also use ILDasm to disassemble the assembly to IL.

like image 27
Andrew Hare Avatar answered Jan 17 '23 14:01

Andrew Hare