3 references to ObjectPool
Microsoft.CodeAnalysis.InteractiveHost (3)
ArrayBuilder.cs (1)
426
pool = new
ObjectPool
<ArrayBuilder<T>>(() => new ArrayBuilder<T>(pool!), size);
ObjectPool`1.cs (1)
108
:
this
(factory, Environment.ProcessorCount * 2)
PooledHashSet.cs (1)
35
pool = new
ObjectPool
<PooledHashSet<T>>(() => new PooledHashSet<T>(pool!, equalityComparer), 128);