C# Class Catel.Fody.InstructionListExtensions

Show file Open project: Catel/Catel.Fody

Public Methods

Method Description
Append ( this collection ) : void
BeforeLast ( this collection ) : void
GetFirstSequencePoint ( this instructions ) : SequencePoint
GetPreviousInstruction ( this instructions, Instruction instruction ) : Instruction
GetSequencePoint ( this instructions, Instruction instruction ) : SequencePoint
Insert ( this collection, int index ) : int
Insert ( this collection, int index, List instructions ) : int
MoveInstructionsToEnd ( this instructions, int startIndex, int length ) : void
Prepend ( this collection ) : void
UsesField ( this instructions, FieldDefinition field ) : bool
UsesType ( this instructions, Mono.Cecil.TypeDefinition typeDefinition ) : bool

Method Details

Append() public static method

public static Append ( this collection ) : void
collection this
return void

BeforeLast() public static method

public static BeforeLast ( this collection ) : void
collection this
return void

GetFirstSequencePoint() public static method

public static GetFirstSequencePoint ( this instructions ) : SequencePoint
instructions this
return Mono.Cecil.Cil.SequencePoint

GetPreviousInstruction() public static method

public static GetPreviousInstruction ( this instructions, Instruction instruction ) : Instruction
instructions this
instruction Mono.Cecil.Cil.Instruction
return Mono.Cecil.Cil.Instruction

GetSequencePoint() public static method

public static GetSequencePoint ( this instructions, Instruction instruction ) : SequencePoint
instructions this
instruction Mono.Cecil.Cil.Instruction
return Mono.Cecil.Cil.SequencePoint

Insert() public static method

public static Insert ( this collection, int index ) : int
collection this
index int
return int

Insert() public static method

public static Insert ( this collection, int index, List instructions ) : int
collection this
index int
instructions List
return int

MoveInstructionsToEnd() public static method

public static MoveInstructionsToEnd ( this instructions, int startIndex, int length ) : void
instructions this
startIndex int
length int
return void

Prepend() public static method

public static Prepend ( this collection ) : void
collection this
return void

UsesField() public static method

public static UsesField ( this instructions, FieldDefinition field ) : bool
instructions this
field Mono.Cecil.FieldDefinition
return bool

UsesType() public static method

public static UsesType ( this instructions, Mono.Cecil.TypeDefinition typeDefinition ) : bool
instructions this
typeDefinition Mono.Cecil.TypeDefinition
return bool