6 writes to _currentStatement
Microsoft.CodeAnalysis (6)
Operations\ControlFlowGraphBuilder.cs (6)
1245_currentStatement = operation; 1254_currentStatement = saveCurrentStatement; 1455_currentStatement = labelOperation; 1462_currentStatement = savedCurrentStatement; 7812_currentStatement = operation; 7846_currentStatement = saveCurrentStatement;
21 references to _currentStatement
Microsoft.CodeAnalysis (21)
Operations\ControlFlowGraphBuilder.cs (21)
1244IOperation? saveCurrentStatement = _currentStatement; 1395Debug.Assert(_currentStatement == operation); 1404Debug.Assert(_currentStatement == originalOperation); 1407if (_currentStatement == originalOperation) 1454var savedCurrentStatement = _currentStatement; 1507Debug.Assert(_currentStatement == operation); 1537if (operation == _currentStatement) 3104bool isStatement = _currentStatement == operation || operation.Parent.Kind == OperationKind.ExpressionStatement; 3367bool isOnStatementLevel = _currentStatement == operation || (_currentStatement == operation.Parent && _currentStatement?.Kind == OperationKind.ExpressionStatement); 3413if (_currentStatement != operation) 3415Debug.Assert(_currentStatement is not null); 3416var expressionStatement = (IExpressionStatementOperation)_currentStatement; 3914bool isStatement = (_currentStatement == operation); 6454Debug.Assert(_currentStatement == null); 6747if (_currentStatement == operation) 6759Debug.Assert(_currentStatement == operation); 7481if (_currentStatement == operation) 7494Debug.Assert(_currentStatement == invalidOperation); 7811IOperation? saveCurrentStatement = _currentStatement;