C# Class PERWAPI.GenericParam

Descriptor for
Inheritance: Type
ファイルを表示 Open project: xored/f4 Class Usage Examples

Private Properties

Property Type Description
AddConstraints void
AddTypeSpec Type
AnonClassPar GenericParam
AnonMethPar GenericParam
BuildCILInfo void
BuildTables void
CheckParent void
GenericParam System
GenericParam System
GenericParam System
GenericParam System
Read void
SetClassParam void
SetMethParam void
Size uint
SortKey uint
TypeSig void
Write void

Public Methods

Method Description
AddConstraint ( Class cType ) : void

Add a type constraint to this generic parameter

GetAttribute ( ) : GenericParamAttr

Get the attribute for this generic parameter

GetClassConstraints ( ) : PERWAPI.Class[]
GetConstraint ( int i ) : Class

Return a constraint from the list

GetConstraintCount ( ) : int

Get the number of constrains on this GenericParam

GetName ( ) : string

Get the name of this generic parameter

GetParent ( ) : MetaDataElement
RemoveConstraint ( Class cType ) : void

Remove a constraint from this generic parameter

SetAttribute ( GenericParamAttr attr ) : void

Set the attribute for this generic parameter

Private Methods

Method Description
AddConstraints ( MetaDataOut md ) : void
AddTypeSpec ( MetaDataOut md ) : Type
AnonClassPar ( uint ix ) : GenericParam
AnonMethPar ( uint ix ) : GenericParam
BuildCILInfo ( CILWriter output ) : void
BuildTables ( MetaDataOut md ) : void
CheckParent ( MethodDef paren, PEReader buff ) : void
GenericParam ( PEReader buff ) : System
GenericParam ( string name ) : System
GenericParam ( string name, MetaDataElement parent, int index ) : System
GenericParam ( uint index, byte elemIx ) : System
Read ( PEReader buff, TableRow gpars ) : void
SetClassParam ( Class paren, int ix ) : void
SetMethParam ( Method paren, int ix ) : void
Size ( MetaData md ) : uint
SortKey ( ) : uint
TypeSig ( MemoryStream str ) : void
Write ( PEWriter output ) : void

Method Details

AddConstraint() public method

Add a type constraint to this generic parameter
public AddConstraint ( Class cType ) : void
cType Class class constraining the parameter type
return void

GetAttribute() public method

Get the attribute for this generic parameter
public GetAttribute ( ) : GenericParamAttr
return GenericParamAttr

GetClassConstraints() public method

public GetClassConstraints ( ) : PERWAPI.Class[]
return PERWAPI.Class[]

GetConstraint() public method

Return a constraint from the list
public GetConstraint ( int i ) : Class
i int constraint index
return Class

GetConstraintCount() public method

Get the number of constrains on this GenericParam
public GetConstraintCount ( ) : int
return int

GetName() public method

Get the name of this generic parameter
public GetName ( ) : string
return string

GetParent() public method

public GetParent ( ) : MetaDataElement
return MetaDataElement

RemoveConstraint() public method

Remove a constraint from this generic parameter
public RemoveConstraint ( Class cType ) : void
cType Class class type of constraint
return void

SetAttribute() public method

Set the attribute for this generic parameter
public SetAttribute ( GenericParamAttr attr ) : void
attr GenericParamAttr the attribute
return void