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