10 references to GetPooledObject
Microsoft.CodeAnalysis.Workspaces (10)
ExternalAccess\Pythia\Api\PythiaObjectPool.cs (1)
32
var disposer = Default<HashSet<T>>().
GetPooledObject
();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\NameGenerator.cs (2)
24
using var nameSetPool = (isCaseSensitive ? SharedPools.StringHashSet : SharedPools.StringIgnoreCaseHashSet).
GetPooledObject
();
91
using var usedNamesPool = (isCaseSensitive ? SharedPools.StringHashSet : SharedPools.StringIgnoreCaseHashSet).
GetPooledObject
();
Workspace\Solution\ProjectDependencyGraph.cs (6)
269
using var pooledObject = SharedPools.Default<HashSet<ProjectId>>().
GetPooledObject
();
321
using var pooledObject = SharedPools.Default<HashSet<ProjectId>>().
GetPooledObject
();
366
using var seenProjects = SharedPools.Default<HashSet<ProjectId>>().
GetPooledObject
();
418
using var seenProjects = SharedPools.Default<HashSet<ProjectId>>().
GetPooledObject
();
435
using var dependencySet = SharedPools.Default<HashSet<ProjectId>>().
GetPooledObject
();
442
using var topologicallySeenProjects = SharedPools.Default<HashSet<ProjectId>>().
GetPooledObject
();
Workspace\Solution\SolutionState_Checksum.cs (1)
106
using var projectCone = SharedPools.Default<HashSet<ProjectId>>().
GetPooledObject
();