Inspecting Our Assembly with .NET Reflector

Knowing how things work will make you a better developer for sure. One great thing about the use of an intermediate language format in the .NET world is the capability to inspect compiled assemblies at any point in time without requiring the original source code.

Two commonly used tools to inspect assemblies include the .NET Framework IL disassembler tool (ildasm.exe) and .NET Reflector from Red Gate. For the time being, we’ll use .NET Reflector, which you can download from the Red Gate website at www.red-gate.com/products/reflector.

When you run the tool for the first time, a dialog like the one shown in Figure 3.11 will appear. Here you can populate the initial list of assemblies displayed by .NET ...

Get C# 4.0 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.