C# Class System.Linq.Expressions.Compiler.OffsetTrackingILGenerator

Wraps ILGenerator with code that tracks the current IL offset as instructions are emitted into the IL stream. We can conditionally compile this for non-Dev10 release only (using //#ifdef MICROSOFT_SCRIPTING) as soon as Dev10 feature request (http://vstfdevdiv:8080/WorkItemTracking/WorkItem.aspx?artifactMoniker=599427) gets implemented.
Show file Open project: kumpera/mono Class Usage Examples

Private Properties

Property Type Description
AdvanceOffset void
AdvanceOffsetWithLabel void
AssertOffsetMatches void
BeginCatchBlock void
BeginExceptFilterBlock void
BeginExceptionBlock void
BeginFaultBlock void
BeginFinallyBlock void
DeclareLocal System.Reflection.Emit.LocalBuilder
DefineLabel System.Reflection.Emit.Label
Emit void
Emit void
Emit void
Emit void
Emit void
Emit void
Emit void
Emit void
Emit void
Emit void
Emit void
Emit void
Emit void
Emit void
EmitCall void
EndExceptionBlock void
MarkLabel void
MarkSequencePoint void
OffsetTrackingILGenerator System

Private Methods

Method Description
AdvanceOffset ( OpCode opcode ) : void
AdvanceOffsetWithLabel ( OpCode opcode ) : void
AssertOffsetMatches ( ) : void
BeginCatchBlock ( Type exceptionType ) : void
BeginExceptFilterBlock ( ) : void
BeginExceptionBlock ( ) : void
BeginFaultBlock ( ) : void
BeginFinallyBlock ( ) : void
DeclareLocal ( Type localType ) : LocalBuilder
DefineLabel ( ) : Label
Emit ( OpCode opcode ) : void
Emit ( OpCode opcode, ConstructorInfo con ) : void
Emit ( OpCode opcode, FieldInfo field ) : void
Emit ( OpCode opcode, Label label ) : void
Emit ( OpCode opcode, LocalBuilder local ) : void
Emit ( OpCode opcode, MethodInfo meth ) : void
Emit ( OpCode opcode, String str ) : void
Emit ( OpCode opcode, Type cls ) : void
Emit ( OpCode opcode, byte arg ) : void
Emit ( OpCode opcode, double arg ) : void
Emit ( OpCode opcode, float arg ) : void
Emit ( OpCode opcode, int arg ) : void
Emit ( OpCode opcode, long arg ) : void
Emit ( OpCode opcode, sbyte arg ) : void
EmitCall ( OpCode opcode, MethodInfo methodInfo, Type optionalParameterTypes ) : void
EndExceptionBlock ( ) : void
MarkLabel ( Label loc ) : void
MarkSequencePoint ( ISymbolDocumentWriter document, int startLine, int startColumn, int endLine, int endColumn ) : void
OffsetTrackingILGenerator ( ILGenerator ilg ) : System