7 references to GetPooledObject
Microsoft.CodeAnalysis.Workspaces (7)
Classification\SyntaxClassification\SyntacticChangeRangeComputer.cs (2)
173using var rightOldStack = s_reversedEnumeratorPool.GetPooledObject(); 174using var rightNewStack = s_reversedEnumeratorPool.GetPooledObject();
ExternalAccess\Pythia\Api\PythiaObjectPool.cs (1)
25var disposer = Default<Stack<T>>().GetPooledObject();
FindSymbols\FindReferences\FindReferenceCache.cs (1)
156using var obj = SharedPools.Default<Stack<SyntaxNodeOrToken>>().GetPooledObject();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
45_pooledStack = s_nodeStackPool.GetPooledObject();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeOrTokenExtensions.cs (1)
28using var pooledStack = SharedPools.Default<Stack<SyntaxNodeOrToken>>().GetPooledObject();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\ContextMutableIntervalTree.cs (1)
86using var pooledObject = SharedPools.Default<Stack<Node>>().GetPooledObject();