7 references to Allocate
Microsoft.CodeAnalysis.PooledObjects.Package (7)
ArrayBuilder.cs (2)
492var builder = s_poolInstance.Allocate(); 960instance = discardLargeInstances ? GetInstance() : s_keepLargeInstancesPool.Allocate();
PooledDelegates.cs (1)
29var obj = DefaultDelegatePool<TPooled>.Instance.Allocate();
PooledDictionary.cs (1)
57var instance = s_poolInstance.Allocate();
PooledHashSet.cs (1)
46var instance = s_poolInstance.Allocate();
PooledStringBuilder.cs (2)
94var builder = s_poolInstance.Allocate(); 114var pooledInstance = discardLargeInstances ? GetInstance() : s_keepLargeInstancesPool.Allocate();