2 writes to _stack
Microsoft.CodeAnalysis.CSharp (2)
Syntax\SyntaxTreeDiagnosticEnumerator.cs (2)
136_stack = new NodeIteration[capacity]; 175_stack = tmp;
11 references to _stack
Microsoft.CodeAnalysis.CSharp (11)
Syntax\SyntaxTreeDiagnosticEnumerator.cs (11)
171if (_count >= _stack.Length) 173var tmp = new NodeIteration[_stack.Length * 2]; 174Array.Copy(_stack, tmp, _stack.Length); 178_stack[_count] = new NodeIteration(node); 204Debug.Assert(_stack != null); 206return _stack[index]; 212Debug.Assert(_stack != null); 214_stack[_count - 1].SlotIndex = slotIndex; 219Debug.Assert(_stack != null); 221_stack[_count - 1].DiagnosticIndex = diagnosticIndex;