4 references to GetArgumentName
InMemory.FunctionalTests (4)
src\Shared\Buffers.MemoryPool\MemoryPoolThrowHelper.cs (4)
23
return new ArgumentOutOfRangeException(
GetArgumentName
(ExceptionArgument.offset));
27
return new ArgumentOutOfRangeException(
GetArgumentName
(ExceptionArgument.length));
100
return new ArgumentOutOfRangeException(
GetArgumentName
(ExceptionArgument.size), $"Cannot allocate more than {maxSize} bytes in a single buffer");
106
return new ObjectDisposedException(
GetArgumentName
(argument));