Esempio n. 1
0
 public Block(BlockKind kind = BlockKind.ControlFlow) : base(OpCode.Block)
 {
     this.Kind             = kind;
     this.Instructions     = new InstructionCollection <ILInstruction>(this, 0);
     this.FinalInstruction = new Nop();
 }
Esempio n. 2
0
 public TryCatch(ILInstruction tryBlock) : base(OpCode.TryCatch, tryBlock)
 {
     this.Handlers = new InstructionCollection <TryCatchHandler>(this, 1);
 }
Esempio n. 3
0
 public Block(BlockType type = BlockType.ControlFlow) : base(OpCode.Block)
 {
     this.Type             = type;
     this.Instructions     = new InstructionCollection <ILInstruction>(this, 0);
     this.FinalInstruction = new Nop();
 }
Esempio n. 4
0
 public BlockContainer(StackType expectedResultType = StackType.Void) : base(OpCode.BlockContainer)
 {
     this.Blocks             = new InstructionCollection <Block>(this, 0);
     this.ExpectedResultType = expectedResultType;
 }