예제 #1
0
 private ExceptionStructure(CecilCilWriter owner)
 {
     _owner    = owner;
     _endLabel = ((ICilWriter)owner).DefineLabel();
     AppendNop();
     _tryBlock = new TryBlock(this, LastInstruction);
 }
예제 #2
0
 public static ExceptionStructure BeginTry(CecilCilWriter owner)
 {
     return(new ExceptionStructure(owner));
 }
예제 #3
0
 public Label(CecilCilWriter owner)
 {
     _owner            = owner;
     Referencers       = new List <Instruction>();
     TargetInstruction = owner._body.CilWorker.Create(OpCodes.Nop);
 }