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