<PackageReference Include="System.Reflection.Emit.ILGeneration" Version="4.7.0-preview1.19504.10" />

ILGenerator

public class ILGenerator
Generates Microsoft intermediate language (MSIL) instructions.
namespace System.Reflection.Emit { public class ILGenerator { public virtual int ILOffset { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } } internal ILGenerator() { } public virtual void BeginCatchBlock(Type exceptionType) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public virtual void BeginExceptFilterBlock() { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public virtual Label BeginExceptionBlock() { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public virtual void BeginFaultBlock() { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public virtual void BeginFinallyBlock() { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public virtual void BeginScope() { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public virtual LocalBuilder DeclareLocal(Type localType) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public virtual LocalBuilder DeclareLocal(Type localType, bool pinned) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public virtual Label DefineLabel() { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public virtual void Emit(OpCode opcode) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public virtual void Emit(OpCode opcode, byte arg) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public virtual void Emit(OpCode opcode, double arg) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public virtual void Emit(OpCode opcode, short arg) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public virtual void Emit(OpCode opcode, int arg) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public virtual void Emit(OpCode opcode, long arg) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public virtual void Emit(OpCode opcode, ConstructorInfo con) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public virtual void Emit(OpCode opcode, Label label) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public virtual void Emit(OpCode opcode, Label[] labels) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public virtual void Emit(OpCode opcode, LocalBuilder local) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public virtual void Emit(OpCode opcode, SignatureHelper signature) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public virtual void Emit(OpCode opcode, FieldInfo field) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public virtual void Emit(OpCode opcode, MethodInfo meth) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } [CLSCompliant(false)] public void Emit(OpCode opcode, sbyte arg) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public virtual void Emit(OpCode opcode, float arg) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public virtual void Emit(OpCode opcode, string str) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public virtual void Emit(OpCode opcode, Type cls) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public virtual void EmitCall(OpCode opcode, MethodInfo methodInfo, Type[] optionalParameterTypes) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public virtual void EmitCalli(OpCode opcode, CallingConventions callingConvention, Type returnType, Type[] parameterTypes, Type[] optionalParameterTypes) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public virtual void EmitWriteLine(LocalBuilder localBuilder) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public virtual void EmitWriteLine(FieldInfo fld) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public virtual void EmitWriteLine(string value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public virtual void EndExceptionBlock() { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public virtual void EndScope() { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public virtual void MarkLabel(Label loc) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public virtual void ThrowException(Type excType) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public virtual void UsingNamespace(string usingNamespace) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } } }