C# Class PEAPI.AssemblyRef

A reference to an external assembly (.assembly extern)
Inheritance: ResolutionScope, IExternRef
显示文件 Open project: kumpera/mono Class Usage Examples

Public Methods

Method Description
AddAssemblyAttr ( AssemAttr aa ) : void
AddClass ( string nsName, string name ) : ClassRef

Add a class to this external assembly

AddCulture ( string cult ) : void

Set the culture for this external assembly

AddHash ( byte hash ) : void

Add the hash value for this external assembly

AddKey ( byte key ) : void

Add the full public key for this external assembly

AddKeyToken ( byte key ) : void

Add the public key token (low 8 bytes of the public key)

AddValueClass ( string nsName, string name ) : ClassRef

Add a value class to this external assembly

AddVersionInfo ( int majVer, int minVer, int bldNo, int revNo ) : void

Add version information about this external assembly

Private Methods

Method Description
AssemblyRef ( MetaData md, string name ) : System
GetCodedIx ( CIx code ) : uint
Size ( MetaData md ) : uint
TypeName ( ) : string
Write ( PEAPI.FileImage output ) : void

Method Details

AddAssemblyAttr() public method

public AddAssemblyAttr ( AssemAttr aa ) : void
aa AssemAttr
return void

AddClass() public method

Add a class to this external assembly
public AddClass ( string nsName, string name ) : ClassRef
nsName string name space name
name string class name
return ClassRef

AddCulture() public method

Set the culture for this external assembly
public AddCulture ( string cult ) : void
cult string the culture string
return void

AddHash() public method

Add the hash value for this external assembly
public AddHash ( byte hash ) : void
hash byte bytes of the hash value
return void

AddKey() public method

Add the full public key for this external assembly
public AddKey ( byte key ) : void
key byte bytes of the public key
return void

AddKeyToken() public method

Add the public key token (low 8 bytes of the public key)
public AddKeyToken ( byte key ) : void
key byte low 8 bytes of public key
return void

AddValueClass() public method

Add a value class to this external assembly
public AddValueClass ( string nsName, string name ) : ClassRef
nsName string name space name
name string class name
return ClassRef

AddVersionInfo() public method

Add version information about this external assembly
public AddVersionInfo ( int majVer, int minVer, int bldNo, int revNo ) : void
majVer int Major Version
minVer int Minor Version
bldNo int Build Number
revNo int Revision Number
return void