internal ILBuilder(ITokenDeferral module, LocalSlotManager localSlotManager, OptimizationLevel optimizations) { Debug.Assert(BitConverter.IsLittleEndian); this.module = module; this.LocalSlotManager = localSlotManager; _emitState = default(EmitState); _scopeManager = new LocalScopeManager(); leaderBlock = _currentBlock = _scopeManager.CreateBlock(this); _labelInfos = new SmallDictionary <object, LabelInfo>(ReferenceEqualityComparer.Instance); _optimizations = optimizations; }
internal ILBuilder(ITokenDeferral module, LocalSlotManager localSlotManager, bool isOptimizing) { Debug.Assert(BitConverter.IsLittleEndian); this.module = module; this.LocalSlotManager = localSlotManager; this.emitState = default(EmitState); this.scopeManager = new LocalScopeManager(); leaderBlock = currentBlock = this.scopeManager.CreateBlock(this); labelInfos = new SmallDictionary<object, LabelInfo>(ReferenceEqualityComparer.Instance); this.isOptimizing = isOptimizing; }
internal ILBuilder(ITokenDeferral module, LocalSlotManager localSlotManager, OptimizationLevel optimizations) { Debug.Assert(BitConverter.IsLittleEndian); this.module = module; this.LocalSlotManager = localSlotManager; _emitState = default(EmitState); _scopeManager = new LocalScopeManager(); leaderBlock = _currentBlock = _scopeManager.CreateBlock(this); _labelInfos = new SmallDictionary<object, LabelInfo>(ReferenceEqualityComparer.Instance); _optimizations = optimizations; }
internal ILBuilder(ITokenDeferral module, LocalSlotManager localSlotManager, bool isOptimizing) { Debug.Assert(BitConverter.IsLittleEndian); this.module = module; this.LocalSlotManager = localSlotManager; this.emitState = default(EmitState); this.scopeManager = new LocalScopeManager(); leaderBlock = currentBlock = this.scopeManager.CreateBlock(this); labelInfos = new SmallDictionary <object, LabelInfo>(ReferenceEqualityComparer.Instance); this.isOptimizing = isOptimizing; }