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