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