C# Class NJection.LambdaConverter.InstructionsIndexer

Inheritance: IOpCodeIndexer
Afficher le fichier Open project: sagifogel/NJection.LambdaConverter

Méthodes publiques

Méthode Description
GetInstruction ( AstNode node ) : Instruction
GetLastInstructionInRange ( AstNode node ) : Instruction
GetNextInstruction ( Instruction instruction ) : Instruction
GetPrevoiusRangeOfInstructions ( Instruction startFrom, int count ) : IEnumerable
GetRangeOfInstructions ( Instruction startFrom, int count ) : IEnumerable
InstructionsIndexer ( List instructions ) : System
TryGetCallInstruction ( AstNode node, Instruction &instruction ) : bool
TryGetConvertInstruction ( CastExpression node, Type type, Instruction &instruction ) : bool
TryGetInstruction ( AstNode node, Mono.Cecil.Cil.OpCode opCode, Instruction &instruction ) : bool
TryGetLoadFieldInstruction ( AstNode node, Instruction &instruction ) : bool
TryGetNewObjectInstruction ( AstNode node, Instruction &instruction ) : bool
TryGetNewObjectInstruction ( AstNode node, Type type, Instruction &instruction ) : bool
TryGetOpCode ( AstNode node, Mono.Cecil.Cil.OpCode opCodes, Instruction &instruction ) : bool
TryGetStoreFieldInstruction ( AstNode node, Instruction &instruction ) : bool

Private Methods

Méthode Description
GetRangeOfInstuction ( int startFrom, int count ) : IEnumerable
InstructionAt ( int offset ) : Instruction
TryGetInstruction ( List ilRanges, Mono.Cecil.Cil.OpCode opCode, Instruction &instruction ) : bool

Method Details

GetInstruction() public méthode

public GetInstruction ( AstNode node ) : Instruction
node AstNode
Résultat Mono.Cecil.Cil.Instruction

GetLastInstructionInRange() public méthode

public GetLastInstructionInRange ( AstNode node ) : Instruction
node AstNode
Résultat Mono.Cecil.Cil.Instruction

GetNextInstruction() public méthode

public GetNextInstruction ( Instruction instruction ) : Instruction
instruction Mono.Cecil.Cil.Instruction
Résultat Mono.Cecil.Cil.Instruction

GetPrevoiusRangeOfInstructions() public méthode

public GetPrevoiusRangeOfInstructions ( Instruction startFrom, int count ) : IEnumerable
startFrom Mono.Cecil.Cil.Instruction
count int
Résultat IEnumerable

GetRangeOfInstructions() public méthode

public GetRangeOfInstructions ( Instruction startFrom, int count ) : IEnumerable
startFrom Mono.Cecil.Cil.Instruction
count int
Résultat IEnumerable

InstructionsIndexer() public méthode

public InstructionsIndexer ( List instructions ) : System
instructions List
Résultat System

TryGetCallInstruction() public méthode

public TryGetCallInstruction ( AstNode node, Instruction &instruction ) : bool
node AstNode
instruction Mono.Cecil.Cil.Instruction
Résultat bool

TryGetConvertInstruction() public méthode

public TryGetConvertInstruction ( CastExpression node, Type type, Instruction &instruction ) : bool
node CastExpression
type System.Type
instruction Mono.Cecil.Cil.Instruction
Résultat bool

TryGetInstruction() public méthode

public TryGetInstruction ( AstNode node, Mono.Cecil.Cil.OpCode opCode, Instruction &instruction ) : bool
node AstNode
opCode Mono.Cecil.Cil.OpCode
instruction Mono.Cecil.Cil.Instruction
Résultat bool

TryGetLoadFieldInstruction() public méthode

public TryGetLoadFieldInstruction ( AstNode node, Instruction &instruction ) : bool
node AstNode
instruction Mono.Cecil.Cil.Instruction
Résultat bool

TryGetNewObjectInstruction() public méthode

public TryGetNewObjectInstruction ( AstNode node, Instruction &instruction ) : bool
node AstNode
instruction Mono.Cecil.Cil.Instruction
Résultat bool

TryGetNewObjectInstruction() public méthode

public TryGetNewObjectInstruction ( AstNode node, Type type, Instruction &instruction ) : bool
node AstNode
type System.Type
instruction Mono.Cecil.Cil.Instruction
Résultat bool

TryGetOpCode() public méthode

public TryGetOpCode ( AstNode node, Mono.Cecil.Cil.OpCode opCodes, Instruction &instruction ) : bool
node AstNode
opCodes Mono.Cecil.Cil.OpCode
instruction Mono.Cecil.Cil.Instruction
Résultat bool

TryGetStoreFieldInstruction() public méthode

public TryGetStoreFieldInstruction ( AstNode node, Instruction &instruction ) : bool
node AstNode
instruction Mono.Cecil.Cil.Instruction
Résultat bool