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