Is there a tool to select some code in Visual Studio and show it the appropriate MSIL?

Recently, I have found that I am constantly running ILDASM to examine the MSIL output of my programs.

Are there any utilities to optimize this? Ideally, it would be nice to select some source code and compile, parse and emit the selected C # code in MSIL.

Does anyone know about this?

+6
c # visual-studio cil
source share
3 answers

.NET Reflector

I think RedGate bought an IP for this tool now. I'm sure there is a VS plugin that integrates with it so you can run this from vs.

.NET Reflector Plugin alt text http://www.mutantdesign.co.uk/reflector/TestWithReflector.gif

+6
source share

You can use testdriven.net amazing module testing module, which gives you the opportunity to right-click on any member and view it in the reflector,

+2
source share

Open the DLL in the reflector, select any function in any class, and select the IL as the language for decompilation. I do not think you are looking for a more granular level.

+1
source share

All Articles