5 writes to _stackPtr
Microsoft.CodeAnalysis (5)
Syntax\SyntaxNode.Iterators.cs (5)
57
_stackPtr
= 0;
63
_stackPtr
= -1;
80
_stackPtr
--;
96
_stackPtr
--;
103
if (++
_stackPtr
>= _stack.Length)
5 references to _stackPtr
Microsoft.CodeAnalysis (5)
Syntax\SyntaxNode.Iterators.cs (5)
67
public bool IsNotEmpty { get { return
_stackPtr
>= 0; } }
72
while (_stack[
_stackPtr
].TryMoveNextAndGetCurrent(out value))
88
while ((nodeValue = _stack[
_stackPtr
].TryMoveNextAndGetCurrentAsNode()) != null)
106
Array.Resize(ref _stack, checked(
_stackPtr
* 2));
109
_stack[
_stackPtr
].InitializeFrom(node);