C# Class PERWAPI.GenericParam

Descriptor for
Inheritance: Type
Afficher le fichier Open project: xored/f4 Class Usage Examples

Private Properties

Свойство 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

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

GetAttribute() public méthode

Get the attribute for this generic parameter
public GetAttribute ( ) : GenericParamAttr
Résultat GenericParamAttr

GetClassConstraints() public méthode

public GetClassConstraints ( ) : PERWAPI.Class[]
Résultat PERWAPI.Class[]

GetConstraint() public méthode

Return a constraint from the list
public GetConstraint ( int i ) : Class
i int constraint index
Résultat Class

GetConstraintCount() public méthode

Get the number of constrains on this GenericParam
public GetConstraintCount ( ) : int
Résultat int

GetName() public méthode

Get the name of this generic parameter
public GetName ( ) : string
Résultat string

GetParent() public méthode

public GetParent ( ) : MetaDataElement
Résultat MetaDataElement

RemoveConstraint() public méthode

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

SetAttribute() public méthode

Set the attribute for this generic parameter
public SetAttribute ( GenericParamAttr attr ) : void
attr GenericParamAttr the attribute
Résultat void