C# Class System.Reflection.Emit.DynamicILInfo

Mostra file Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Private Properties

Property Type Description
DynamicILInfo System
GetCallableMethod System.RuntimeMethodHandle
SetCode void
SetExceptions void
SetLocalSignature void

Public Methods

Method Description
GetTokenFor ( DynamicMethod method ) : int
GetTokenFor ( RuntimeFieldHandle field ) : int
GetTokenFor ( RuntimeMethodHandle method ) : int
GetTokenFor ( RuntimeMethodHandle method, RuntimeTypeHandle contextType ) : int
GetTokenFor ( RuntimeTypeHandle type ) : int
GetTokenFor ( byte signature ) : int
GetTokenFor ( string literal ) : int
SetCode ( byte code, int maxStackSize ) : void
SetExceptions ( byte exceptions ) : void
SetLocalSignature ( byte localSignature ) : void

Private Methods

Method Description
DynamicILInfo ( DynamicScope scope, DynamicMethod method, byte methodSignature ) : System
GetCallableMethod ( void module ) : RuntimeMethodHandle
SetCode ( byte code, int codeSize, int maxStackSize ) : void
SetExceptions ( byte exceptions, int exceptionsSize ) : void
SetLocalSignature ( byte localSignature, int signatureSize ) : void

Method Details

GetTokenFor() public method

public GetTokenFor ( DynamicMethod method ) : int
method DynamicMethod
return int

GetTokenFor() public method

public GetTokenFor ( RuntimeFieldHandle field ) : int
field System.RuntimeFieldHandle
return int

GetTokenFor() public method

public GetTokenFor ( RuntimeMethodHandle method ) : int
method System.RuntimeMethodHandle
return int

GetTokenFor() public method

public GetTokenFor ( RuntimeMethodHandle method, RuntimeTypeHandle contextType ) : int
method System.RuntimeMethodHandle
contextType System.RuntimeTypeHandle
return int

GetTokenFor() public method

public GetTokenFor ( RuntimeTypeHandle type ) : int
type System.RuntimeTypeHandle
return int

GetTokenFor() public method

public GetTokenFor ( byte signature ) : int
signature byte
return int

GetTokenFor() public method

public GetTokenFor ( string literal ) : int
literal string
return int

SetCode() public method

public SetCode ( byte code, int maxStackSize ) : void
code byte
maxStackSize int
return void

SetExceptions() public method

public SetExceptions ( byte exceptions ) : void
exceptions byte
return void

SetLocalSignature() public method

public SetLocalSignature ( byte localSignature ) : void
localSignature byte
return void