2 writes to _stack
Microsoft.CodeAnalysis (2)
Syntax\SyntaxNode.Iterators.cs (2)
165
_stack
= s_stackPool.Allocate();
172
Array.Resize(ref
_stack
, checked(_stackPtr * 2));
9 references to _stack
Microsoft.CodeAnalysis (9)
Syntax\SyntaxNode.Iterators.cs (9)
140
if (
_stack
[_stackPtr].TryMoveNextAndGetCurrent(out value))
152
_stack
[_stackPtr].InitializeFromLeadingTrivia(in token);
158
_stack
[_stackPtr].InitializeFromTrailingTrivia(in token);
163
if (
_stack
== null)
169
if (++_stackPtr >=
_stack
.Length)
179
if (
_stack
?.Length < 256)
181
Array.Clear(
_stack
, 0,
_stack
.Length);
182
s_stackPool.Free(
_stack
);