9 references to CallerArgumentExpression
Microsoft.AspNetCore.Http.Connections.Client (9)
src\Shared\ThrowHelpers\ArgumentNullThrowHelper.cs (1)
21object? argument, [CallerArgumentExpression(nameof(argument))] string? paramName = null)
src\Shared\ThrowHelpers\ArgumentOutOfRangeThrowHelper.cs (8)
59public static void ThrowIfZero(int value, [CallerArgumentExpression(nameof(value))] string? paramName = null) 74public static void ThrowIfNegative(int value, [CallerArgumentExpression(nameof(value))] string? paramName = null) 89public static void ThrowIfNegative(long value, [CallerArgumentExpression(nameof(value))] string? paramName = null) 104public static void ThrowIfNegativeOrZero(int value, [CallerArgumentExpression(nameof(value))] string? paramName = null) 120public static void ThrowIfGreaterThan<T>(T value, T other, [CallerArgumentExpression(nameof(value))] string? paramName = null) 137public static void ThrowIfGreaterThanOrEqual<T>(T value, T other, [CallerArgumentExpression(nameof(value))] string? paramName = null) 154public static void ThrowIfLessThan<T>(T value, T other, [CallerArgumentExpression(nameof(value))] string? paramName = null) 171public static void ThrowIfLessThanOrEqual<T>(T value, T other, [CallerArgumentExpression(nameof(value))] string? paramName = null)