Class DisassemblerParams
Contains parameters that control how the disassembling operation works
Inheritance
Inherited Members
Namespace: CilTools.Syntax
Assembly: CilTools.BytecodeAnalysis.dll
Syntax
public class DisassemblerParamsConstructors
DisassemblerParams()
Declaration
public DisassemblerParams()Properties
AssemblyQualifyAllTypes
Gets or sets a value specifying that disassembler should assembly-qualify type names even when it is not
required by CIL syntax (that is, when the type is from the assembly being disassembled). For example MyType
will be disassembled as [MyAssembly]MyType when disassembling method in MyAssembly.
Declaration
public bool AssemblyQualifyAllTypes { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
CodeProvider
Gets or sets an object used to load source code corresponding to disassembled bytecode. Could be null if IncludeSourceCode property is set to false.
Declaration
public SourceCodeProvider CodeProvider { get; set; }Property Value
| Type | Description | 
|---|---|
| SourceCodeProvider | 
IncludeCodeSize
Gets or sets a value specifying that disassembler should include method's bytecode size in its output. The bytecode size is added as a comment in the beginning of the method body.
Declaration
public bool IncludeCodeSize { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
IncludeSourceCode
Gets or sets a value specifying that disassembler should include source code in its output. The source code is added as a comment before the CIL fragment it is corresponding to.
Declaration
public bool IncludeSourceCode { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
Remarks
The CodeProvider property should be set to a valid SourceCodeProvider implementation if this property is set to true.