diff --git a/Mono.Cecil.Cil/Instruction.cs b/Mono.Cecil.Cil/Instruction.cs index 5fb36049b..d0d008199 100644 --- a/Mono.Cecil.Cil/Instruction.cs +++ b/Mono.Cecil.Cil/Instruction.cs @@ -59,6 +59,11 @@ internal Instruction (OpCode opcode, object operand) this.operand = operand; } + public Instruction GetPrototype () + { + return new Instruction (opcode, operand); + } + public int GetSize () { int size = opcode.Size;