38 references to ExceptionArgument
Microsoft.Extensions.Primitives (38)
ChangeToken.cs (4)
24
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.changeTokenProducer);
28
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.changeTokenConsumer);
45
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.changeTokenProducer);
49
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.changeTokenConsumer);
CompositeChangeToken.cs (1)
35
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.changeTokens);
InplaceStringBuilder.cs (5)
31
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.capacity);
47
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.value);
68
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.value);
153
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.value);
158
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.offset);
StringSegment.cs (17)
105
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.index);
133
ThrowInvalidArguments(start, Length - start,
ExceptionArgument
.start);
155
ThrowInvalidArguments(start, length,
ExceptionArgument
.start);
335
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.text);
361
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.text);
402
ThrowInvalidArguments(offset, length,
ExceptionArgument
.offset);
435
ThrowInvalidArguments(offset, length,
ExceptionArgument
.offset);
462
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.start);
467
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.count);
525
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.start);
530
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.count);
670
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.comparisonType);
686
return ThrowHelper.GetArgumentNullException(
ExceptionArgument
.buffer);
691
return ThrowHelper.GetArgumentOutOfRangeException(
ExceptionArgument
.offset);
696
return ThrowHelper.GetArgumentOutOfRangeException(
ExceptionArgument
.length);
704
private void ThrowInvalidArguments(int offset, int length,
ExceptionArgument
offsetOrStart)
722
return ThrowHelper.GetArgumentOutOfRangeException(
ExceptionArgument
.length);
StringTokenizer.cs (4)
27
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.value);
32
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.separators);
48
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.value);
53
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.separators);
StringValues.cs (1)
371
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.array);
ThrowHelper.cs (6)
13
internal static void ThrowArgumentNullException(
ExceptionArgument
argument)
19
internal static void ThrowArgumentOutOfRangeException(
ExceptionArgument
argument)
44
internal static ArgumentNullException GetArgumentNullException(
ExceptionArgument
argument)
49
internal static ArgumentOutOfRangeException GetArgumentOutOfRangeException(
ExceptionArgument
argument)
77
private static string GetArgumentName(
ExceptionArgument
argument)
79
Debug.Assert(Enum.IsDefined(typeof(
ExceptionArgument
), argument),