Ejemplo n.º 1
0
 /// <summary>
 /// Write the specified instruction list into the method builder. There is no need to manage labels or locals they will be created by this method.
 /// </summary>
 /// <param name="Instructions">The list of instruction to emit</param>
 /// <param name="MethodBuilder">The Method builder recieving the instructions</param>
 static public void EmitMethod(List <Instruction> Instructions, System.Reflection.Emit.MethodBuilder MethodBuilder)
 {
     MSIL_emit.emitMethod(Instructions, MethodBuilder.GetILGenerator());
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Write the specified instruction list into the method builder. There is no need to manage labels or locals they will be created by this method.
 /// </summary>
 /// <param name="Instructions">The list of instruction to emit</param>
 /// <param name="ILGenerator">The ILGenerator recieving the instructions</param>
 static public void EmitMethod(List <Instruction> Instructions, System.Reflection.Emit.ILGenerator ILGenerator)
 {
     MSIL_emit.emitMethod(Instructions, ILGenerator);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Emit this instruction into a pre-existing ILGenerator
 /// </summary>
 /// <param name="ILGenerator">The target ILGenerator</param>
 public void Emit(System.Reflection.Emit.ILGenerator ILGenerator)
 {
     MSIL_emit.emit(_OpCode, _Data, ILGenerator);
 }