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