7 references to Allocate
Microsoft.CodeAnalysis.InteractiveHost (7)
src\Dependencies\PooledObjects\ArrayBuilder.cs (2)
490var builder = s_poolInstance.Allocate(); 958instance = discardLargeInstances ? GetInstance() : s_keepLargeInstancesPool.Allocate();
src\Dependencies\PooledObjects\PooledDelegates.cs (1)
27var obj = DefaultDelegatePool<TPooled>.Instance.Allocate();
src\Dependencies\PooledObjects\PooledDictionary.cs (1)
55var instance = s_poolInstance.Allocate();
src\Dependencies\PooledObjects\PooledHashSet.cs (1)
44var instance = s_poolInstance.Allocate();
src\Dependencies\PooledObjects\PooledStringBuilder.cs (2)
92var builder = s_poolInstance.Allocate(); 112var pooledInstance = discardLargeInstances ? GetInstance() : s_keepLargeInstancesPool.Allocate();