17 references to ExceptionArgument
System.Text.Json (17)
System\ThrowHelper.cs (17)
25
internal static void ThrowArgumentException_CannotExtractScalar(
ExceptionArgument
argument)
33
throw GetArgumentOutOfRangeException(
ExceptionArgument
.index,
38
internal static void ThrowArgumentNullException(
ExceptionArgument
argument)
44
internal static void ThrowArgumentOutOfRangeException(
ExceptionArgument
argument)
49
private static ArgumentOutOfRangeException GetArgumentOutOfRangeException(
ExceptionArgument
argument, ExceptionResource resource)
54
private static ArgumentException GetArgumentException(ExceptionResource resource,
ExceptionArgument
argument)
59
private static string GetArgumentName(
ExceptionArgument
argument)
63
case
ExceptionArgument
.ch:
64
return nameof(
ExceptionArgument
.ch);
65
case
ExceptionArgument
.culture:
66
return nameof(
ExceptionArgument
.culture);
67
case
ExceptionArgument
.index:
68
return nameof(
ExceptionArgument
.index);
69
case
ExceptionArgument
.input:
70
return nameof(
ExceptionArgument
.input);
71
case
ExceptionArgument
.value:
72
return nameof(
ExceptionArgument
.value);