24 references to SR
System.Runtime.Numerics (24)
System\Number.BigInteger.cs (5)
39
? new FormatException(
SR
.Overflow_ParseBigInteger)
40
: new OverflowException(
SR
.Overflow_ParseBigInteger);
50
e = new ArgumentException((style & InvalidNumberStyles) != 0 ?
SR
.Argument_InvalidNumberStyles :
SR
.Argument_InvalidHexBinaryStyle, nameof(style));
733
throw new FormatException(
SR
.Format_TooLarge);
System\Numerics\BigInteger.cs (15)
166
throw new OverflowException(double.IsInfinity(value) ?
SR
.Overflow_BigIntInfinity :
SR
.Overflow_NotANumber);
1415
throw new ArgumentException(
SR
.Argument_MustBeBigInt, nameof(obj));
1563
throw new OverflowException(
SR
.Overflow_Negative_Unsigned);
2254
throw new OverflowException(
SR
.Overflow_Int32);
2265
throw new OverflowException(
SR
.Overflow_Int32);
2282
throw new OverflowException(
SR
.Overflow_Int64);
2305
throw new OverflowException(
SR
.Overflow_Int64);
2323
throw new OverflowException(
SR
.Overflow_Int128);
2354
throw new OverflowException(
SR
.Overflow_Int128);
2406
: throw new OverflowException(
SR
.Overflow_UInt32);
2422
throw new OverflowException(
SR
.Overflow_UInt64);
2451
throw new OverflowException(
SR
.Overflow_UInt128);
4072
throw new ArgumentException(
SR
.Format(
SR
.Argument_MinMaxValue, min, max));
System\Numerics\Complex.Generic.cs (2)
2031
throw new ArgumentException(
SR
.Argument_InvalidNumberStyles, nameof(style));
2034
throw new ArgumentException(
SR
.Arg_HexStyleNotSupported);
System\ThrowHelper.cs (2)
27
throw new ArgumentOutOfRangeException("value",
SR
.ArgumentOutOfRange_NeedNonNegNum);
33
throw new FormatException(
SR
.Argument_BadFormatSpecifier);