1 instantiation of PooledStringBuilder
System.Reflection.Metadata (1)
System\Reflection\Internal\Utilities\PooledStringBuilder.cs (1)
60pool = new ObjectPool<PooledStringBuilder>(() => new PooledStringBuilder(pool!), 32);
10 references to PooledStringBuilder
System.Reflection.Metadata (10)
System\Reflection\Internal\Utilities\PooledStringBuilder.cs (8)
20private readonly ObjectPool<PooledStringBuilder> _pool; 22private PooledStringBuilder(ObjectPool<PooledStringBuilder> pool) 54private static readonly ObjectPool<PooledStringBuilder> s_poolInstance = CreatePool(); 57public static ObjectPool<PooledStringBuilder> CreatePool() 59ObjectPool<PooledStringBuilder>? pool = null; 60pool = new ObjectPool<PooledStringBuilder>(() => new PooledStringBuilder(pool!), 32); 64public static PooledStringBuilder GetInstance() 66var builder = s_poolInstance.Allocate();
System\Reflection\Metadata\Internal\BlobHeap.cs (2)
196var pooledBuilder = PooledStringBuilder.GetInstance();