Method | Description | |
---|---|---|
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
|
Method | Description | |
---|---|---|
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 |
return | void |
public AddLocals ( Local locals, bool initLocals ) : void | ||
locals | Local | the locals to be added |
initLocals | bool | are locals initialised to default values |
return | void |
public AddMethAttribute ( MethAttr ma ) : void | ||
ma | MethAttr | the attributes to be added |
return | void |
public AddPInvokeInfo ( |
||
scope | ||
methName | string | |
callAttr | PInvokeAttr | |
return | void |
public AddSecurity ( |
||
sec | ||
return | void |
public AddSecurity ( SecurityAction act, byte permissionSet ) : void | ||
act | SecurityAction | |
permissionSet | byte | |
return | void |
public CreateCodeBuffer ( ) : |
||
return |
public GetSecurity ( ) : PERWAPI.DeclSecurity[] | ||
return | PERWAPI.DeclSecurity[] |
public MakeVarArgSignature ( Type optPars ) : |
||
optPars | Type | the optional pars for the vararg method call |
return |
public SetImplAttributes ( ImplAttr ia ) : void | ||
ia | ImplAttr | |
return | void |
public SetMaxStack ( int maxStack ) : void | ||
maxStack | int | the maximum height of the stack |
return | void |
public SetMethAttributes ( MethAttr ma ) : void | ||
ma | MethAttr | |
return | void |
public SetParams ( |
||
pars | Descriptors of the parameters for this method | |
return | void |