3 writes to _stack
Microsoft.CodeAnalysis.Razor.Compiler (3)
Language\Syntax\SyntaxNode.Iterators.cs (3)
106
_stack
= StackPool.Get();
112
_stack
= null;
159
Array.Resize(ref
_stack
, checked(_stackPtr * 2));
9 references to _stack
Microsoft.CodeAnalysis.Razor.Compiler (9)
Language\Syntax\SyntaxNode.Iterators.cs (9)
108
_stack
[0].InitializeFrom(startingNode);
121
Debug.Assert(
_stack
!= null);
123
while (
_stack
[_stackPtr].TryMoveNextAndGetCurrent(out value))
137
Debug.Assert(
_stack
!= null);
140
while ((nodeValue =
_stack
[_stackPtr].TryMoveNextAndGetCurrentAsNode()) != null)
154
Debug.Assert(
_stack
!= null);
156
if (++_stackPtr >=
_stack
.Length)
162
_stack
[_stackPtr].InitializeFrom(node);
175
if (
_stack
is { } stack)