2 writes to _discriminatorStack
Microsoft.CodeAnalysis (2)
Syntax\SyntaxNode.Iterators.cs (2)
205_discriminatorStack = ArrayBuilder<Which>.GetInstance(); 210_discriminatorStack = null;
15 references to _discriminatorStack
Microsoft.CodeAnalysis (15)
Syntax\SyntaxNode.Iterators.cs (15)
206_discriminatorStack.Push(Which.Node); 214public bool IsNotEmpty { get { return _discriminatorStack?.Count > 0; } } 218Debug.Assert(_discriminatorStack is object); 219return _discriminatorStack.Peek(); 229Debug.Assert(_discriminatorStack is object); 230_discriminatorStack.Pop(); 241Debug.Assert(_discriminatorStack is object); 242_discriminatorStack.Pop(); 250Debug.Assert(_discriminatorStack is object); 252_discriminatorStack.Push(Which.Node); 258Debug.Assert(_discriminatorStack is object); 260_discriminatorStack.Push(Which.Trivia); 265Debug.Assert(_discriminatorStack is object); 267_discriminatorStack.Push(Which.Trivia); 274_discriminatorStack?.Free();