3 references to ObjectPool
GenerateDocumentationAndConfigFiles (3)
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\ArrayBuilder.cs (1)
367
pool = new
ObjectPool
<ArrayBuilder<T>>(() => new ArrayBuilder<T>(pool), size);
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\ObjectPool.cs (1)
112
:
this
(factory, Environment.ProcessorCount * 2)
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledHashSet.cs (1)
70
pool = new
ObjectPool
<PooledHashSet<T>>(() => new PooledHashSet<T>(pool, comparer), 128);