I spy with my little eye... ILSpy
- Posted: Mar 30, 2011 at 6:00 AM
- 11,249 Views
- 6 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
If you've been developing with .Net for any length of time you've probably heard of .Net Reflector. This utility decompiles your .Net assembly and lets you see it as C#/VB. I can't tell you the number of times this utility has saved my hide.
Recently .Net Reflector switched from a free (though never open source) to a fee distribution model. This has prompted the community to provide some open source alternatives.
One of the top new projects is ILSpy

ILSpy is the open-source .NET assembly browser and decompiler.
ILSpy Features
- Assembly browsing
- IL Disassembly
- Decompilation to C#
- Supports lambdas and 'yield return'
- Saving of resources
- Search for types/methods/properties (substring)
- Hyperlink-based type/method/property navigation
- Base/Derived types navigation
- Navigation history
- BAML to XAML decompiler
- Save Assembly as C# Project
- Find usage of field/method
- Extensibile via plugins (MEF)
And while .Net Reflector is pretty cool, there's nothing like have the source to see the source... ![]()
Speaking of the source, the project downloads, compiles and runs with no issues. Download it, unzip it and it just works.
The beauty is that you can see everything. Nothing is hidden...
And this project not only provides the ILSpy functionality, but is a real world example of using the cool ic#code AvalonEdit, a cool WPF text edit control too.
It's one thing to browse the innards of .Net exe's and DLL's. It's something else to have the source to the project lets you do this browsing...
Image curtsey of pareeerica
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?
Awesome!
Isn't this illegal?
_____________________________________________________________________
My blog: Defenestration Coding.
Illegal? not... exist the Ofuscator...
@X: Huh?
Of course it is legal. If you decompile software which explicitly states that you are not allowed to decompile in its terms and conditions - then you are most likely breaking some international copyright laws.
Redgate allow us to use reflector for 14 days as a trial.
I deleted the trial version after it expired and downloaded a new one, and it just worked.....
Remove this comment
Remove this thread
close