C# Class PERWAPI.Method

Base class for Method Descriptors
Inheritance: Member
Afficher le fichier Open project: xored/f4 Class Usage Examples

Protected Properties

Свойство Type Description
genericParams System.Collections.ArrayList
sig MethSig

Private Properties

Свойство Type Description
AddGenericParam void
AddRetType void
DeleteGenericParam void
FindGenericParam int
GetSig MethSig
HasNameAndSig bool
HasNameAndSig bool
Method System
Method System
NameString string
SetGenericParams void
SetSig void
TypeSig void
WriteType void

Méthodes publiques

Méthode Description
AddCallConv ( CallConv cconv ) : void

Add calling conventions to this method descriptor

AddGenericParam ( string name ) : GenericParam

Add a generic type to this method

GetCallConv ( ) : CallConv

Get the calling conventions for this method

GetGenericParam ( int ix ) : GenericParam
GetGenericParam ( string name ) : GenericParam

Get the descriptor for a generic type

GetGenericParamCount ( ) : int
GetGenericParams ( ) : PERWAPI.GenericParam[]
GetOptParTypes ( ) : Type[]

Get the optional parameter types (for varargs)

GetParTypes ( ) : Type[]

Get the types of the method parameters

GetRetType ( ) : Type

Get the method return type

Instantiate ( Type genTypes ) : MethodSpec
RemoveGenericParam ( int ix ) : void
RemoveGenericParam ( string name ) : void

Private Methods

Méthode Description
AddGenericParam ( GenericParam par ) : void
AddRetType ( Type retT ) : void

Set the return type

DeleteGenericParam ( int pos ) : void
FindGenericParam ( string name ) : int
GetSig ( ) : MethSig
HasNameAndSig ( string name, Type sigTypes ) : bool
HasNameAndSig ( string name, Type sigTypes, Type optPars ) : bool
Method ( string name ) : System
Method ( string methName, Type rType, Class paren ) : System
NameString ( ) : string
SetGenericParams ( GenericParam pars ) : void
SetSig ( MethSig sig ) : void
TypeSig ( MemoryStream sig ) : void
WriteType ( CILWriter output ) : void

Method Details

AddCallConv() public méthode

Add calling conventions to this method descriptor
public AddCallConv ( CallConv cconv ) : void
cconv CallConv
Résultat void

AddGenericParam() public méthode

Add a generic type to this method
public AddGenericParam ( string name ) : GenericParam
name string the name of the generic type
Résultat GenericParam

GetCallConv() public méthode

Get the calling conventions for this method
public GetCallConv ( ) : CallConv
Résultat CallConv

GetGenericParam() public méthode

public GetGenericParam ( int ix ) : GenericParam
ix int
Résultat GenericParam

GetGenericParam() public méthode

Get the descriptor for a generic type
public GetGenericParam ( string name ) : GenericParam
name string the name of the generic type
Résultat GenericParam

GetGenericParamCount() public méthode

public GetGenericParamCount ( ) : int
Résultat int

GetGenericParams() public méthode

public GetGenericParams ( ) : PERWAPI.GenericParam[]
Résultat PERWAPI.GenericParam[]

GetOptParTypes() public méthode

Get the optional parameter types (for varargs)
public GetOptParTypes ( ) : Type[]
Résultat Type[]

GetParTypes() public méthode

Get the types of the method parameters
public GetParTypes ( ) : Type[]
Résultat Type[]

GetRetType() public méthode

Get the method return type
public GetRetType ( ) : Type
Résultat Type

Instantiate() public méthode

public Instantiate ( Type genTypes ) : MethodSpec
genTypes Type
Résultat MethodSpec

RemoveGenericParam() public méthode

public RemoveGenericParam ( int ix ) : void
ix int
Résultat void

RemoveGenericParam() public méthode

public RemoveGenericParam ( string name ) : void
name string
Résultat void

Property Details

genericParams protected_oe property

protected ArrayList,System.Collections genericParams
Résultat System.Collections.ArrayList

sig protected_oe property

protected MethSig,PERWAPI sig
Résultat MethSig