3 types derived from ArithmeticException
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\DivideByZeroException.cs (1)
15public class DivideByZeroException : ArithmeticException
src\libraries\System.Private.CoreLib\src\System\NotFiniteNumberException.cs (1)
12public class NotFiniteNumberException : ArithmeticException
src\libraries\System.Private.CoreLib\src\System\OverflowException.cs (1)
15public class OverflowException : ArithmeticException
10 instantiations of ArithmeticException
Microsoft.Build.Engine.UnitTests (1)
BackEnd\SdkResolverService_Tests.cs (1)
988throw new ArithmeticException("EXMESSAGE");
Microsoft.ML.TimeSeries (1)
SrCnnEntireAnomalyDetector.cs (1)
1016throw new ArithmeticException("Not finite unit value");
PresentationCore (2)
src\Microsoft.DotNet.Wpf\src\Common\Graphics\wgx_render.cs (2)
911return new System.ArithmeticException(SR.Image_SingularMatrix, exceptionForHR); 942return new System.ArithmeticException(SR.Geometry_BadNumber, exceptionForHR);
System.Numerics.Tensors (1)
System\ThrowHelper.cs (1)
274throw new ArithmeticException(SR.Arithmetic_NaN);
System.Private.CoreLib (5)
src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\ExceptionHandling.cs (1)
318ExceptionIDs.Arithmetic => new ArithmeticException(),
src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
1728throw new ArithmeticException(SR.Arithmetic_NaN);
src\libraries\System.Private.CoreLib\src\System\Math.cs (2)
1440throw new ArithmeticException(SR.Arithmetic_NaN); 1490throw new ArithmeticException(SR.Arithmetic_NaN);
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (1)
65throw new ArithmeticException(message);
6 references to ArithmeticException
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
51[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ArithmeticException))]
netstandard (1)
netstandard.cs (1)
44[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ArithmeticException))]
System.Private.Windows.Core (1)
System\Private\Windows\Nrbf\SerializationRecordExtensions.cs (1)
31catch (Exception ex) when (ex is ArgumentException or InvalidCastException or ArithmeticException or IOException or TargetInvocationException)
System.Resources.Extensions (2)
System\Resources\Extensions\BinaryFormat\BinaryFormattedObject.cs (2)
51catch (Exception ex) when (ex is ArgumentException or InvalidCastException or ArithmeticException or IOException) 72catch (Exception ex) when (ex is ArgumentException or InvalidCastException or ArithmeticException or IOException)
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net10.0\System.Runtime.Forwards.cs (1)
39[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ArithmeticException))]