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);
46
while (
_stack
.Any())
48
var diagIndex =
_stack
.Top.DiagnosticIndex;
49
var node =
_stack
.Top.Node;
68
_stack
.UpdateDiagnosticIndexForStackTop(diagIndex);
72
var slotIndex =
_stack
.Top.SlotIndex;
89
_stack
.UpdateSlotIndexForStackTop(slotIndex);
90
_stack
.PushNodeOrToken(child);
99
_stack
.Pop();