C# Класс PERWAPI.ModuleRef

Descriptor for a module in an assembly
Наследование: ReferenceScope
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddExternClass ( TypeAttr attrSet, string nsName, string name, bool isValueClass, PEFile pefile ) : ClassRef

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

MakeModuleRef ( string name, bool entryPoint, byte hashValue ) : ModuleRef
SetEntryPoint ( ) : void
SetHash ( byte hashVal ) : void

Приватные методы

Метод Описание
AddExternClass ( ExternClass eClass ) : void
AddToExportedClassList ( ClassRef exClass ) : void
BuildTables ( MetaDataOut md ) : void
GetCodedIx ( CIx code ) : uint
ModuleRef ( ModuleFile file ) : System
ModuleRef ( string name ) : System
ModuleRef ( string name, bool entryPoint, byte hashValue ) : System
Read ( PEReader buff, TableRow mods, bool resolve ) : void
Resolve ( PEReader buff ) : void
Size ( MetaData md ) : uint
Write ( PEWriter output ) : void

Описание методов

AddExternClass() публичный Метод

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
public AddExternClass ( TypeAttr attrSet, string nsName, string name, bool isValueClass, PEFile pefile ) : ClassRef
attrSet TypeAttr attributes of the class to be exported
nsName string name space name
name string external class name
isValueClass bool is this class a value type?
pefile PEFile
Результат ClassRef

MakeModuleRef() публичный статический Метод

public static MakeModuleRef ( string name, bool entryPoint, byte hashValue ) : ModuleRef
name string
entryPoint bool
hashValue byte
Результат ModuleRef

SetEntryPoint() публичный Метод

public SetEntryPoint ( ) : void
Результат void

SetHash() публичный Метод

public SetHash ( byte hashVal ) : void
hashVal byte
Результат void