4 writes to _rentedBuffer
Microsoft.AspNetCore.WebUtilities (4)
FileBufferingReadStream.cs (4)
82_rentedBuffer = bytePool.Rent(memoryThreshold); 134_rentedBuffer = bytePool.Rent(memoryThreshold); 303_rentedBuffer = null; 379_rentedBuffer = null;
12 references to _rentedBuffer
Microsoft.AspNetCore.WebUtilities (12)
FileBufferingReadStream.cs (12)
83_buffer = new MemoryStream(_rentedBuffer); 135_buffer = new MemoryStream(_rentedBuffer); 280if (_rentedBuffer == null) 301_buffer.Write(_rentedBuffer.AsSpan(0, (int)oldBuffer.Length)); 302_bytePool.Return(_rentedBuffer); 356if (_rentedBuffer == null) 377await _buffer.WriteAsync(_rentedBuffer.AsMemory(0, (int)oldBuffer.Length), cancellationToken); 378_bytePool.Return(_rentedBuffer); 471if (_rentedBuffer != null) 473_bytePool.Return(_rentedBuffer); 489if (_rentedBuffer != null) 491_bytePool.Return(_rentedBuffer);