79 references to ExceptionResource
Microsoft.CodeAnalysis.Collections.Package (79)
Internal\ArraySortHelper.cs (7)
45ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_IComparerFailed, e); 58ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_IComparerFailed, e); 78ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_IComparerFailed, e); 335ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_IComparerFailed, e); 356ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_IComparerFailed, e); 685ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_IComparerFailed, e); 938ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_IComparerFailed, e);
Internal\ThrowHelper.cs (28)
63ExceptionResource.ArgumentOutOfRange_IndexMustBeLess); 70ExceptionResource.ArgumentOutOfRange_IndexMustBeLessOrEqual); 83ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 90ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 97ExceptionResource.ArgumentOutOfRange_IndexMustBeLessOrEqual); 104ExceptionResource.ArgumentOutOfRange_IndexMustBeLess); 111ExceptionResource.ArgumentOutOfRange_Count); 148internal static void ThrowArgumentException(ExceptionResource resource) 171internal static void ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) 177internal static void ThrowInvalidOperationException(ExceptionResource resource, Exception e) 183internal static void ThrowNotSupportedException(ExceptionResource resource) 212private static ArgumentException GetArgumentException(ExceptionResource resource) 232private static ArgumentOutOfRangeException GetArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) 296private static string GetResourceString(ExceptionResource resource) 300case ExceptionResource.ArgumentOutOfRange_IndexMustBeLessOrEqual: 302case ExceptionResource.ArgumentOutOfRange_IndexMustBeLess: 304case ExceptionResource.ArgumentOutOfRange_Count: 306case ExceptionResource.Arg_ArrayPlusOffTooSmall: 308case ExceptionResource.Arg_RankMultiDimNotSupported: 310case ExceptionResource.Arg_NonZeroLowerBound: 312case ExceptionResource.ArgumentOutOfRange_ListInsert: 314case ExceptionResource.ArgumentOutOfRange_NeedNonNegNum: 316case ExceptionResource.ArgumentOutOfRange_SmallCapacity: 318case ExceptionResource.Argument_InvalidOffLen: 320case ExceptionResource.ArgumentOutOfRange_BiggerThanCollection: 322case ExceptionResource.NotSupported_KeyCollectionSet: 324case ExceptionResource.NotSupported_ValueCollectionSet: 326case ExceptionResource.InvalidOperation_IComparerFailed:
SegmentedArray.cs (3)
194ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidOffLen); 345ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidOffLen); 388ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidOffLen);
SegmentedDictionary`2.cs (18)
370ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_ArrayPlusOffTooSmall); 882ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_RankMultiDimNotSupported); 887ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_NonZeroLowerBound); 897ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_ArrayPlusOffTooSmall); 1325ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_ArrayPlusOffTooSmall); 1342=> ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_KeyCollectionSet); 1345=> ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_KeyCollectionSet); 1352ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_KeyCollectionSet); 1377ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_RankMultiDimNotSupported); 1382ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_NonZeroLowerBound); 1392ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_ArrayPlusOffTooSmall); 1533ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_ArrayPlusOffTooSmall); 1550=> ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ValueCollectionSet); 1554ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ValueCollectionSet); 1559=> ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ValueCollectionSet); 1585ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_RankMultiDimNotSupported); 1590ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_NonZeroLowerBound); 1600ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_ArrayPlusOffTooSmall);
SegmentedHashSet`1.cs (1)
816ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_ArrayPlusOffTooSmall);
SegmentedList`1.cs (22)
61ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.capacity, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 131ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.value, ExceptionResource.ArgumentOutOfRange_SmallCapacity); 369ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 371ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidOffLen); 456ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_RankMultiDimNotSupported); 478ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidOffLen); 502ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.capacity, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 754ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 759ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidOffLen); 858ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_ListInsert); 1013ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 1018ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_BiggerThanCollection); 1023ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_BiggerThanCollection); 1044ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 1049ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_BiggerThanCollection); 1054ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_BiggerThanCollection); 1158ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 1162ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidOffLen); 1200ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 1204ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidOffLen); 1240ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 1244ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidOffLen);