2 writes to _stack
Microsoft.CodeAnalysis.CSharp (2)
Syntax\SyntaxTreeDiagnosticEnumerator.cs (2)
30_stack = new NodeIterationStack(DefaultStackCapacity); 35_stack = new NodeIterationStack();
9 references to _stack
Microsoft.CodeAnalysis.CSharp (9)
Syntax\SyntaxTreeDiagnosticEnumerator.cs (9)
31_stack.PushNodeOrToken(node); 46while (_stack.Any()) 48var diagIndex = _stack.Top.DiagnosticIndex; 49var node = _stack.Top.Node; 68_stack.UpdateDiagnosticIndexForStackTop(diagIndex); 72var slotIndex = _stack.Top.SlotIndex; 89_stack.UpdateSlotIndexForStackTop(slotIndex); 90_stack.PushNodeOrToken(child); 99_stack.Pop();