C# Class PERWAPI.ClassSpec

Inheritance: Class
Show file Open project: xored/f4 Class Usage Examples

Public Methods

Method Description
GetGenericClass ( ) : Class

Get the generic class that this class instantiates

GetGenericParCount ( ) : int

Count how many generic parameters this class has

GetGenericParamType ( int ix ) : Type

Get the specified generic parameter number

GetGenericParamTypes ( ) : Type[]

Get the generic parameters of this class

GetParent ( ) : MetaDataElement

Get the generic class that this is an instantiation of

Private Methods

Method Description
AddMethod ( Method meth ) : void
AddTypeSpec ( MetaDataOut md ) : Type
BuildSignatures ( MetaDataOut md ) : void
BuildTables ( MetaDataOut md ) : void
ClassName ( ) : string
ClassSpec ( Class clType, Type gPars ) : System
GetCodedIx ( CIx code ) : uint
GetGenPar ( uint ix ) : Type
TypeDefOrRefToken ( ) : uint
TypeSig ( MemoryStream sig ) : void
Write ( PEWriter output ) : void

Method Details

GetGenericClass() public method

Get the generic class that this class instantiates
public GetGenericClass ( ) : Class
return Class

GetGenericParCount() public method

Count how many generic parameters this class has
public GetGenericParCount ( ) : int
return int

GetGenericParamType() public method

Get the specified generic parameter number
public GetGenericParamType ( int ix ) : Type
ix int generic parameter number
return Type

GetGenericParamTypes() public method

Get the generic parameters of this class
public GetGenericParamTypes ( ) : Type[]
return Type[]

GetParent() public method

Get the generic class that this is an instantiation of
public GetParent ( ) : MetaDataElement
return MetaDataElement