3 writes to _stack
Microsoft.CodeAnalysis.Razor.Compiler (3)
Language\Syntax\SyntaxNode.Iterators.cs (3)
105
_stack
= StackPool.Get();
111
_stack
= null;
158
Array.Resize(ref
_stack
, checked(_stackPtr * 2));
9 references to _stack
Microsoft.CodeAnalysis.Razor.Compiler (9)
Language\Syntax\SyntaxNode.Iterators.cs (9)
107
_stack
[0].InitializeFrom(startingNode);
120
Debug.Assert(
_stack
!= null);
122
while (
_stack
[_stackPtr].TryMoveNextAndGetCurrent(out value))
136
Debug.Assert(
_stack
!= null);
139
while ((nodeValue =
_stack
[_stackPtr].TryMoveNextAndGetCurrentAsNode()) != null)
153
Debug.Assert(
_stack
!= null);
155
if (++_stackPtr >=
_stack
.Length)
161
_stack
[_stackPtr].InitializeFrom(node);
174
if (
_stack
is { } stack)