2 writes to _stack
Microsoft.CodeAnalysis (2)
Syntax\SyntaxNode.Iterators.cs (2)
165_stack = s_stackPool.Allocate(); 172Array.Resize(ref _stack, checked(_stackPtr * 2));
9 references to _stack
Microsoft.CodeAnalysis (9)
Syntax\SyntaxNode.Iterators.cs (9)
140if (_stack[_stackPtr].TryMoveNextAndGetCurrent(out value)) 152_stack[_stackPtr].InitializeFromLeadingTrivia(in token); 158_stack[_stackPtr].InitializeFromTrailingTrivia(in token); 163if (_stack == null) 169if (++_stackPtr >= _stack.Length) 179if (_stack?.Length < 256) 181Array.Clear(_stack, 0, _stack.Length); 182s_stackPool.Free(_stack);