25 references to MemoryPoolThrowHelper
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (25)
src\Shared\Buffers.MemoryPool\DiagnosticMemoryPool.cs (6)
53
MemoryPoolThrowHelper
.ThrowObjectDisposedException(
MemoryPoolThrowHelper
.ExceptionArgument.MemoryPool);
82
MemoryPoolThrowHelper
.ThrowInvalidOperationException_BlockReturnedToDisposedPool(block);
104
MemoryPoolThrowHelper
.ThrowInvalidOperationException_DoubleDispose();
116
MemoryPoolThrowHelper
.ThrowInvalidOperationException_DisposingPoolWithActiveBlocks(_totalBlocks - _blocks.Count, _totalBlocks, _blocks.ToArray());
158
MemoryPoolThrowHelper
.ThrowInvalidOperationException_BlocksWereNotReturnedInTime(_totalBlocks - _blocks.Count, _totalBlocks, _blocks.ToArray());
src\Shared\Buffers.MemoryPool\DiagnosticPoolBlock.cs (16)
50
MemoryPoolThrowHelper
.ThrowObjectDisposedException(
MemoryPoolThrowHelper
.ExceptionArgument.MemoryPoolBlock);
55
MemoryPoolThrowHelper
.ThrowInvalidOperationException_BlockIsBackedByDisposedSlab(this);
77
MemoryPoolThrowHelper
.ThrowInvalidOperationException_ReturningPinnedBlock(this);
82
MemoryPoolThrowHelper
.ThrowInvalidOperationException_BlockDoubleDispose(this);
107
MemoryPoolThrowHelper
.ThrowObjectDisposedException(
MemoryPoolThrowHelper
.ExceptionArgument.MemoryPoolBlock);
112
MemoryPoolThrowHelper
.ThrowInvalidOperationException_BlockIsBackedByDisposedSlab(this);
133
MemoryPoolThrowHelper
.ThrowObjectDisposedException(
MemoryPoolThrowHelper
.ExceptionArgument.MemoryPoolBlock);
138
MemoryPoolThrowHelper
.ThrowInvalidOperationException_BlockIsBackedByDisposedSlab(this);
143
MemoryPoolThrowHelper
.ThrowArgumentOutOfRangeException(_memory.Length, byteOffset);
171
MemoryPoolThrowHelper
.ThrowObjectDisposedException(
MemoryPoolThrowHelper
.ExceptionArgument.MemoryPoolBlock);
176
MemoryPoolThrowHelper
.ThrowInvalidOperationException_BlockIsBackedByDisposedSlab(this);
197
MemoryPoolThrowHelper
.ThrowInvalidOperationException_PinCountZero(this);
src\Shared\Buffers.MemoryPool\PinnedBlockMemoryPool.cs (3)
53
MemoryPoolThrowHelper
.ThrowArgumentOutOfRangeException_BufferRequestTooLarge(_blockSize);
58
MemoryPoolThrowHelper
.ThrowObjectDisposedException(
MemoryPoolThrowHelper
.ExceptionArgument.MemoryPool);