17 references to ArithmeticException
Microsoft.ML.TimeSeries (1)
SrCnnEntireAnomalyDetector.cs (1)
1016throw new ArithmeticException("Not finite unit value");
System.Numerics.Tensors (1)
System\ThrowHelper.cs (1)
266throw new ArithmeticException(SR.Arithmetic_NaN);
System.Private.CoreLib (13)
src\runtime\src\libraries\System.Private.CoreLib\src\System\DivideByZeroException.cs (2)
18: base(SR.Arg_DivideByZero) 24: base(message ?? SR.Arg_DivideByZero)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
1778throw new ArithmeticException(SR.Arithmetic_NaN);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Math.cs (2)
1461throw new ArithmeticException(SR.Arithmetic_NaN); 1511throw new ArithmeticException(SR.Arithmetic_NaN);
src\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\Number.DecimalIeee754.cs (1)
3407throw new ArithmeticException(SR.Arithmetic_NaN);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (1)
1367throw new ArithmeticException(SR.Arithmetic_NaN);
src\runtime\src\libraries\System.Private.CoreLib\src\System\OverflowException.cs (2)
18: base(SR.Arg_OverflowException) 24: base(message ?? SR.Arg_OverflowException)
src\runtime\src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (1)
65throw new ArithmeticException(message);
System.Runtime.InteropServices.JavaScript (2)
System\Runtime\InteropServices\JavaScript\JSHostImplementation.CoreCLR.cs (2)
26throw new ArithmeticException($"BindAssemblyExports: __GeneratedInitializer type not found in assembly '{assemblyName}'"); 31throw new ArithmeticException($"BindAssemblyExports: __Register_ method not found in type '{generatedInitializerType.FullName}' in assembly '{assemblyName}'");