C# 클래스 PERWAPI.Method

Base class for Method Descriptors
상속: Member
파일 보기 프로젝트 열기: xored/f4 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
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