C# Класс TUP.AsmResolver.NET.Specialized.MSIL.MSILAssembler

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
GenerateOperandBytes ( MSILInstruction instruction ) : void

Описание методов

CalculateSpaceNeeded() публичный Метод

public CalculateSpaceNeeded ( MSILInstruction targetInstruction, MSILInstruction newInstruction ) : int
targetInstruction MSILInstruction
newInstruction MSILInstruction
Результат int

CalculateSpaceNeeded() публичный Метод

public CalculateSpaceNeeded ( MSILInstruction targetInstruction, int newSize ) : int
targetInstruction MSILInstruction
newSize int
Результат int

MSILAssembler() публичный Метод

public MSILAssembler ( MethodBody methodBody ) : System
methodBody MethodBody
Результат System

Replace() публичный Метод

public Replace ( MSILInstruction targetInstruction, MSILInstruction newInstruction ) : void
targetInstruction MSILInstruction
newInstruction MSILInstruction
Результат void

Replace() публичный Метод

public Replace ( MSILInstruction targetInstruction, MSILInstruction newInstruction, bool overwriteWhenLarger ) : void
targetInstruction MSILInstruction
newInstruction MSILInstruction
overwriteWhenLarger bool
Результат void

Replace() публичный Метод

public Replace ( MSILInstruction targetInstruction, MSILInstruction newInstruction, bool overwriteWhenLarger, bool suppressInvalidReferences ) : void
targetInstruction MSILInstruction
newInstruction MSILInstruction
overwriteWhenLarger bool
suppressInvalidReferences bool
Результат void

ValidateReference() публичный Метод

public ValidateReference ( MetaDataMember member ) : bool
member MetaDataMember
Результат bool