C# Класс PERWAPI.Method

Base class for Method Descriptors
Наследование: Member
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
genericParams System.Collections.ArrayList
sig MethSig

Private Properties

Свойство Тип Описание
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

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

AddCallConv() публичный Метод

Add calling conventions to this method descriptor
public AddCallConv ( CallConv cconv ) : void
cconv CallConv
Результат void

AddGenericParam() публичный Метод

Add a generic type to this method
public AddGenericParam ( string name ) : GenericParam
name string the name of the generic type
Результат GenericParam

GetCallConv() публичный Метод

Get the calling conventions for this method
public GetCallConv ( ) : CallConv
Результат CallConv

GetGenericParam() публичный Метод

public GetGenericParam ( int ix ) : GenericParam
ix int
Результат GenericParam

GetGenericParam() публичный Метод

Get the descriptor for a generic type
public GetGenericParam ( string name ) : GenericParam
name string the name of the generic type
Результат GenericParam

GetGenericParamCount() публичный Метод

public GetGenericParamCount ( ) : int
Результат int

GetGenericParams() публичный Метод

public GetGenericParams ( ) : PERWAPI.GenericParam[]
Результат PERWAPI.GenericParam[]

GetOptParTypes() публичный Метод

Get the optional parameter types (for varargs)
public GetOptParTypes ( ) : Type[]
Результат Type[]

GetParTypes() публичный Метод

Get the types of the method parameters
public GetParTypes ( ) : Type[]
Результат Type[]

GetRetType() публичный Метод

Get the method return type
public GetRetType ( ) : Type
Результат Type

Instantiate() публичный Метод

public Instantiate ( Type genTypes ) : MethodSpec
genTypes Type
Результат MethodSpec

RemoveGenericParam() публичный Метод

public RemoveGenericParam ( int ix ) : void
ix int
Результат void

RemoveGenericParam() публичный Метод

public RemoveGenericParam ( string name ) : void
name string
Результат void

Описание свойств

genericParams защищенное свойство

protected ArrayList,System.Collections genericParams
Результат System.Collections.ArrayList

sig защищенное свойство

protected MethSig,PERWAPI sig
Результат MethSig