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