ILDASM

The .NET ships with several tools, ranging from compilers to form designers. However, the most important tool is ILDASM, Intermediate Language Disassembler. ILDASM allows for peeking into various .NET assemblies. Regardless of the language used to implement the assembly, ILDASM is capable of displaying the resulting IL.

The main window of ILDASM creates a treeview detailing the contents of a .NET assembly. The treeview is grouped by namespace with each namespace containing one or more nested namespaces, structs, classes, interfaces, or enumerations (see Figure 1.3.4).

Figure 1.3.4. ILDASM with mscorlib.dll loaded.

Locate the .NET assembly ...

Get C# and the .NET Framework: The C++ Perspective 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.