12 references to ByteArray
Microsoft.CodeAnalysis.Workspaces (10)
SerializableBytes.cs (5)
49
var chunk = SharedPools.
ByteArray
.Allocate();
88
SharedPools.
ByteArray
.Free(chunks[c]);
280
SharedPools.
ByteArray
.Free(chunk);
338
var chunk = SharedPools.
ByteArray
.Allocate();
360
SharedPools.
ByteArray
.Free(chunks[i]);
TemporaryStorage\TemporaryStorageServiceFactory.cs (2)
380
var buffer = SharedPools.
ByteArray
.Allocate();
405
SharedPools.
ByteArray
.Free(buffer);
Workspace\Solution\Checksum_Factory.cs (3)
28
using var pooledBuffer = SharedPools.
ByteArray
.GetPooledObject();
43
using var pooledBuffer = SharedPools.
ByteArray
.GetPooledObject();
54
using var pooledBuffer = SharedPools.
ByteArray
.GetPooledObject();
Microsoft.VisualStudio.LanguageServices (2)
ProjectSystem\MetadataReferences\VisualStudioMetadataReferenceManager.cs (2)
238
var buffer = SharedPools.
ByteArray
.Allocate();
248
SharedPools.
ByteArray
.Free(buffer);