Reputation: 48736
Does the Microsoft C# compiler (CSC.exe) have an option to output the Intermediate Language files? Kind of like the -S switch does in GCC?
Upvotes: 4
Views: 2054
Reputation: 6157
You can use ildasm.exe to extract the IL from the assembly compiled by csc.exe.
Upvotes: 9
Reputation: 13907
Your final executables and DLLs are stored in IL.
To see what I mean, download .NET Reflector, open one of your DLLs or executables, and switch the language to IL. It will also go through translating the IL into C# for you.
Upvotes: 6