8 references to SharedPools
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (8)
20
private const int ChunkSize =
SharedPools
.ByteBufferSize;
46
var chunk =
SharedPools
.ByteArray.Allocate();
85
SharedPools
.ByteArray.Free(chunks[c]);
261
SharedPools
.ByteArray.Free(chunk);
282
: base(length: 0, chunks:
SharedPools
.BigDefault<List<byte[]>>().AllocateAndClear())
314
var chunk =
SharedPools
.ByteArray.Allocate();
342
SharedPools
.ByteArray.Free(chunks[i]);
404
SharedPools
.BigDefault<List<byte[]>>().ClearAndFree(temp);