Метод | Описание | |
---|---|---|
AddImplAttribute ( ImplAttr ia ) : void |
Add some implementation attributes to this method descriptor
|
|
AddLocals ( Local locals, bool initLocals ) : void |
Add local variables to this method
|
|
AddMethAttribute ( MethAttr ma ) : void |
Add some attributes to this method descriptor
|
|
AddPInvokeInfo ( |
||
AddSecurity ( |
||
AddSecurity ( SecurityAction act, byte permissionSet ) : void | ||
CreateCodeBuffer ( ) : |
Create a code buffer for this method to add the IL instructions to
|
|
DeclareEntryPoint ( ) : void |
Mark this method as having an entry point
|
|
GetCodeBuffer ( ) : |
Get the CIL code buffer for this method
|
|
GetImplAttributes ( ) : ImplAttr |
Property to get and set the implementation attributes for this method
|
|
GetLocals ( ) : Local[] |
Retrieve the locals for this method
|
|
GetMaxStack ( ) : int |
Retrieve the maximum size of the stack for the code of this method
|
|
GetMethAttributes ( ) : MethAttr |
Property to get and set the attributes for this method
|
|
GetParams ( ) : PERWAPI.Param[] |
Get the parameters of this method
|
|
GetSecurity ( ) : PERWAPI.DeclSecurity[] | ||
GetVarArgSignature ( ) : |
||
HasEntryPoint ( ) : bool |
Does this method have an entrypoint?
|
|
MakeRefOf ( ) : |
Get the MethodRef equivalent to this MethodDef. If one does not exist, then create it.
|
|
MakeVarArgSignature ( Type optPars ) : |
Make a method reference descriptor for this method to be used as a callsite signature for this vararg method
|
|
RefOf ( ) : |
Get the MethodRef equivalent to this MethodDef. Assumes that one has been created.
|
|
RemoveEntryPoint ( ) : void |
Remove the entry point from this method
|
|
RemoveLocals ( ) : void |
Remove all the locals from this method
|
|
RemovePInvokeInfo ( ) : void | ||
RemoveSecurity ( ) : void | ||
SetImplAttributes ( ImplAttr ia ) : void | ||
SetMaxStack ( int maxStack ) : void |
Set the maximum stack height for this method
|
|
SetMethAttributes ( MethAttr ma ) : void | ||
SetParams ( |
Set the parameters for this method
|
Метод | Описание | |
---|---|---|
AddGenericsToTable ( |
||
AddPInvokeInfo ( |
||
AddVarArgSig ( |
||
BuildCILInfo ( |
||
BuildSignatures ( |
||
BuildTables ( |
||
ChangeRefsToDefs ( |
||
DoCode ( |
||
DoPars ( |
||
GetCodedIx ( CIx code ) : uint | ||
GetMethodRefs ( |
||
GetScope ( ) : |
||
InsertGenericParam ( |
||
IsPublicOrProtected ( ushort methFlags ) : bool | ||
MethodDef ( |
||
MethodDef ( |
||
MethodDef ( |
||
MethodDef ( string name, Type retType, |
||
Read ( |
||
Resolve ( |
||
Size ( |
||
TypeSig ( |
||
Write ( |
||
Write ( |
||
isDef ( ) : bool |
public AddImplAttribute ( ImplAttr ia ) : void | ||
ia | ImplAttr | the attributes to be added |
Результат | void |
public AddLocals ( Local locals, bool initLocals ) : void | ||
locals | Local | the locals to be added |
initLocals | bool | are locals initialised to default values |
Результат | void |
public AddMethAttribute ( MethAttr ma ) : void | ||
ma | MethAttr | the attributes to be added |
Результат | void |
public AddPInvokeInfo ( |
||
scope | ||
methName | string | |
callAttr | PInvokeAttr | |
Результат | void |
public AddSecurity ( |
||
sec | ||
Результат | void |
public AddSecurity ( SecurityAction act, byte permissionSet ) : void | ||
act | SecurityAction | |
permissionSet | byte | |
Результат | void |
public CreateCodeBuffer ( ) : |
||
Результат |
public GetCodeBuffer ( ) : |
||
Результат |
public GetSecurity ( ) : PERWAPI.DeclSecurity[] | ||
Результат | PERWAPI.DeclSecurity[] |
public MakeVarArgSignature ( Type optPars ) : |
||
optPars | Type | the optional pars for the vararg method call |
Результат |
public SetImplAttributes ( ImplAttr ia ) : void | ||
ia | ImplAttr | |
Результат | void |
public SetMaxStack ( int maxStack ) : void | ||
maxStack | int | the maximum height of the stack |
Результат | void |
public SetMethAttributes ( MethAttr ma ) : void | ||
ma | MethAttr | |
Результат | void |
public SetParams ( |
||
pars | Descriptors of the parameters for this method | |
Результат | void |