88 references to ExceptionArgument
Microsoft.Build.Framework (88)
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);
RoslynEnumerable.cs (1)
16
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.source);
SegmentedArray.cs (3)
47
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.destinationArray);
133
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.destinationArray);
395
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.comparison);
SegmentedDictionary`2.cs (22)
81
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.capacity);
110
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.dictionary);
148
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.collection);
297
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.array);
331
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.key);
472
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.key);
682
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.key);
754
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.key);
849
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.array);
924
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.capacity);
971
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.capacity);
1036
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.key);
1038
ThrowHelper.IfNullAndNullsAreIllegalThenThrow<TValue>(value,
ExceptionArgument
.value);
1063
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.key);
1072
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.key);
1074
ThrowHelper.IfNullAndNullsAreIllegalThenThrow<TValue>(value,
ExceptionArgument
.value);
1266
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.dictionary);
1279
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.array);
1330
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.array);
1466
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.dictionary);
1479
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.array);
1530
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.array);
SegmentedList`1.cs (29)
59
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.capacity, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
74
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.collection);
129
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.value, ExceptionResource.ArgumentOutOfRange_SmallCapacity);
203
ThrowHelper.IfNullAndNullsAreIllegalThenThrow<T>(value,
ExceptionArgument
.value);
249
ThrowHelper.IfNullAndNullsAreIllegalThenThrow<T>(item,
ExceptionArgument
.item);
298
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
362
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.converter);
447
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.match);
464
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.match);
498
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.match);
514
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.match);
537
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.match);
578
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.action);
619
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
709
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.index, ExceptionResource.ArgumentOutOfRange_ListInsert);
724
ThrowHelper.IfNullAndNullsAreIllegalThenThrow<T>(item,
ExceptionArgument
.item);
745
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.collection);
861
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
866
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.index, ExceptionResource.ArgumentOutOfRange_BiggerThanCollection);
871
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.count, ExceptionResource.ArgumentOutOfRange_BiggerThanCollection);
892
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
897
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.index, ExceptionResource.ArgumentOutOfRange_BiggerThanCollection);
902
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.count, ExceptionResource.ArgumentOutOfRange_BiggerThanCollection);
936
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.match);
1006
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
1048
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
1088
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
1105
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.comparison);
1151
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.match);
ThrowHelper.cs (29)
62
throw GetArgumentOutOfRangeException(
ExceptionArgument
.index,
75
throw GetArgumentOutOfRangeException(
ExceptionArgument
.index,
82
throw GetArgumentOutOfRangeException(
ExceptionArgument
.length,
89
throw GetArgumentOutOfRangeException(
ExceptionArgument
.startIndex,
96
throw GetArgumentOutOfRangeException(
ExceptionArgument
.count,
139
private static ArgumentNullException GetArgumentNullException(
ExceptionArgument
argument)
145
internal static void ThrowArgumentNullException(
ExceptionArgument
argument)
151
internal static void ThrowArgumentOutOfRangeException(
ExceptionArgument
argument)
157
internal static void ThrowArgumentOutOfRangeException(
ExceptionArgument
argument, ExceptionResource resource)
218
private static ArgumentOutOfRangeException GetArgumentOutOfRangeException(
ExceptionArgument
argument, ExceptionResource resource)
227
internal static void IfNullAndNullsAreIllegalThenThrow<T>(object? value,
ExceptionArgument
argName)
234
private static string GetArgumentName(
ExceptionArgument
argument)
238
case
ExceptionArgument
.dictionary:
240
case
ExceptionArgument
.array:
242
case
ExceptionArgument
.key:
244
case
ExceptionArgument
.value:
246
case
ExceptionArgument
.startIndex:
248
case
ExceptionArgument
.index:
250
case
ExceptionArgument
.capacity:
252
case
ExceptionArgument
.collection:
254
case
ExceptionArgument
.item:
256
case
ExceptionArgument
.converter:
258
case
ExceptionArgument
.match:
260
case
ExceptionArgument
.count:
262
case
ExceptionArgument
.action:
264
case
ExceptionArgument
.comparison:
266
case
ExceptionArgument
.source:
268
case
ExceptionArgument
.length:
270
case
ExceptionArgument
.destinationArray: