14 references to ArithmeticException
Microsoft.Build.Engine.UnitTests (1)
BackEnd\SdkResolverService_Tests.cs (1)
988
throw new
ArithmeticException
("EXMESSAGE");
Microsoft.ML.TimeSeries (1)
SrCnnEntireAnomalyDetector.cs (1)
1016
throw new
ArithmeticException
("Not finite unit value");
System.Numerics.Tensors (1)
System\ThrowHelper.cs (1)
274
throw new
ArithmeticException
(SR.Arithmetic_NaN);
System.Private.CoreLib (11)
src\libraries\System.Private.CoreLib\src\System\DivideByZeroException.cs (2)
18
:
base
(SR.Arg_DivideByZero)
24
:
base
(message ?? SR.Arg_DivideByZero)
src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
1728
throw new
ArithmeticException
(SR.Arithmetic_NaN);
src\libraries\System.Private.CoreLib\src\System\Math.cs (2)
1440
throw new
ArithmeticException
(SR.Arithmetic_NaN);
1490
throw new
ArithmeticException
(SR.Arithmetic_NaN);
src\libraries\System.Private.CoreLib\src\System\NotFiniteNumberException.cs (3)
17
:
base
(SR.Arg_NotFiniteNumberException)
30
:
base
(message ?? SR.Arg_NotFiniteNumberException)
37
:
base
(message ?? SR.Arg_NotFiniteNumberException)
src\libraries\System.Private.CoreLib\src\System\OverflowException.cs (2)
18
:
base
(SR.Arg_OverflowException)
24
:
base
(message ?? SR.Arg_OverflowException)
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (1)
65
throw new
ArithmeticException
(message);