4 writes to _currentBlock
Microsoft.CodeAnalysis (4)
CodeGen\ILBuilder.cs (4)
80leaderBlock = _currentBlock = _scopeManager.CreateBlock(this); 127_currentBlock = block; 152_currentBlock = null; 210_currentBlock = null;
12 references to _currentBlock
Microsoft.CodeAnalysis (12)
CodeGen\ILBuilder.cs (11)
91Debug.Assert(!_pendingBlockCreate || (_currentBlock == null)); 93if (_currentBlock == null) 98return _currentBlock; 101[MemberNotNull(nameof(_currentBlock))] 104Debug.Assert(_currentBlock == null); 110[MemberNotNull(nameof(_currentBlock))] 121[MemberNotNull(nameof(_currentBlock))] 137Debug.Assert(_currentBlock == null); 140Debug.Assert(_currentBlock != null); 149if (_currentBlock != null) 151_lastCompleteBlock = _currentBlock;
CodeGen\LocalScopeManager.cs (1)
732Debug.Assert(builder._currentBlock == builder._labelInfos[_endLabel].bb);