C# Class PEAPI.ClassRef

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

Protected Properties

Property Type Description
metaData MetaData
parent IResolutionScope

Public Methods

Method 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

Method 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 method

public AddClass ( string nsName, string name ) : ClassRef
nsName string
name string
return ClassRef

AddField() public method

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

AddMethod() public method

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
return MethodRef

AddMethod() public method

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
return MethodRef

AddValueClass() public method

public AddValueClass ( string nsName, string name ) : ClassRef
nsName string
name string
return ClassRef

AddVarArgMethod() public method

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
return MethodRef

Property Details

metaData protected_oe property

protected MetaData,PEAPI metaData
return MetaData

parent protected_oe property

protected IResolutionScope parent
return IResolutionScope