113 references to ExceptionArgument
Microsoft.CodeAnalysis (113)
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (2)
350ThrowHelper.ThrowArgumentNullException(ExceptionArgument.array); 354ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index);
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+ValueBuilder.cs (2)
108ThrowHelper.ThrowArgumentNullException(ExceptionArgument.other); 227ThrowHelper.ThrowArgumentNullException(ExceptionArgument.other);
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (2)
344ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count); 555ThrowHelper.ThrowArgumentNullException(ExceptionArgument.comparison);
src\Dependencies\Collections\ImmutableSegmentedList`1+ValueBuilder.cs (2)
247ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count); 311ThrowHelper.ThrowArgumentNullException(ExceptionArgument.comparison);
src\Dependencies\Collections\Internal\ThrowHelper.cs (33)
62throw GetArgumentOutOfRangeException(ExceptionArgument.index, 69throw GetArgumentOutOfRangeException(ExceptionArgument.index, 82throw GetArgumentOutOfRangeException(ExceptionArgument.index, 89throw GetArgumentOutOfRangeException(ExceptionArgument.length, 96throw GetArgumentOutOfRangeException(ExceptionArgument.startIndex, 103throw GetArgumentOutOfRangeException(ExceptionArgument.startIndex, 110throw GetArgumentOutOfRangeException(ExceptionArgument.count, 153private static ArgumentNullException GetArgumentNullException(ExceptionArgument argument) 159internal static void ThrowArgumentNullException(ExceptionArgument argument) 165internal static void ThrowArgumentOutOfRangeException(ExceptionArgument argument) 171internal static void ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) 232private static ArgumentOutOfRangeException GetArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) 241internal static void IfNullAndNullsAreIllegalThenThrow<T>(object? value, ExceptionArgument argName) 248private static string GetArgumentName(ExceptionArgument argument) 252case ExceptionArgument.dictionary: 254case ExceptionArgument.array: 256case ExceptionArgument.info: 258case ExceptionArgument.key: 260case ExceptionArgument.value: 262case ExceptionArgument.startIndex: 264case ExceptionArgument.index: 266case ExceptionArgument.capacity: 268case ExceptionArgument.collection: 270case ExceptionArgument.item: 272case ExceptionArgument.converter: 274case ExceptionArgument.match: 276case ExceptionArgument.count: 278case ExceptionArgument.action: 280case ExceptionArgument.comparison: 282case ExceptionArgument.source: 284case ExceptionArgument.length: 286case ExceptionArgument.destinationArray: 288case ExceptionArgument.other:
src\Dependencies\Collections\RoslynEnumerable.cs (1)
16ThrowHelper.ThrowArgumentNullException(ExceptionArgument.source);
src\Dependencies\Collections\SegmentedArray.cs (3)
53ThrowHelper.ThrowArgumentNullException(ExceptionArgument.destinationArray); 139ThrowHelper.ThrowArgumentNullException(ExceptionArgument.destinationArray); 401ThrowHelper.ThrowArgumentNullException(ExceptionArgument.comparison);
src\Dependencies\Collections\SegmentedDictionary`2.cs (22)
85ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.capacity); 126ThrowHelper.ThrowArgumentNullException(ExceptionArgument.dictionary); 142ThrowHelper.ThrowArgumentNullException(ExceptionArgument.collection); 360ThrowHelper.ThrowArgumentNullException(ExceptionArgument.array); 400ThrowHelper.ThrowArgumentNullException(ExceptionArgument.key); 509ThrowHelper.ThrowArgumentNullException(ExceptionArgument.key); 700ThrowHelper.ThrowArgumentNullException(ExceptionArgument.key); 777ThrowHelper.ThrowArgumentNullException(ExceptionArgument.key); 877ThrowHelper.ThrowArgumentNullException(ExceptionArgument.array); 952ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.capacity); 999ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.capacity); 1070ThrowHelper.ThrowArgumentNullException(ExceptionArgument.key); 1072ThrowHelper.IfNullAndNullsAreIllegalThenThrow<TValue>(value, ExceptionArgument.value); 1097ThrowHelper.ThrowArgumentNullException(ExceptionArgument.key); 1106ThrowHelper.ThrowArgumentNullException(ExceptionArgument.key); 1108ThrowHelper.IfNullAndNullsAreIllegalThenThrow<TValue>(value, ExceptionArgument.value); 1302ThrowHelper.ThrowArgumentNullException(ExceptionArgument.dictionary); 1315ThrowHelper.ThrowArgumentNullException(ExceptionArgument.array); 1372ThrowHelper.ThrowArgumentNullException(ExceptionArgument.array); 1510ThrowHelper.ThrowArgumentNullException(ExceptionArgument.dictionary); 1523ThrowHelper.ThrowArgumentNullException(ExceptionArgument.array); 1580ThrowHelper.ThrowArgumentNullException(ExceptionArgument.array);
src\Dependencies\Collections\SegmentedHashSet`1.cs (15)
107ThrowHelper.ThrowArgumentNullException(ExceptionArgument.collection); 140ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.capacity); 418ThrowHelper.ThrowArgumentNullException(ExceptionArgument.other); 433ThrowHelper.ThrowArgumentNullException(ExceptionArgument.other); 470ThrowHelper.ThrowArgumentNullException(ExceptionArgument.other); 499ThrowHelper.ThrowArgumentNullException(ExceptionArgument.other); 538ThrowHelper.ThrowArgumentNullException(ExceptionArgument.other); 574ThrowHelper.ThrowArgumentNullException(ExceptionArgument.other); 622ThrowHelper.ThrowArgumentNullException(ExceptionArgument.other); 667ThrowHelper.ThrowArgumentNullException(ExceptionArgument.other); 710ThrowHelper.ThrowArgumentNullException(ExceptionArgument.other); 742ThrowHelper.ThrowArgumentNullException(ExceptionArgument.other); 791ThrowHelper.ThrowArgumentNullException(ExceptionArgument.array); 836ThrowHelper.ThrowArgumentNullException(ExceptionArgument.match); 876ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.capacity);
src\Dependencies\Collections\SegmentedList`1.cs (31)
61ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.capacity, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 76ThrowHelper.ThrowArgumentNullException(ExceptionArgument.collection); 131ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.value, ExceptionResource.ArgumentOutOfRange_SmallCapacity); 230ThrowHelper.IfNullAndNullsAreIllegalThenThrow<T>(value, ExceptionArgument.value); 277ThrowHelper.IfNullAndNullsAreIllegalThenThrow<T>(item, ExceptionArgument.item); 299ThrowHelper.ThrowArgumentNullException(ExceptionArgument.collection); 369ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 433ThrowHelper.ThrowArgumentNullException(ExceptionArgument.converter); 502ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.capacity, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 578ThrowHelper.ThrowArgumentNullException(ExceptionArgument.match); 595ThrowHelper.ThrowArgumentNullException(ExceptionArgument.match); 629ThrowHelper.ThrowArgumentNullException(ExceptionArgument.match); 645ThrowHelper.ThrowArgumentNullException(ExceptionArgument.match); 668ThrowHelper.ThrowArgumentNullException(ExceptionArgument.match); 709ThrowHelper.ThrowArgumentNullException(ExceptionArgument.action); 754ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 858ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_ListInsert); 873ThrowHelper.IfNullAndNullsAreIllegalThenThrow<T>(item, ExceptionArgument.item); 894ThrowHelper.ThrowArgumentNullException(ExceptionArgument.collection); 1013ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 1018ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_BiggerThanCollection); 1023ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_BiggerThanCollection); 1044ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 1049ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_BiggerThanCollection); 1054ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_BiggerThanCollection); 1088ThrowHelper.ThrowArgumentNullException(ExceptionArgument.match); 1158ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 1200ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 1240ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 1257ThrowHelper.ThrowArgumentNullException(ExceptionArgument.comparison); 1304ThrowHelper.ThrowArgumentNullException(ExceptionArgument.match);