74 references to ExceptionResource
Microsoft.Build.Framework (74)
ArraySortHelper.cs (7)
43
ThrowHelper.ThrowInvalidOperationException(
ExceptionResource
.InvalidOperation_IComparerFailed, e);
56
ThrowHelper.ThrowInvalidOperationException(
ExceptionResource
.InvalidOperation_IComparerFailed, e);
76
ThrowHelper.ThrowInvalidOperationException(
ExceptionResource
.InvalidOperation_IComparerFailed, e);
332
ThrowHelper.ThrowInvalidOperationException(
ExceptionResource
.InvalidOperation_IComparerFailed, e);
353
ThrowHelper.ThrowInvalidOperationException(
ExceptionResource
.InvalidOperation_IComparerFailed, e);
683
ThrowHelper.ThrowInvalidOperationException(
ExceptionResource
.InvalidOperation_IComparerFailed, e);
938
ThrowHelper.ThrowInvalidOperationException(
ExceptionResource
.InvalidOperation_IComparerFailed, e);
SegmentedArray.cs (3)
188
ThrowHelper.ThrowArgumentException(
ExceptionResource
.Argument_InvalidOffLen);
339
ThrowHelper.ThrowArgumentException(
ExceptionResource
.Argument_InvalidOffLen);
382
ThrowHelper.ThrowArgumentException(
ExceptionResource
.Argument_InvalidOffLen);
SegmentedDictionary`2.cs (18)
307
ThrowHelper.ThrowArgumentException(
ExceptionResource
.Arg_ArrayPlusOffTooSmall);
854
ThrowHelper.ThrowArgumentException(
ExceptionResource
.Arg_RankMultiDimNotSupported);
859
ThrowHelper.ThrowArgumentException(
ExceptionResource
.Arg_NonZeroLowerBound);
869
ThrowHelper.ThrowArgumentException(
ExceptionResource
.Arg_ArrayPlusOffTooSmall);
1289
ThrowHelper.ThrowArgumentException(
ExceptionResource
.Arg_ArrayPlusOffTooSmall);
1306
=> ThrowHelper.ThrowNotSupportedException(
ExceptionResource
.NotSupported_KeyCollectionSet);
1309
=> ThrowHelper.ThrowNotSupportedException(
ExceptionResource
.NotSupported_KeyCollectionSet);
1316
ThrowHelper.ThrowNotSupportedException(
ExceptionResource
.NotSupported_KeyCollectionSet);
1335
ThrowHelper.ThrowArgumentException(
ExceptionResource
.Arg_RankMultiDimNotSupported);
1340
ThrowHelper.ThrowArgumentException(
ExceptionResource
.Arg_NonZeroLowerBound);
1350
ThrowHelper.ThrowArgumentException(
ExceptionResource
.Arg_ArrayPlusOffTooSmall);
1489
ThrowHelper.ThrowArgumentException(
ExceptionResource
.Arg_ArrayPlusOffTooSmall);
1506
=> ThrowHelper.ThrowNotSupportedException(
ExceptionResource
.NotSupported_ValueCollectionSet);
1510
ThrowHelper.ThrowNotSupportedException(
ExceptionResource
.NotSupported_ValueCollectionSet);
1515
=> ThrowHelper.ThrowNotSupportedException(
ExceptionResource
.NotSupported_ValueCollectionSet);
1535
ThrowHelper.ThrowArgumentException(
ExceptionResource
.Arg_RankMultiDimNotSupported);
1540
ThrowHelper.ThrowArgumentException(
ExceptionResource
.Arg_NonZeroLowerBound);
1550
ThrowHelper.ThrowArgumentException(
ExceptionResource
.Arg_ArrayPlusOffTooSmall);
SegmentedList`1.cs (21)
59
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.capacity,
ExceptionResource
.ArgumentOutOfRange_NeedNonNegNum);
129
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.value,
ExceptionResource
.ArgumentOutOfRange_SmallCapacity);
298
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count,
ExceptionResource
.ArgumentOutOfRange_NeedNonNegNum);
300
ThrowHelper.ThrowArgumentException(
ExceptionResource
.Argument_InvalidOffLen);
385
ThrowHelper.ThrowArgumentException(
ExceptionResource
.Arg_RankMultiDimNotSupported);
407
ThrowHelper.ThrowArgumentException(
ExceptionResource
.Argument_InvalidOffLen);
619
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count,
ExceptionResource
.ArgumentOutOfRange_NeedNonNegNum);
624
ThrowHelper.ThrowArgumentException(
ExceptionResource
.Argument_InvalidOffLen);
709
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index,
ExceptionResource
.ArgumentOutOfRange_ListInsert);
861
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count,
ExceptionResource
.ArgumentOutOfRange_NeedNonNegNum);
866
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index,
ExceptionResource
.ArgumentOutOfRange_BiggerThanCollection);
871
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count,
ExceptionResource
.ArgumentOutOfRange_BiggerThanCollection);
892
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count,
ExceptionResource
.ArgumentOutOfRange_NeedNonNegNum);
897
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index,
ExceptionResource
.ArgumentOutOfRange_BiggerThanCollection);
902
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count,
ExceptionResource
.ArgumentOutOfRange_BiggerThanCollection);
1006
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count,
ExceptionResource
.ArgumentOutOfRange_NeedNonNegNum);
1010
ThrowHelper.ThrowArgumentException(
ExceptionResource
.Argument_InvalidOffLen);
1048
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count,
ExceptionResource
.ArgumentOutOfRange_NeedNonNegNum);
1052
ThrowHelper.ThrowArgumentException(
ExceptionResource
.Argument_InvalidOffLen);
1088
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count,
ExceptionResource
.ArgumentOutOfRange_NeedNonNegNum);
1092
ThrowHelper.ThrowArgumentException(
ExceptionResource
.Argument_InvalidOffLen);
ThrowHelper.cs (25)
63
ExceptionResource
.ArgumentOutOfRange_Index);
76
ExceptionResource
.ArgumentOutOfRange_NeedNonNegNum);
83
ExceptionResource
.ArgumentOutOfRange_NeedNonNegNum);
90
ExceptionResource
.ArgumentOutOfRange_Index);
97
ExceptionResource
.ArgumentOutOfRange_Count);
134
internal static void ThrowArgumentException(
ExceptionResource
resource)
157
internal static void ThrowArgumentOutOfRangeException(ExceptionArgument argument,
ExceptionResource
resource)
163
internal static void ThrowInvalidOperationException(
ExceptionResource
resource, Exception e)
169
internal static void ThrowNotSupportedException(
ExceptionResource
resource)
198
private static ArgumentException GetArgumentException(
ExceptionResource
resource)
218
private static ArgumentOutOfRangeException GetArgumentOutOfRangeException(ExceptionArgument argument,
ExceptionResource
resource)
278
private static string GetResourceString(
ExceptionResource
resource)
282
case
ExceptionResource
.ArgumentOutOfRange_Index:
284
case
ExceptionResource
.ArgumentOutOfRange_Count:
286
case
ExceptionResource
.Arg_ArrayPlusOffTooSmall:
288
case
ExceptionResource
.Arg_RankMultiDimNotSupported:
290
case
ExceptionResource
.Arg_NonZeroLowerBound:
292
case
ExceptionResource
.ArgumentOutOfRange_ListInsert:
294
case
ExceptionResource
.ArgumentOutOfRange_NeedNonNegNum:
296
case
ExceptionResource
.ArgumentOutOfRange_SmallCapacity:
298
case
ExceptionResource
.Argument_InvalidOffLen:
300
case
ExceptionResource
.ArgumentOutOfRange_BiggerThanCollection:
302
case
ExceptionResource
.NotSupported_KeyCollectionSet:
304
case
ExceptionResource
.NotSupported_ValueCollectionSet:
306
case
ExceptionResource
.InvalidOperation_IComparerFailed: