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)
292
using var pooledObject = SharedPools.Default<HashSet<ProjectId>>().
GetPooledObject
();
344
using var pooledObject = SharedPools.Default<HashSet<ProjectId>>().
GetPooledObject
();
389
using var seenProjects = SharedPools.Default<HashSet<ProjectId>>().
GetPooledObject
();
441
using var seenProjects = SharedPools.Default<HashSet<ProjectId>>().
GetPooledObject
();
458
using var dependencySet = SharedPools.Default<HashSet<ProjectId>>().
GetPooledObject
();
465
using var topologicallySeenProjects = SharedPools.Default<HashSet<ProjectId>>().
GetPooledObject
();
Workspace\Solution\SolutionState_Checksum.cs (1)
106
using var projectCone = SharedPools.Default<HashSet<ProjectId>>().
GetPooledObject
();