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