79 references to ThrowArgumentException
mscorlib (79)
microsoft\win32\registrykey.cs (13)
462
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_RegSubKeyAbsent);
470
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_RegSubKeyAbsent);
495
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_RegKeyDelHive);
530
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_RegSubKeyAbsent);
566
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_RegSubKeyAbsent);
595
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_RegSubKeyValueAbsent);
1511
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_RegSetStrArrNull);
1585
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_RegSetMismatchedKind);
1588
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_RegSetMismatchedKind);
1591
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_RegSetMismatchedKind);
1594
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_RegSetMismatchedKind);
2161
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_RegKeyStrLenBug);
2168
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_RegKeyStrLenBug);
system\bitconverter.cs (9)
165
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_ArrayPlusOffTooSmall);
184
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_ArrayPlusOffTooSmall);
216
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_ArrayPlusOffTooSmall);
247
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_ArrayPlusOffTooSmall);
281
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_ArrayPlusOffTooSmall);
297
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_ArrayPlusOffTooSmall);
313
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_ArrayPlusOffTooSmall);
328
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_ArrayPlusOffTooSmall);
344
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_ArrayPlusOffTooSmall);
system\collections\generic\comparer.cs (1)
80
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidArgumentForComparison);
system\collections\generic\dictionary.cs (19)
256
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_ArrayPlusOffTooSmall);
336
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_AddingDuplicate);
534
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_RankMultiDimNotSupported);
538
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_NonZeroLowerBound);
546
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_ArrayPlusOffTooSmall);
565
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidArrayType);
578
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidArrayType);
826
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_ArrayPlusOffTooSmall);
875
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_RankMultiDimNotSupported);
879
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_NonZeroLowerBound);
887
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_ArrayPlusOffTooSmall);
897
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidArrayType);
908
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidArrayType);
1013
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_ArrayPlusOffTooSmall);
1062
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_RankMultiDimNotSupported);
1066
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_NonZeroLowerBound);
1074
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_ArrayPlusOffTooSmall);
1083
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidArrayType);
1094
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidArrayType);
system\collections\generic\equalitycomparer.cs (3)
110
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidArgumentForComparison);
118
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidArgumentForComparison);
508
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidArgumentForComparison);
system\collections\generic\list.cs (8)
282
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidOffLen);
369
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_RankMultiDimNotSupported);
378
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidArrayType);
388
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidOffLen);
592
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidOffLen);
902
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidOffLen);
939
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidOffLen);
977
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidOffLen);
system\collections\objectmodel\collection.cs (6)
180
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_RankMultiDimNotSupported);
184
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_NonZeroLowerBound);
192
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_ArrayPlusOffTooSmall);
209
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidArrayType);
218
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidArrayType);
228
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidArrayType);
system\collections\objectmodel\keyedcollection.cs (2)
138
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_ItemNotExist);
211
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_AddingDuplicate);
system\collections\objectmodel\readonlycollection.cs (6)
125
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_RankMultiDimNotSupported);
129
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_NonZeroLowerBound);
137
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_ArrayPlusOffTooSmall);
154
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidArrayType);
163
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidArrayType);
173
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidArrayType);
system\collections\objectmodel\readonlydictionary.cs (11)
237
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_RankMultiDimNotSupported);
241
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_NonZeroLowerBound);
249
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_ArrayPlusOffTooSmall);
266
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidArrayType);
275
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidArrayType);
565
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_RankMultiDimNotSupported);
569
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_NonZeroLowerBound);
577
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_ArrayPlusOffTooSmall);
601
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidArrayType);
610
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidArrayType);
619
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidArrayType);
system\runtime\compilerservices\ConditionalWeakTable.cs (1)
146
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_AddingDuplicate);