Table of Contents

Class ILGeneratorShim

Namespace
MonoMod.Utils.Cil
Assembly
MonoMod.Utils.dll
Abstract version of System.Reflection.Emit.ILGenerator. See ILGenerator for proper documentation.
public abstract class ILGeneratorShim
Inheritance
ILGeneratorShim
Derived

Properties

GenericProxyType
Get the (open) generic proxy type implementing ILGenerator.
ILOffset

Methods

BeginCatchBlock(Type)
BeginExceptFilterBlock()
BeginExceptionBlock()
BeginFaultBlock()
BeginFinallyBlock()
BeginScope()
DeclareLocal(Type)
DeclareLocal(Type, bool)
DefineLabel()
Emit(OpCode)
Emit(OpCode, byte)
Emit(OpCode, double)
Emit(OpCode, short)
Emit(OpCode, int)
Emit(OpCode, long)
Emit(OpCode, ConstructorInfo)
Emit(OpCode, Label)
Emit(OpCode, Label[])
Emit(OpCode, LocalBuilder)
Emit(OpCode, SignatureHelper)
Emit(OpCode, FieldInfo)
Emit(OpCode, MethodInfo)
Emit(OpCode, sbyte)
Emit(OpCode, float)
Emit(OpCode, string)
Emit(OpCode, Type)
EmitCall(OpCode, MethodInfo, Type[]?)
EmitCalli(OpCode, CallingConventions, Type?, Type[]?, Type[]?)
EmitCalli(OpCode, CallingConvention, Type?, Type[]?)
EmitWriteLine(LocalBuilder)
EmitWriteLine(FieldInfo)
EmitWriteLine(string)
EndExceptionBlock()
EndScope()
GetProxy()
Get a "real" ILGenerator for this ILGeneratorShim.
GetProxyType(Type)
Get the proxy type for a given ILGeneratorShim type. The proxy type implements ILGenerator.
GetProxyType<TShim>()
Get the proxy type for a given ILGeneratorShim type. The proxy type implements ILGenerator.
MarkLabel(Label)
ThrowException(Type)
UsingNamespace(string)