ILGenerator

package cs.system.reflection.emit

implements _ILGenerator

Available on cs

Methods

BeginCatchBlock(exceptionType:Type):Void

BeginExceptFilterBlock():Void

BeginExceptionBlock():Label

BeginFaultBlock():Void

BeginFinallyBlock():Void

BeginScope():Void

DeclareLocal(localType:Type):LocalBuilder

DeclareLocal(localType:Type, pinned:Bool):LocalBuilder

DefineLabel():Label

Emit(opcode:OpCode):Void

Emit(opcode:OpCode, cls:Type):Void

Emit(opcode:OpCode, str:String):Void

Emit(opcode:OpCode, arg:Single):Void

Emit(opcode:OpCode, signature:SignatureHelper):Void

finalEmit(opcode:OpCode, arg:Int8):Void

Emit(opcode:OpCode, meth:MethodInfo):Void

Emit(opcode:OpCode, local:LocalBuilder):Void

Emit(opcode:OpCode, labels:NativeArray<Label>):Void

Emit(opcode:OpCode, label:Label):Void

Emit(opcode:OpCode, arg:Int64):Void

Emit(opcode:OpCode, arg:Int):Void

Emit(opcode:OpCode, arg:Int16):Void

Emit(opcode:OpCode, field:FieldInfo):Void

Emit(opcode:OpCode, arg:Float):Void

Emit(opcode:OpCode, con:ConstructorInfo):Void

Emit(opcode:OpCode, arg:UInt8):Void

EmitCall(opcode:OpCode, methodInfo:MethodInfo, optionalParameterTypes:NativeArray<Type>):Void

EmitCalli(opcode:OpCode, unmanagedCallConv:CallingConvention, returnType:Type, parameterTypes:NativeArray<Type>):Void

EmitCalli(opcode:OpCode, callingConvention:CallingConventions, returnType:Type, parameterTypes:NativeArray<Type>, optionalParameterTypes:NativeArray<Type>):Void

EmitWriteLine(fld:FieldInfo):Void

EmitWriteLine(value:String):Void

EmitWriteLine(localBuilder:LocalBuilder):Void

EndExceptionBlock():Void

EndScope():Void

MarkLabel(loc:Label):Void

MarkSequencePoint(document:ISymbolDocumentWriter, startLine:Int, startColumn:Int, endLine:Int, endColumn:Int):Void

ThrowException(excType:Type):Void

UsingNamespace(usingNamespace:String):Void

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cs/system/reflection/emit/ILGenerator.html