C# Class TUP.AsmResolver.NET.Specialized.MSIL.MSILAssembler

Mostra file Open project: Rex-Hays/GNIDA Class Usage Examples

Public Methods

Method Description
CalculateSpaceNeeded ( MSILInstruction targetInstruction, MSILInstruction newInstruction ) : int
CalculateSpaceNeeded ( MSILInstruction targetInstruction, int newSize ) : int
MSILAssembler ( MethodBody methodBody ) : System
Replace ( MSILInstruction targetInstruction, MSILInstruction newInstruction ) : void
Replace ( MSILInstruction targetInstruction, MSILInstruction newInstruction, bool overwriteWhenLarger ) : void
Replace ( MSILInstruction targetInstruction, MSILInstruction newInstruction, bool overwriteWhenLarger, bool suppressInvalidReferences ) : void
ValidateReference ( MetaDataMember member ) : bool

Private Methods

Method Description
GenerateOperandBytes ( MSILInstruction instruction ) : void

Method Details

CalculateSpaceNeeded() public method

public CalculateSpaceNeeded ( MSILInstruction targetInstruction, MSILInstruction newInstruction ) : int
targetInstruction MSILInstruction
newInstruction MSILInstruction
return int

CalculateSpaceNeeded() public method

public CalculateSpaceNeeded ( MSILInstruction targetInstruction, int newSize ) : int
targetInstruction MSILInstruction
newSize int
return int

MSILAssembler() public method

public MSILAssembler ( MethodBody methodBody ) : System
methodBody MethodBody
return System

Replace() public method

public Replace ( MSILInstruction targetInstruction, MSILInstruction newInstruction ) : void
targetInstruction MSILInstruction
newInstruction MSILInstruction
return void

Replace() public method

public Replace ( MSILInstruction targetInstruction, MSILInstruction newInstruction, bool overwriteWhenLarger ) : void
targetInstruction MSILInstruction
newInstruction MSILInstruction
overwriteWhenLarger bool
return void

Replace() public method

public Replace ( MSILInstruction targetInstruction, MSILInstruction newInstruction, bool overwriteWhenLarger, bool suppressInvalidReferences ) : void
targetInstruction MSILInstruction
newInstruction MSILInstruction
overwriteWhenLarger bool
suppressInvalidReferences bool
return void

ValidateReference() public method

public ValidateReference ( MetaDataMember member ) : bool
member MetaDataMember
return bool