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