3 writes to _stack
Microsoft.CodeAnalysis.Razor.Compiler (3)
Language\Syntax\SyntaxNode.Iterators.cs (3)
106_stack = StackPool.Get(); 112_stack = null; 159Array.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); 121Debug.Assert(_stack != null); 123while (_stack[_stackPtr].TryMoveNextAndGetCurrent(out value)) 137Debug.Assert(_stack != null); 140while ((nodeValue = _stack[_stackPtr].TryMoveNextAndGetCurrentAsNode()) != null) 154Debug.Assert(_stack != null); 156if (++_stackPtr >= _stack.Length) 162_stack[_stackPtr].InitializeFrom(node); 175if (_stack is { } stack)