C# Class ICSharpCode.Decompiler.Disassembler.IlStructure

ファイルを表示 Open project: mwoelk83/Mono.Cecil.Fluent Class Usage Examples

Public Properties

Property Type Description
Children List
EndOffset int
ExceptionHandler Mono.Cecil.Cil.ExceptionHandler
LoopEntryPoint Mono.Cecil.Cil.Instruction
StartOffset int
Type IlStructureType

Public Methods

Method Description
IlStructure ( IlStructureType type, int startOffset, int endOffset, Mono.Cecil.Cil.ExceptionHandler handler = null ) : System.Collections.Generic
IlStructure ( IlStructureType type, int startOffset, int endOffset, Instruction loopEntryPoint ) : System.Collections.Generic
IlStructure ( MethodBody body, int codesize ) : System.Collections.Generic

Private Methods

Method Description
AddNestedStructure ( IlStructure newStructure ) : bool
FindAllBranches ( MethodBody body ) : Instruction>>.List

Finds all branches. Returns list of source offset->target offset mapping. Multiple entries for the same source offset are possible (switch statements). The result is sorted by source offset.

SortChildren ( ) : void

Method Details

IlStructure() public method

public IlStructure ( IlStructureType type, int startOffset, int endOffset, Mono.Cecil.Cil.ExceptionHandler handler = null ) : System.Collections.Generic
type IlStructureType
startOffset int
endOffset int
handler Mono.Cecil.Cil.ExceptionHandler
return System.Collections.Generic

IlStructure() public method

public IlStructure ( IlStructureType type, int startOffset, int endOffset, Instruction loopEntryPoint ) : System.Collections.Generic
type IlStructureType
startOffset int
endOffset int
loopEntryPoint Mono.Cecil.Cil.Instruction
return System.Collections.Generic

IlStructure() public method

public IlStructure ( MethodBody body, int codesize ) : System.Collections.Generic
body Mono.Cecil.Cil.MethodBody
codesize int
return System.Collections.Generic

Property Details

Children public_oe property

public List Children
return List

EndOffset public_oe property

public int EndOffset
return int

ExceptionHandler public_oe property

public ExceptionHandler,Mono.Cecil.Cil ExceptionHandler
return Mono.Cecil.Cil.ExceptionHandler

LoopEntryPoint public_oe property

public Instruction,Mono.Cecil.Cil LoopEntryPoint
return Mono.Cecil.Cil.Instruction

StartOffset public_oe property

public int StartOffset
return int

Type public_oe property

public IlStructureType Type
return IlStructureType