7 references to GetPooledObject
Microsoft.CodeAnalysis.Workspaces (7)
Classification\SyntaxClassification\SyntacticChangeRangeComputer.cs (2)
173
using var rightOldStack = s_reversedEnumeratorPool.
GetPooledObject
();
174
using var rightNewStack = s_reversedEnumeratorPool.
GetPooledObject
();
ExternalAccess\Pythia\Api\PythiaObjectPool.cs (1)
25
var disposer = Default<Stack<T>>().
GetPooledObject
();
FindSymbols\FindReferences\FindReferenceCache.cs (1)
156
using 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)
28
using var pooledStack = SharedPools.Default<Stack<SyntaxNodeOrToken>>().
GetPooledObject
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\ContextMutableIntervalTree.cs (1)
86
using var pooledObject = SharedPools.Default<Stack<Node>>().
GetPooledObject
();