3 references to Rent
Microsoft.Build (1)
Logging\BinaryLogger\Postprocessing\StreamExtensions.cs (1)
31
using var _ = BufferPool<byte>.Shared.
Rent
(4096, out byte[] buffer);
Microsoft.Build.Tasks.Core (2)
Hash.cs (2)
70
using var shaBufferScope = BufferPool<byte>.Shared.
Rent
(ShaBufferSize, out byte[] shaBuffer);
74
using var itemSpecBufferScope = BufferPool<byte>.Shared.
Rent
(itemSpecChunkByteBufferSize, out byte[] itemSpecChunkByteBuffer);