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)
171
if (_count >=
_stack
.Length)
173
var tmp = new NodeIteration[
_stack
.Length * 2];
174
Array.Copy(
_stack
, tmp,
_stack
.Length);
178
_stack
[_count] = new NodeIteration(node);
204
Debug.Assert(
_stack
!= null);
206
return
_stack
[index];
212
Debug.Assert(
_stack
!= null);
214
_stack
[_count - 1].SlotIndex = slotIndex;
219
Debug.Assert(
_stack
!= null);
221
_stack
[_count - 1].DiagnosticIndex = diagnosticIndex;