ildasm.exe is the .NET Framework intermediate language disassembler. ildasm.exe opens a GUI window. When specifying /OUT or /OUT=<filename>, the output is redirected either to stdout or a file. /TEXT, /HTML and /RTF. | /OUT=<file name> | Direct output to file rather than to GUI. |
| /TEXT | Direct output to console window rather than to GUI. |
| /HTML | Output in HTML format (valid with /OUT option only). |
| /RTF | Output in rich text format (invalid with /TEXT option). |
| /BYTES | Show actual bytes (in hex) as instruction comments. |
| /RAWEH | Show exception handling clauses in raw form. |
| /TOKENS | Show metadata tokens of classes and members. |
| /SOURCE | Show original source lines as comments. |
| /LINENUM | Include references to original source lines. |
| /VISIBILITY=<vis>[+<vis>...] | Only disassemble the items with specified visibility. (<vis> = PUB | PRI | FAM | ASM | FAA | FOA | PSC) |
| /PUBONLY | Only disassemble the public items (same as /VIS=PUB). |
| /QUOTEALLNAMES | Include all names into single quotes. |
| /NOCA | Suppress output of custom attributes. |
| /CAVERBAL | Output CA blobs in verbal form (default - in binary form). |
| /NOBAR | Suppress disassembly progress bar window pop-up. |
| /UTF8 | Use UTF-8 encoding for output (default - ANSI). |
| /UNICODE | Use UNICODE encoding for output. |
| /NOIL | Suppress IL assembler code output. |
| /FORWARD | Use forward class declaration. |
| /TYPELIST | Output full list of types (to preserve type ordering in round-trip). |
| /PROJECT | Display .NET projection view if input is a .winmd file. |
| /HEADERS | Include file headers information in the output. |
| /ITEM=<class>[::<method>[(<sig>)] | Disassemble the specified item only |
| /STATS | Include statistics on the image. |
| /CLASSLIST | Include list of classes defined in the module. |
| /ALL | Combination of /HEADER,/BYTES,/STATS,/CLASSLIST,/TOKENS |
| /METADATA[=<specifier>] | Show MetaData, where <specifier> is one of MDHEADER, HEX, CSV, UNREX, SCHEMA, RAW, HEAPS, VALIDATE |
| /OBJECTFILE=<obj_file_name> | Show MetaData of a single object file in library |
ilasm.exe is the IL assembler. Interestingly, the assembler is not located in the same directory as the disassembler.