1 write to _totalBlocks
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
src\Shared\Buffers.MemoryPool\DiagnosticMemoryPool.cs (1)
61
_totalBlocks
++;
4 references to _totalBlocks
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (4)
src\Shared\Buffers.MemoryPool\DiagnosticMemoryPool.cs (4)
116
MemoryPoolThrowHelper.ThrowInvalidOperationException_DisposingPoolWithActiveBlocks(
_totalBlocks
- _blocks.Count,
_totalBlocks
, _blocks.ToArray());
158
MemoryPoolThrowHelper.ThrowInvalidOperationException_BlocksWereNotReturnedInTime(
_totalBlocks
- _blocks.Count,
_totalBlocks
, _blocks.ToArray());