Метод | Описание | |
---|---|---|
AddClass ( string nsName, string name ) : |
Add a class to this external module. This is a class declared in another module of THIS assembly.
|
|
AddExternClass ( TypeAttr attrSet, string nsName, string name, |
Add a class which is declared public in this external module of THIS assembly. This class will be exported from this assembly. The ilasm syntax for this is .extern class
|
|
AddField ( string name, Type fType ) : |
Add a field in another module
|
|
AddMethod ( string name, Type retType, Type pars ) : |
Add a "global" method in another module
|
|
AddValueClass ( string nsName, string name ) : |
Add a value class to this module. This is a class declared in another module of THIS assembly.
|
|
AddVarArgMethod ( string name, Type retType, Type pars, Type optPars ) : |
Add a vararg method to this class
|
|
MakeFile ( byte hashBytes, bool hasMetaData, bool entryPoint ) : |
Make a file descriptor to correspond to this module. The file descriptor will have the same name as the module descriptor
|
Метод | Описание | |
---|---|---|
GetCodedIx ( CIx code ) : uint | ||
ModuleRef ( |
||
Size ( |
||
Write ( PEAPI.FileImage output ) : void |
public AddClass ( string nsName, string name ) : |
||
nsName | string | name space name |
name | string | class name |
Результат |
public AddExternClass ( TypeAttr attrSet, string nsName, string name, |
||
attrSet | TypeAttr | attributes of the class to be exported |
nsName | string | name space name |
name | string | external class name |
declFile | the file where the class is declared | |
isValueClass | bool | is this class a value type? |
Результат |
public AddField ( string name, Type fType ) : |
||
name | string | field name |
fType | Type | field type |
Результат |
public AddMethod ( string name, Type retType, Type pars ) : |
||
name | string | method name |
retType | Type | return type |
pars | Type | method parameter types |
Результат |
public AddValueClass ( string nsName, string name ) : |
||
nsName | string | name space name |
name | string | class name |
Результат |
public AddVarArgMethod ( string name, Type retType, Type pars, Type optPars ) : |
||
name | string | method name |
retType | Type | return type |
pars | Type | parameter types |
optPars | Type | optional param types for this vararg method |
Результат |
public MakeFile ( byte hashBytes, bool hasMetaData, bool entryPoint ) : |
||
hashBytes | byte | the hash of the file |
hasMetaData | bool | the file contains metadata |
entryPoint | bool | the program entry point is in this file |
Результат |