Метод | Описание | |
---|---|---|
AddAttribute ( TypeAttr ta ) : void |
Add an attribute to this class
|
|
AddEvent ( string name, Type eType ) : |
Add an event to this class
|
|
AddField ( FieldAttr fAtts, string name, Type fType ) : |
Add a field to this class
|
|
AddField ( string name, Type fType ) : |
Add a field to this class
|
|
AddGenericParameter ( short index, string name ) : |
Add a named generic type parameter
|
|
AddGenericParameter ( short index, string name, GenericParamAttributes attr ) : |
Add a named generic type parameter with attributes
|
|
AddImplementedInterface ( |
Add an interface that is implemented by this class
|
|
AddLayoutInfo ( int packSize, int classSize ) : void |
Add layout information for this class. This class must have the sequential or explicit attribute.
|
|
AddMethod ( MethAttr mAtts, ImplAttr iAtts, string name, |
Add a method to this class
|
|
AddMethod ( string name, |
||
AddMethod ( string name, Type retType, |
Add a method to this class
|
|
AddMethodOverride ( |
Use a method as the implementation for another method (.override)
|
|
AddNestedClass ( TypeAttr attrSet, string nsName, string name ) : |
Add a nested class to this class
|
|
AddNestedClass ( TypeAttr attrSet, string nsName, string name, |
Add a nested class to this class
|
|
AddProperty ( string name, Type retType, Type pars ) : Property |
Add a property to this class
|
|
AddSecurity ( byte permissionSet ) : void |
Add security to this class NOT YET IMPLEMENTED
|
|
IsEnum ( |
||
IsEnum ( string nsName, string name ) : bool | ||
IsValueType ( |
||
IsValueType ( string nsName, string name ) : bool | ||
SetFieldOrder ( |
||
SpecialNoSuper ( ) : void |
Метод | Описание | |
---|---|---|
BuildTables ( |
||
CheckTypeIndex ( ) : void | ||
ClassDef ( TypeAttr attrSet, string nsName, string name, |
||
GetCodedIx ( CIx code ) : uint | ||
MakeValueClass ( ValueClass vClass ) : void | ||
SetSuper ( |
||
Size ( |
||
TypeDefOrRefToken ( ) : uint | ||
TypeSig ( |
||
Write ( PEAPI.FileImage output ) : void |
public AddAttribute ( TypeAttr ta ) : void | ||
ta | TypeAttr | the attribute to be added |
Результат | void |
public AddEvent ( string name, Type eType ) : |
||
name | string | event name |
eType | Type | event type |
Результат |
public AddField ( FieldAttr fAtts, string name, Type fType ) : |
||
fAtts | FieldAttr | attributes for this field |
name | string | field name |
fType | Type | field type |
Результат |
public AddField ( string name, Type fType ) : |
||
name | string | field name |
fType | Type | field type |
Результат |
public AddGenericParameter ( short index, string name ) : |
||
index | short | |
name | string | |
Результат |
public AddGenericParameter ( short index, string name, GenericParamAttributes attr ) : |
||
index | short | |
name | string | |
attr | GenericParamAttributes | |
Результат |
public AddImplementedInterface ( |
||
iFace | the interface that is implemented | |
Результат | void |
public AddLayoutInfo ( int packSize, int classSize ) : void | ||
packSize | int | packing size (.pack) |
classSize | int | class size (.size) |
Результат | void |
public AddMethod ( MethAttr mAtts, ImplAttr iAtts, string name, |
||
mAtts | MethAttr | attributes for this method |
iAtts | ImplAttr | implementation attributes for this method |
name | string | method name |
ret_param | ||
pars | parameters | |
Результат |
public AddMethod ( string name, |
||
name | string | |
ret_param | ||
pars | ||
Результат |
public AddMethod ( string name, Type retType, |
||
name | string | method name |
retType | Type | return type |
pars | parameters | |
Результат |
public AddMethodOverride ( |
||
decl | the method to be overridden | |
body | the implementation to be used | |
Результат | void |
public AddNestedClass ( TypeAttr attrSet, string nsName, string name ) : |
||
attrSet | TypeAttr | attributes for this nested class |
nsName | string | nested name space name |
name | string | nested class name |
Результат |
public AddNestedClass ( TypeAttr attrSet, string nsName, string name, |
||
attrSet | TypeAttr | attributes for this nested class |
nsName | string | nested name space name |
name | string | nested class name |
sType | super type of this nested class | |
Результат |
public AddProperty ( string name, Type retType, Type pars ) : Property | ||
name | string | property name |
retType | Type | |
pars | Type | |
Результат | Property |
public AddSecurity ( byte permissionSet ) : void | ||
permissionSet | byte | |
Результат | void |
public static IsEnum ( |
||
type | ||
Результат | bool |
public static IsEnum ( string nsName, string name ) : bool | ||
nsName | string | |
name | string | |
Результат | bool |
public static IsValueType ( |
||
type | ||
Результат | bool |
public static IsValueType ( string nsName, string name ) : bool | ||
nsName | string | |
name | string | |
Результат | bool |
public SetFieldOrder ( |
||
fields | ||
Результат | void |