260 references to ExceptionResource
mscorlib (260)
microsoft\win32\registrykey.cs (22)
442ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_RegRemoveSubKey); 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); 753ThrowHelper.ThrowSecurityException(ExceptionResource.Security_RegistryPermission); 812ThrowHelper.ThrowSecurityException(ExceptionResource.Security_RegistryPermission); 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); 2094ThrowHelper.ThrowObjectDisposedException(keyName, ExceptionResource.ObjectDisposed_RegKeyClosed); 2102ThrowHelper.ThrowUnauthorizedAccessException(ExceptionResource.UnauthorizedAccess_RegistryNoWrite); 2161ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_RegKeyStrLenBug); 2168ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_RegKeyStrLenBug); 2174ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidRegistryKeyPermissionCheck, ExceptionArgument.mode); 2180ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidRegistryOptionsCheck, ExceptionArgument.options); 2186ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidRegistryViewCheck, ExceptionArgument.view); 2196ThrowHelper.ThrowSecurityException(ExceptionResource.Security_RegistryPermission);
system\bitconverter.cs (18)
161ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.startIndex, ExceptionResource.ArgumentOutOfRange_Index); 165ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_ArrayPlusOffTooSmall); 180ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.startIndex, ExceptionResource.ArgumentOutOfRange_Index); 184ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_ArrayPlusOffTooSmall); 212ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.startIndex, ExceptionResource.ArgumentOutOfRange_Index); 216ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_ArrayPlusOffTooSmall); 243ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.startIndex, ExceptionResource.ArgumentOutOfRange_Index); 247ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_ArrayPlusOffTooSmall); 279ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.startIndex, ExceptionResource.ArgumentOutOfRange_Index); 281ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_ArrayPlusOffTooSmall); 295ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.startIndex, ExceptionResource.ArgumentOutOfRange_Index); 297ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_ArrayPlusOffTooSmall); 311ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.startIndex, ExceptionResource.ArgumentOutOfRange_Index); 313ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_ArrayPlusOffTooSmall); 326ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.startIndex, ExceptionResource.ArgumentOutOfRange_Index); 328ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_ArrayPlusOffTooSmall); 342ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.startIndex, ExceptionResource.ArgumentOutOfRange_Index); 344ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_ArrayPlusOffTooSmall);
system\collections\generic\comparer.cs (1)
80ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidArgumentForComparison);
system\collections\generic\dictionary.cs (45)
252ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 256ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_ArrayPlusOffTooSmall); 336ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_AddingDuplicate); 421ThrowHelper.ThrowSerializationException(ExceptionResource.Serialization_MissingKeys); 426ThrowHelper.ThrowSerializationException(ExceptionResource.Serialization_NullKey); 534ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_RankMultiDimNotSupported); 538ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_NonZeroLowerBound); 542ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 546ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_ArrayPlusOffTooSmall); 565ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidArrayType); 578ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidArrayType); 718ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumFailedVersion); 747ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumOpCantHappen); 760ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumFailedVersion); 770ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumOpCantHappen); 780ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumOpCantHappen); 790ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumOpCantHappen); 822ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 826ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_ArrayPlusOffTooSmall); 845ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_KeyCollectionSet); 849ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_KeyCollectionSet); 857ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_KeyCollectionSet); 875ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_RankMultiDimNotSupported); 879ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_NonZeroLowerBound); 883ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 887ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_ArrayPlusOffTooSmall); 897ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidArrayType); 908ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidArrayType); 941ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumFailedVersion); 967ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumOpCantHappen); 976ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumFailedVersion); 1009ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 1013ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_ArrayPlusOffTooSmall); 1032ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ValueCollectionSet); 1036ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ValueCollectionSet); 1041ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ValueCollectionSet); 1062ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_RankMultiDimNotSupported); 1066ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_NonZeroLowerBound); 1070ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 1074ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_ArrayPlusOffTooSmall); 1083ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidArrayType); 1094ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidArrayType); 1127ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumFailedVersion); 1152ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumOpCantHappen); 1161ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumFailedVersion);
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 (39)
61if (capacity < 0) ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.capacity, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 117ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.value, ExceptionResource.ArgumentOutOfRange_SmallCapacity); 278ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 280ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 282ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidOffLen); 369ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_RankMultiDimNotSupported); 378ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidArrayType); 388ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidOffLen); 463ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.startIndex, ExceptionResource.ArgumentOutOfRange_Index); 467ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_Count); 521ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.startIndex, ExceptionResource.ArgumentOutOfRange_Index); 527ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.startIndex, ExceptionResource.ArgumentOutOfRange_Index); 533ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_Count); 561ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumFailedVersion); 584ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 588ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 592ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidOffLen); 637ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_Index); 655ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_Index); 657if (count <0 || index > _size - count) ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_Count); 672ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_ListInsert); 707ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_Index); 777ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_Index); 795ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 799ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 810ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_BiggerThanCollection); 814ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_BiggerThanCollection); 894ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 898ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 902ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidOffLen); 931ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 935ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 939ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidOffLen); 969ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 973ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 977ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidOffLen); 1173ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumFailedVersion); 1190ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumOpCantHappen); 1198ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumFailedVersion);
system\collections\objectmodel\collection.cs (17)
50ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 63ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 72ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 96ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 100ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_ListInsert); 108ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 119ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 180ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_RankMultiDimNotSupported); 184ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_NonZeroLowerBound); 188ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 192ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_ArrayPlusOffTooSmall); 209ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidArrayType); 218ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidArrayType); 228ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidArrayType); 271ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 301ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 316ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection);
system\collections\objectmodel\keyedcollection.cs (3)
44ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.dictionaryCreationThreshold, ExceptionResource.ArgumentOutOfRange_InvalidThreshold); 138ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_ItemNotExist); 211ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_AddingDuplicate);
system\collections\objectmodel\readonlycollection.cs (19)
71ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 76ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 80ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 84ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 88ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 93ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 125ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_RankMultiDimNotSupported); 129ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_NonZeroLowerBound); 133ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.arrayIndex, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 137ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_ArrayPlusOffTooSmall); 154ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidArrayType); 163ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidArrayType); 173ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidArrayType); 189ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 194ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 199ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 223ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 227ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 231ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection);
system\collections\objectmodel\readonlydictionary.cs (29)
98ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 102ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 111ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 136ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 140ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 144ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 176ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 180ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 210ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 227ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 237ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_RankMultiDimNotSupported); 241ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_NonZeroLowerBound); 245ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 249ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_ArrayPlusOffTooSmall); 266ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidArrayType); 275ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidArrayType); 373ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 378ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 401ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 472ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 477ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 500ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 565ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_RankMultiDimNotSupported); 569ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_NonZeroLowerBound); 573ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.arrayIndex, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 577ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_ArrayPlusOffTooSmall); 601ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidArrayType); 610ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidArrayType); 619ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidArrayType);
system\nullable.cs (1)
48ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_NoValue);
system\runtime\compilerservices\ConditionalWeakTable.cs (1)
146ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_AddingDuplicate);
system\runtime\interopservices\windowsruntime\iteratortoenumeratoradapter.cs (5)
130ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumNotStarted); 133ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumEnded); 144ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumNotStarted); 147ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumEnded); 194ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumFailedVersion);
system\throwhelper.cs (57)
56ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_Index); 71internal static void ThrowArgumentException(ExceptionResource resource) { 75internal static void ThrowArgumentException(ExceptionResource resource, ExceptionArgument argument) { 87internal static void ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) { 98internal static void ThrowInvalidOperationException(ExceptionResource resource) { 102internal static void ThrowSerializationException(ExceptionResource resource) { 106internal static void ThrowSecurityException(ExceptionResource resource) { 110internal static void ThrowNotSupportedException(ExceptionResource resource) { 114internal static void ThrowUnauthorizedAccessException(ExceptionResource resource) { 118internal static void ThrowObjectDisposedException(string objectName, ExceptionResource resource) { 243internal static string GetResourceName(ExceptionResource resource) { 247case ExceptionResource.Argument_ImplementIComparable: 251case ExceptionResource.Argument_AddingDuplicate: 255case ExceptionResource.ArgumentOutOfRange_BiggerThanCollection: 259case ExceptionResource.ArgumentOutOfRange_Count: 263case ExceptionResource.ArgumentOutOfRange_Index: 267case ExceptionResource.ArgumentOutOfRange_InvalidThreshold: 271case ExceptionResource.ArgumentOutOfRange_ListInsert: 275case ExceptionResource.ArgumentOutOfRange_NeedNonNegNum: 279case ExceptionResource.ArgumentOutOfRange_SmallCapacity: 283case ExceptionResource.Arg_ArrayPlusOffTooSmall: 287case ExceptionResource.Arg_RankMultiDimNotSupported: 291case ExceptionResource.Arg_NonZeroLowerBound: 295case ExceptionResource.Argument_InvalidArrayType: 299case ExceptionResource.Argument_InvalidOffLen: 303case ExceptionResource.Argument_ItemNotExist: 307case ExceptionResource.InvalidOperation_CannotRemoveFromStackOrQueue: 311case ExceptionResource.InvalidOperation_EmptyQueue: 315case ExceptionResource.InvalidOperation_EnumOpCantHappen: 319case ExceptionResource.InvalidOperation_EnumFailedVersion: 323case ExceptionResource.InvalidOperation_EmptyStack: 327case ExceptionResource.InvalidOperation_EnumNotStarted: 331case ExceptionResource.InvalidOperation_EnumEnded: 335case ExceptionResource.NotSupported_KeyCollectionSet: 339case ExceptionResource.NotSupported_ReadOnlyCollection: 343case ExceptionResource.NotSupported_ValueCollectionSet: 348case ExceptionResource.NotSupported_SortedListNestedWrite: 353case ExceptionResource.Serialization_InvalidOnDeser: 357case ExceptionResource.Serialization_MissingKeys: 361case ExceptionResource.Serialization_NullKey: 365case ExceptionResource.Argument_InvalidType: 369case ExceptionResource.Argument_InvalidArgumentForComparison: 373case ExceptionResource.InvalidOperation_NoValue: 377case ExceptionResource.InvalidOperation_RegRemoveSubKey: 381case ExceptionResource.Arg_RegSubKeyAbsent: 385case ExceptionResource.Arg_RegSubKeyValueAbsent: 389case ExceptionResource.Arg_RegKeyDelHive: 393case ExceptionResource.Security_RegistryPermission: 397case ExceptionResource.Arg_RegSetStrArrNull: 401case ExceptionResource.Arg_RegSetMismatchedKind: 405case ExceptionResource.UnauthorizedAccess_RegistryNoWrite: 409case ExceptionResource.ObjectDisposed_RegKeyClosed: 413case ExceptionResource.Arg_RegKeyStrLenBug: 417case ExceptionResource.Argument_InvalidRegistryKeyPermissionCheck: 421case ExceptionResource.NotSupported_InComparableType: 425case ExceptionResource.Argument_InvalidRegistryOptionsCheck: 429case ExceptionResource.Argument_InvalidRegistryViewCheck: