50 references to SR
Microsoft.Build.Framework (50)
HashHelpers.cs (1)
63
throw new ArgumentException(
SR
.Arg_HTCapacityOverflow);
ImmutableSegmentedList`1.cs (2)
473
throw new ArgumentException(
SR
.CannotFindOldValue, nameof(oldValue));
487
throw new ArgumentException(
SR
.CannotFindOldValue, nameof(oldValue));
SegmentedArray.cs (15)
34
throw new ArgumentException(
SR
.Arg_LongerThanSrcArray, nameof(sourceArray));
36
throw new ArgumentException(
SR
.Arg_LongerThanDestArray, nameof(destinationArray));
54
throw new ArgumentException(
SR
.Arg_LongerThanSrcArray, nameof(sourceArray));
56
throw new ArgumentException(
SR
.Arg_LongerThanDestArray, nameof(destinationArray));
74
throw new ArgumentOutOfRangeException(nameof(length),
SR
.ArgumentOutOfRange_NeedNonNegNum);
76
throw new ArgumentOutOfRangeException(nameof(sourceIndex),
SR
.ArgumentOutOfRange_ArrayLB);
78
throw new ArgumentOutOfRangeException(nameof(destinationIndex),
SR
.ArgumentOutOfRange_ArrayLB);
80
throw new ArgumentException(
SR
.Arg_LongerThanSrcArray, nameof(sourceArray));
82
throw new ArgumentException(
SR
.Arg_LongerThanDestArray, nameof(destinationArray));
136
throw new RankException(
SR
.Rank_MustMatch);
139
throw new ArgumentOutOfRangeException(nameof(length),
SR
.ArgumentOutOfRange_NeedNonNegNum);
141
throw new ArgumentOutOfRangeException(nameof(sourceIndex),
SR
.ArgumentOutOfRange_ArrayLB);
145
throw new ArgumentOutOfRangeException(nameof(destinationIndex),
SR
.ArgumentOutOfRange_ArrayLB);
149
throw new ArgumentException(
SR
.Arg_LongerThanSrcArray, nameof(sourceArray));
151
throw new ArgumentException(
SR
.Arg_LongerThanDestArray, nameof(destinationArray));
SegmentedArray`1.cs (10)
194
throw new NotSupportedException(
SR
.NotSupported_FixedSizeCollection);
199
throw new NotSupportedException(
SR
.NotSupported_FixedSizeCollection);
215
throw new NotSupportedException(
SR
.NotSupported_FixedSizeCollection);
272
throw new NotSupportedException(
SR
.NotSupported_FixedSizeCollection);
277
throw new NotSupportedException(
SR
.NotSupported_FixedSizeCollection);
282
throw new NotSupportedException(
SR
.NotSupported_FixedSizeCollection);
287
throw new NotSupportedException(
SR
.NotSupported_FixedSizeCollection);
292
throw new NotSupportedException(
SR
.NotSupported_FixedSizeCollection);
297
throw new NotSupportedException(
SR
.NotSupported_FixedSizeCollection);
316
throw new ArgumentException(
SR
.ArgumentException_OtherNotArrayOfCorrectLength, nameof(other));
ThrowHelper.cs (22)
69
throw new ArgumentException(string.Format(
SR
.Arg_BogusIComparer, comparer));
116
return new ArgumentException(string.Format(
SR
.Argument_AddingDuplicateWithKey, key));
177
throw new ArgumentException(
SR
.Argument_InvalidArrayType);
183
throw new InvalidOperationException(
SR
.InvalidOperation_EnumFailedVersion);
189
throw new InvalidOperationException(
SR
.InvalidOperation_EnumOpCantHappen);
195
throw new InvalidOperationException(
SR
.InvalidOperation_ConcurrentOperationsNotSupported);
205
return new ArgumentException(string.Format(
SR
.Arg_WrongType, key, targetType), nameof(key));
210
return new ArgumentException(string.Format(
SR
.Arg_WrongType, value, targetType), nameof(value));
215
return new KeyNotFoundException(string.Format(
SR
.Arg_KeyNotFoundWithKey, key));
283
return
SR
.ArgumentOutOfRange_Index;
285
return
SR
.ArgumentOutOfRange_Count;
287
return
SR
.Arg_ArrayPlusOffTooSmall;
289
return
SR
.Arg_RankMultiDimNotSupported;
291
return
SR
.Arg_NonZeroLowerBound;
293
return
SR
.ArgumentOutOfRange_ListInsert;
295
return
SR
.ArgumentOutOfRange_NeedNonNegNum;
297
return
SR
.ArgumentOutOfRange_SmallCapacity;
299
return
SR
.Argument_InvalidOffLen;
301
return
SR
.ArgumentOutOfRange_BiggerThanCollection;
303
return
SR
.NotSupported_KeyCollectionSet;
305
return
SR
.NotSupported_ValueCollectionSet;
307
return
SR
.InvalidOperation_IComparerFailed;