示例#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="ILGenerator">The ILGenerator recieving the instructions</param>
 static public void EmitMethod(List <Instruction> Instructions, System.Reflection.Emit.ILGenerator ILGenerator)
 {
     MSIL_emit.emitMethod(Instructions, ILGenerator);
 }
示例#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="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());
 }