1 write to _blocks
InMemory.FunctionalTests (1)
src\Shared\Buffers.MemoryPool\DiagnosticMemoryPool.cs (1)
39
_blocks
= new HashSet<DiagnosticPoolBlock>();
9 references to _blocks
InMemory.FunctionalTests (9)
src\Shared\Buffers.MemoryPool\DiagnosticMemoryPool.cs (9)
62
_blocks
.Add(diagnosticPoolBlock);
74
_blocks
.Remove(block);
75
returnedAllBlocks =
_blocks
.Count == 0;
113
allBlocksReturned =
_blocks
.Count == 0;
116
MemoryPoolThrowHelper.ThrowInvalidOperationException_DisposingPoolWithActiveBlocks(_totalBlocks -
_blocks
.Count, _totalBlocks,
_blocks
.ToArray());
158
MemoryPoolThrowHelper.ThrowInvalidOperationException_BlocksWereNotReturnedInTime(_totalBlocks -
_blocks
.Count, _totalBlocks,
_blocks
.ToArray());
168
foreach (var block in
_blocks
)