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)
116MemoryPoolThrowHelper.ThrowInvalidOperationException_DisposingPoolWithActiveBlocks(_totalBlocks - _blocks.Count, _totalBlocks, _blocks.ToArray()); 158MemoryPoolThrowHelper.ThrowInvalidOperationException_BlocksWereNotReturnedInTime(_totalBlocks - _blocks.Count, _totalBlocks, _blocks.ToArray());