Skip to content

IlDisassembler

Namespace: Dotsider.Core.Analysis

Assembly: Dotsider.Core.dll

Decodes IL (Intermediate Language) method bodies into human-readable instruction sequences.

public sealed class IlDisassembler

ObjectIlDisassembler

Decodes IL (Intermediate Language) method bodies into human-readable instruction sequences.

Parameters:

public IlDisassembler(AssemblyAnalyzer analyzer)

Disassembles a method’s IL body into a sequence of instructions. Returns an empty list if the method has no IL body.

Parameters:

Returns: IReadOnlyList<IlInstruction>

The list of decoded IL instructions.

public IReadOnlyList<IlInstruction> Disassemble(MethodDefInfo method)

Formats a complete disassembly listing for a method, including header information.

Parameters:

Returns: String

A multi-line string with the full disassembly listing.

public string FormatDisassembly(MethodDefInfo method)