C# Class PEAPI.ClassRef

Descriptor for a class/interface declared in another module of THIS assembly, or in another assembly.
Inheritance: Class, IExternRef, IResolutionScope
Afficher le fichier Open project: kumpera/mono Class Usage Examples

Protected Properties

Свойство Type Description
metaData MetaData
parent IResolutionScope

Méthodes publiques

Méthode Description
AddClass ( string nsName, string name ) : ClassRef
AddField ( string name, Type fType ) : FieldRef

Add a field to this class

AddMethod ( string name, Type retType, Type pars ) : MethodRef

Add a method to this class

AddMethod ( string name, Type retType, Type pars, int gen_param_count ) : MethodRef

Add a method to this class

AddValueClass ( string nsName, string name ) : ClassRef
AddVarArgMethod ( string name, Type retType, Type pars, Type optPars ) : MethodRef

Add a method to this class

Private Methods

Méthode Description
ClassRef ( string nsName, string name, MetaData md ) : System
GetCodedIx ( CIx code ) : uint
SetParent ( IResolutionScope par ) : void
Size ( MetaData md ) : uint
TypeDefOrRefToken ( ) : uint
TypeName ( ) : string
TypeSig ( MemoryStream sig ) : void
Write ( PEAPI.FileImage output ) : void

Method Details

AddClass() public méthode

public AddClass ( string nsName, string name ) : ClassRef
nsName string
name string
Résultat ClassRef

AddField() public méthode

Add a field to this class
public AddField ( string name, Type fType ) : FieldRef
name string field name
fType Type field type
Résultat FieldRef

AddMethod() public méthode

Add a method to this class
public AddMethod ( string name, Type retType, Type pars ) : MethodRef
name string method name
retType Type return type
pars Type parameter types
Résultat MethodRef

AddMethod() public méthode

Add a method to this class
public AddMethod ( string name, Type retType, Type pars, int gen_param_count ) : MethodRef
name string method name
retType Type return type
pars Type parameter types
gen_param_count int num of generic parameters
Résultat MethodRef

AddValueClass() public méthode

public AddValueClass ( string nsName, string name ) : ClassRef
nsName string
name string
Résultat ClassRef

AddVarArgMethod() public méthode

Add a method to this class
public AddVarArgMethod ( string name, Type retType, Type pars, Type optPars ) : MethodRef
name string method name
retType Type return type
pars Type parameter types
optPars Type
Résultat MethodRef

Property Details

metaData protected_oe property

protected MetaData,PEAPI metaData
Résultat MetaData

parent protected_oe property

protected IResolutionScope parent
Résultat IResolutionScope