C# Class System.Reflection.Emit.ILGenerator

Inheritance: _ILGenerator
Mostra file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
BeginCatchBlock ( System exceptionType ) : void
BeginExceptFilterBlock ( ) : void
BeginExceptionBlock ( ) : System.Reflection.Emit.Label
BeginFaultBlock ( ) : void
BeginFinallyBlock ( ) : void
BeginScope ( ) : void
DeclareLocal ( System localType ) : System.Reflection.Emit.LocalBuilder
DeclareLocal ( System localType, bool pinned ) : System.Reflection.Emit.LocalBuilder
DefineLabel ( ) : System.Reflection.Emit.Label
Emit ( System opcode ) : void
Emit ( System opcode, byte arg ) : void
Emit ( System opcode, int arg ) : void
Emit ( System opcode, long arg ) : void
Emit ( System opcode, short arg ) : void
Emit ( System opcode, string str ) : void
EmitWriteLine ( System localBuilder ) : void
EmitWriteLine ( string value ) : void
EndExceptionBlock ( ) : void
EndScope ( ) : void
MarkLabel ( System loc ) : void
ThrowException ( System excType ) : void
UsingNamespace ( string usingNamespace ) : void

Private Methods

Method Description
Emit ( System opcode, System con ) : void
Emit ( System opcode, double arg ) : void
Emit ( System opcode, float arg ) : void
Emit ( System opcode, sbyte arg ) : void
EmitCall ( System opcode, System methodInfo, System optionalParameterTypes ) : void
EmitCalli ( System opcode, System callingConvention, System returnType, System parameterTypes, System optionalParameterTypes ) : void
ILGenerator ( )

Method Details

BeginCatchBlock() public method

public BeginCatchBlock ( System exceptionType ) : void
exceptionType System
return void

BeginExceptFilterBlock() public method

public BeginExceptFilterBlock ( ) : void
return void

BeginExceptionBlock() public method

public BeginExceptionBlock ( ) : System.Reflection.Emit.Label
return System.Reflection.Emit.Label

BeginFaultBlock() public method

public BeginFaultBlock ( ) : void
return void

BeginFinallyBlock() public method

public BeginFinallyBlock ( ) : void
return void

BeginScope() public method

public BeginScope ( ) : void
return void

DeclareLocal() public method

public DeclareLocal ( System localType ) : System.Reflection.Emit.LocalBuilder
localType System
return System.Reflection.Emit.LocalBuilder

DeclareLocal() public method

public DeclareLocal ( System localType, bool pinned ) : System.Reflection.Emit.LocalBuilder
localType System
pinned bool
return System.Reflection.Emit.LocalBuilder

DefineLabel() public method

public DefineLabel ( ) : System.Reflection.Emit.Label
return System.Reflection.Emit.Label

Emit() public method

public Emit ( System opcode ) : void
opcode System
return void

Emit() public method

public Emit ( System opcode, byte arg ) : void
opcode System
arg byte
return void

Emit() public method

public Emit ( System opcode, int arg ) : void
opcode System
arg int
return void

Emit() public method

public Emit ( System opcode, long arg ) : void
opcode System
arg long
return void

Emit() public method

public Emit ( System opcode, short arg ) : void
opcode System
arg short
return void

Emit() public method

public Emit ( System opcode, string str ) : void
opcode System
str string
return void

EmitWriteLine() public method

public EmitWriteLine ( System localBuilder ) : void
localBuilder System
return void

EmitWriteLine() public method

public EmitWriteLine ( string value ) : void
value string
return void

EndExceptionBlock() public method

public EndExceptionBlock ( ) : void
return void

EndScope() public method

public EndScope ( ) : void
return void

MarkLabel() public method

public MarkLabel ( System loc ) : void
loc System
return void

ThrowException() public method

public ThrowException ( System excType ) : void
excType System
return void

UsingNamespace() public method

public UsingNamespace ( string usingNamespace ) : void
usingNamespace string
return void