1 write to _pendingNodes
Microsoft.CodeAnalysis.Workspaces (1)
Classification\SyntaxClassification\AbstractSyntaxClassificationService.Worker.cs (1)
50_pendingNodes = SharedPools.Default<Stack<SyntaxNodeOrToken>>().AllocateAndClear();
6 references to _pendingNodes
Microsoft.CodeAnalysis.Workspaces (6)
Classification\SyntaxClassification\AbstractSyntaxClassificationService.Worker.cs (6)
66worker._pendingNodes.Push(worker._syntaxTree.GetRoot(cancellationToken)); 73SharedPools.Default<Stack<SyntaxNodeOrToken>>().ClearAndFree(worker._pendingNodes); 92while (_pendingNodes.Count > 0) 95var nodeOrToken = _pendingNodes.Pop(); 103_pendingNodes.Push(child); 181_pendingNodes.Push(trivia.GetStructure());