7 references to GetPooledObject
Microsoft.CodeAnalysis.Workspaces (7)
ExternalAccess\Pythia\Api\PythiaObjectPool.cs (1)
18
var disposer = Default<T>().
GetPooledObject
<T>();
Shared\Extensions\SourceTextExtensions.cs (1)
197
using var pooledObject = s_charArrayPool.
GetPooledObject
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectWriter.cs (1)
351
using var pooledObj = BufferPool<T>.Shared.
GetPooledObject
();
TemporaryStorage\TemporaryStorageService.cs (1)
157
using var pooledObject = SharedPools.ByteArray.
GetPooledObject
();
Workspace\Solution\Checksum_Factory.cs (3)
28
using var pooledHash = s_incrementalHashPool.
GetPooledObject
();
50
using var pooledHash = s_incrementalHashPool.
GetPooledObject
();
103
using var pooledHash = s_incrementalHashPool.
GetPooledObject
();