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