Property | Type | Description | |
---|---|---|---|
defaultClass | ClassDef | ||
ismscorlib | bool | ||
resources | ArrayList |
Method | Description | |
---|---|---|
AddClass ( TypeAttr attrSet, string nsName, string name ) : |
Add a class to this Module If this class already exists, throw an exception
|
|
AddClass ( TypeAttr attrSet, string nsName, string name, |
Add a class to this PE File
|
|
AddClass ( |
Add a class to this module If this class already exists, throw an exception
|
|
AddField ( FieldAttr attrSet, string name, Type fType ) : |
Add a "global" field to this module
|
|
AddField ( string name, Type fType ) : |
Add a "global" field to this module
|
|
AddField ( |
Add a "global" field to this module
|
|
AddMethod ( MethAttr mAtts, ImplAttr iAtts, string name, |
Add a "global" method to this module
|
|
AddMethod ( MethAttr mAtts, ImplAttr iAtts, string name, Type retType, |
Add a "global" method to this module
|
|
AddMethod ( string name, |
Add a "global" method to this module
|
|
AddMethod ( string name, Type retType, |
Add a "global" method to this module
|
|
AddMethod ( |
Add a "global" method to this module
|
|
AddValueClass ( TypeAttr attrSet, string nsName, string name ) : |
Add a class which extends System.ValueType to this Module If this class already exists, throw an exception
|
|
GetClass ( string name ) : |
Get a class of this module, if no class exists, return null
|
|
GetClass ( string nsName, string name ) : |
Get a class of this module, if no class exists, return null
|
|
GetClasses ( ) : PERWAPI.ClassDef[] |
Get all the classes of this module
|
|
GetField ( string name ) : |
Get a field of this module, if it exists
|
|
GetFields ( ) : PERWAPI.FieldDef[] |
Get all the fields of this module
|
|
GetMVid ( ) : System.Guid | ||
GetMethod ( string name ) : |
Get a method of this module, if it exists
|
|
GetMethod ( string name, Type parTypes ) : |
Get a method of this module, if it exists
|
|
GetMethods ( ) : PERWAPI.MethodDef[] |
Get all the methods of this module
|
|
GetMethods ( string name ) : PERWAPI.MethodDef[] |
Get all the methods of this module with a specified name
|
|
MakeRefOf ( ) : |
Make a ModuleRef for this Module.
|
|
RemoveMethod ( MethodDef meth ) : void |
Delete a method from this module
|
|
RemoveMethod ( int ix ) : void |
Delete a method from this module
|
|
RemoveMethod ( string name ) : void |
Delete a method from this module
|
|
RemoveMethod ( string name, Type parTypes ) : void |
Delete a method from this module
|
|
SetMVid ( Guid guid ) : void | ||
SetName ( string newName ) : void |
Set the name for this module
|
Method | Description | |
---|---|---|
BuildTables ( |
||
GetBaseName ( string name ) : string | ||
GetCodedIx ( CIx code ) : uint | ||
Module ( string mName ) : System | ||
Read ( |
||
ReadModuleRef ( PEReader buff ) : ModuleRef | ||
SetDefaultClass ( ClassDef dClass ) : void | ||
Size ( MetaData md ) : uint | ||
Write ( PEWriter output ) : void | ||
isDefaultClass ( ClassDef aClass ) : bool | ||
isMSCorLib ( ) : bool |
public AddClass ( TypeAttr attrSet, string nsName, string name ) : |
||
attrSet | TypeAttr | attributes of this class |
nsName | string | name space name |
name | string | class name |
return |
public AddClass ( TypeAttr attrSet, string nsName, string name, |
||
attrSet | TypeAttr | attributes of this class |
nsName | string | name space name |
name | string | class name |
superType | super type of this class (extends) | |
return |
public AddClass ( |
||
aClass | The class to be added | |
return | void |
public AddField ( FieldAttr attrSet, string name, Type fType ) : |
||
attrSet | FieldAttr | attributes of this field |
name | string | field name |
fType | Type | field type |
return |
public AddField ( string name, Type fType ) : |
||
name | string | field name |
fType | Type | field type |
return |
public AddField ( |
||
fld | The field to be added | |
return | void |
public AddMethod ( MethAttr mAtts, ImplAttr iAtts, string name, |
||
mAtts | MethAttr | method attributes |
iAtts | ImplAttr | method implementation attributes |
name | string | method name |
genPars | generic parameters | |
retType | Type | return type |
pars | method parameters | |
return |
public AddMethod ( MethAttr mAtts, ImplAttr iAtts, string name, Type retType, |
||
mAtts | MethAttr | method attributes |
iAtts | ImplAttr | method implementation attributes |
name | string | method name |
retType | Type | return type |
pars | method parameters | |
return |
public AddMethod ( string name, |
||
name | string | method name |
genPars | generic parameters | |
retType | Type | return type |
pars | method parameters | |
return |
public AddMethod ( string name, Type retType, |
||
name | string | method name |
retType | Type | return type |
pars | method parameters | |
return |
public AddMethod ( |
||
meth | The method to be added | |
return | void |
public AddValueClass ( TypeAttr attrSet, string nsName, string name ) : |
||
attrSet | TypeAttr | attributes of this class |
nsName | string | name space name |
name | string | class name |
return |
public GetClass ( string name ) : |
||
name | string | The name of the class to get |
return |
public GetClass ( string nsName, string name ) : |
||
nsName | string | The namespace of the class |
name | string | The name of the class to get |
return |
public GetField ( string name ) : |
||
name | string | The name of the field |
return |
public GetMethod ( string name ) : |
||
name | string | The name of the method to get |
return |
public GetMethod ( string name, Type parTypes ) : |
||
name | string | The name of the method to get |
parTypes | Type | The signature of the method |
return |
public GetMethods ( string name ) : PERWAPI.MethodDef[] | ||
name | string | The name of the method(s) |
return | PERWAPI.MethodDef[] |
public RemoveMethod ( MethodDef meth ) : void | ||
meth | MethodDef | The method to be deleted |
return | void |
public RemoveMethod ( int ix ) : void | ||
ix | int | The index of the method (in the method array /// returned by GetMethods()) to be deleted |
return | void |
public RemoveMethod ( string name ) : void | ||
name | string | The name of the method to be deleted |
return | void |
public RemoveMethod ( string name, Type parTypes ) : void | ||
name | string | The name of the method to be deleted |
parTypes | Type | The signature of the method to be deleted |
return | void |
public SetName ( string newName ) : void | ||
newName | string | New module name |
return | void |