コード例 #1
0
 public static void Emit(this ILProcessor ilp, OpCode opCode, CecilLabel label)
 {
     if (!label.IsSameILProcessor(ilp))
     {
         throw new NotSupportedException();
     }
     label.Emit(opCode);
 }
コード例 #2
0
 public static void MarkLabel(this ILProcessor ilp, CecilLabel label)
 {
     if (!label.IsSameILProcessor(ilp))
     {
         throw new NotSupportedException();
     }
     label.Mark();
 }