3 references to ObjectPool
System.Reflection.Metadata (3)
System\Reflection\Internal\Utilities\ObjectPool`1.cs (1)
42: this(factory, Environment.ProcessorCount * 2)
System\Reflection\Internal\Utilities\PooledStringBuilder.cs (1)
60pool = new ObjectPool<PooledStringBuilder>(() => new PooledStringBuilder(pool!), 32);
System\Reflection\Metadata\PooledBlobBuilder.cs (1)
13private static readonly ObjectPool<PooledBlobBuilder> s_chunkPool = new ObjectPool<PooledBlobBuilder>(() => new PooledBlobBuilder(ChunkSize), PoolSize);