1 instantiation of DiagnosticPoolBlock
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (1)
src\Shared\Buffers.MemoryPool\DiagnosticMemoryPool.cs (1)
56
var diagnosticPoolBlock = new
DiagnosticPoolBlock
(this, _pool.Rent(size));
14 references to DiagnosticPoolBlock
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (14)
src\Shared\Buffers.MemoryPool\DiagnosticMemoryPool.cs (5)
21
private readonly HashSet<
DiagnosticPoolBlock
> _blocks;
39
_blocks = new HashSet<
DiagnosticPoolBlock
>();
56
var
diagnosticPoolBlock = new DiagnosticPoolBlock(this, _pool.Rent(size));
69
internal void Return(
DiagnosticPoolBlock
block)
168
foreach (
var
block in _blocks)
src\Shared\Buffers.MemoryPool\MemoryPoolThrowHelper.cs (9)
30
public static void ThrowInvalidOperationException_PinCountZero(
DiagnosticPoolBlock
block)
35
public static void ThrowInvalidOperationException_ReturningPinnedBlock(
DiagnosticPoolBlock
block)
45
public static void ThrowInvalidOperationException_BlockDoubleDispose(
DiagnosticPoolBlock
block)
50
public static void ThrowInvalidOperationException_BlockReturnedToDisposedPool(
DiagnosticPoolBlock
block)
55
public static void ThrowInvalidOperationException_BlockIsBackedByDisposedSlab(
DiagnosticPoolBlock
block)
60
public static void ThrowInvalidOperationException_DisposingPoolWithActiveBlocks(int returned, int total,
DiagnosticPoolBlock
[] blocks)
65
public static void ThrowInvalidOperationException_BlocksWereNotReturnedInTime(int returned, int total,
DiagnosticPoolBlock
[] blocks)
70
private static string GenerateMessage(string message, params
DiagnosticPoolBlock
[] blocks)
73
foreach (
var
diagnosticPoolBlock in blocks)