149 references to ExceptionResource
System (149)
compmod\system\collections\generic\linkedlist.cs (1)
510ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumOpCantHappen);
compmod\system\collections\generic\queue.cs (16)
61ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.capacity, ExceptionResource.ArgumentOutOfRange_NeedNonNegNumRequired); 136ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.arrayIndex, ExceptionResource.ArgumentOutOfRange_Index); 141ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidOffLen); 162ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_RankMultiDimNotSupported); 166ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_NonZeroLowerBound); 171ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_Index); 175ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidOffLen); 191ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidArrayType); 239ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EmptyQueue); 255ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EmptyQueue); 369if (_version != _q._version) ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumFailedVersion); 392ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumNotStarted); 394ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumEnded); 405ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumNotStarted); 407ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumEnded); 414if (_version != _q._version) ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumFailedVersion);
compmod\system\collections\generic\sorteddictionary.cs (27)
400ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumOpCantHappen); 415ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumOpCantHappen); 425ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumOpCantHappen); 435ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumOpCantHappen); 480ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_ArrayPlusOffTooSmall); 492ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_RankMultiDimNotSupported); 496ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_NonZeroLowerBound); 500ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.arrayIndex, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 504ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_ArrayPlusOffTooSmall); 514ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidArrayType); 521ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidArrayType); 535ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_KeyCollectionSet); 539ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_KeyCollectionSet); 547ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_KeyCollectionSet); 584ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumOpCantHappen); 635ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_ArrayPlusOffTooSmall); 647ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_RankMultiDimNotSupported); 651ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_NonZeroLowerBound); 655ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.arrayIndex, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 659ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_ArrayPlusOffTooSmall); 669ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidArrayType); 676ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidArrayType); 690ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ValueCollectionSet); 694ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ValueCollectionSet); 702ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ValueCollectionSet); 739ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumOpCantHappen); 805ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_AddingDuplicate);
compmod\system\collections\generic\sortedlist.cs (42)
108ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.capacity, ExceptionResource.ArgumentOutOfRange_NeedNonNegNumRequired); 181ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_AddingDuplicate); 219ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.value, ExceptionResource.ArgumentOutOfRange_SmallCapacity); 412ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.arrayIndex, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 416ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_ArrayPlusOffTooSmall); 431ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_RankMultiDimNotSupported); 435ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_NonZeroLowerBound); 439ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.arrayIndex, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 443ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_ArrayPlusOffTooSmall); 455ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidArrayType); 464ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidArrayType); 489ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_Index); 515if (index < 0 || index >= _size) ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_Index); 629if (index < 0 || index >= _size) ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_Index); 718ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumOpCantHappen); 726if (version != _sortedList.version) ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumFailedVersion); 744ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumOpCantHappen); 760ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumOpCantHappen); 774ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumOpCantHappen); 783ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumFailedVersion); 814ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumFailedVersion); 837ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumOpCantHappen); 846ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumFailedVersion); 875ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumFailedVersion); 898ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumOpCantHappen); 907ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumFailedVersion); 944ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_SortedListNestedWrite); 948ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_SortedListNestedWrite); 962ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_RankMultiDimNotSupported); 969ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidArrayType); 974ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_SortedListNestedWrite); 982ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_KeyCollectionSet); 1005ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_SortedListNestedWrite); 1010ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_SortedListNestedWrite); 1044ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_SortedListNestedWrite); 1048ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_SortedListNestedWrite); 1062ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_RankMultiDimNotSupported); 1069ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidArrayType); 1074ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_SortedListNestedWrite); 1082ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_SortedListNestedWrite); 1099ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_SortedListNestedWrite); 1104ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_SortedListNestedWrite);
compmod\system\collections\generic\sortedset.cs (16)
624ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_RankMultiDimNotSupported); 628ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_NonZeroLowerBound); 632ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.arrayIndex, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 636ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_ArrayPlusOffTooSmall); 645ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidArrayType); 651ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidArrayType); 2025ThrowHelper.ThrowSerializationException(ExceptionResource.Serialization_InvalidOnDeser); 2040ThrowHelper.ThrowSerializationException(ExceptionResource.Serialization_MissingValues); 2053ThrowHelper.ThrowSerializationException(ExceptionResource.Serialization_MismatchedCount); 2102ThrowHelper.ThrowSerializationException(ExceptionResource.Serialization_InvalidOnDeser); 2112ThrowHelper.ThrowSerializationException(ExceptionResource.Serialization_MissingValues); 2122ThrowHelper.ThrowSerializationException(ExceptionResource.Serialization_MismatchedCount); 2237ThrowHelper.ThrowSerializationException(ExceptionResource.Serialization_InvalidOnDeser); 2287ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumFailedVersion); 2328ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumOpCantHappen); 2343ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumFailedVersion);
compmod\system\collections\generic\stack.cs (16)
56ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.capacity, ExceptionResource.ArgumentOutOfRange_NeedNonNegNumRequired); 143ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.arrayIndex, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 147ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidOffLen); 160ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_RankMultiDimNotSupported); 164ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_NonZeroLowerBound); 168ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.arrayIndex, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 172ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidOffLen); 180ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidArrayType); 215ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EmptyStack); 224ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EmptyStack); 285if (_version != _stack._version) ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumFailedVersion); 308if (_index == -2) ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumNotStarted); 309if (_index == -1) ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumEnded); 316if (_index == -2) ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumNotStarted); 317if (_index == -1) ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumEnded); 323if (_version != _stack._version) ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumFailedVersion);
compmod\system\collections\generic\throwhelper.cs (31)
62internal static void ThrowArgumentException(ExceptionResource resource) { 74internal static void ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) { 78internal static void ThrowInvalidOperationException(ExceptionResource resource) { 83internal static void ThrowSerializationException(ExceptionResource resource) { 88internal static void ThrowNotSupportedException(ExceptionResource resource) { 185internal static string GetResourceName(ExceptionResource resource) { 189case ExceptionResource.Argument_ImplementIComparable: 193case ExceptionResource.Argument_AddingDuplicate: 197case ExceptionResource.ArgumentOutOfRange_Index: 201case ExceptionResource.ArgumentOutOfRange_NeedNonNegNum: 205case ExceptionResource.ArgumentOutOfRange_NeedNonNegNumRequired: 209case ExceptionResource.ArgumentOutOfRange_SmallCapacity: 213case ExceptionResource.Arg_ArrayPlusOffTooSmall: 217case ExceptionResource.Arg_RankMultiDimNotSupported: 221case ExceptionResource.Arg_NonZeroLowerBound: 225case ExceptionResource.Argument_InvalidArrayType: 229case ExceptionResource.Argument_InvalidOffLen: 233case ExceptionResource.InvalidOperation_CannotRemoveFromStackOrQueue: 237case ExceptionResource.InvalidOperation_EmptyCollection: 241case ExceptionResource.InvalidOperation_EmptyQueue: 245case ExceptionResource.InvalidOperation_EnumOpCantHappen: 249case ExceptionResource.InvalidOperation_EnumFailedVersion: 253case ExceptionResource.InvalidOperation_EmptyStack: 257case ExceptionResource.InvalidOperation_EnumNotStarted: 261case ExceptionResource.InvalidOperation_EnumEnded: 265case ExceptionResource.NotSupported_KeyCollectionSet: 269case ExceptionResource.NotSupported_SortedListNestedWrite: 274case ExceptionResource.Serialization_InvalidOnDeser: 278case ExceptionResource.Serialization_MissingValues: 282case ExceptionResource.Serialization_MismatchedCount: 287case ExceptionResource.NotSupported_ValueCollectionSet: