示例#1
0
 public Instruction Create(OpCode opCode)
 {
     try
     {
         var instruction = _il.Create(opCode);
         MethodLocals.MapMacroInstruction(Locals, instruction);
         return(instruction);
     }
     catch (ArgumentException)
     {
         throw ExceptionInvalidOperand(opCode);
     }
 }