summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/DivideByZeroException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mscorlib/src/System/DivideByZeroException.cs')
-rw-r--r--src/mscorlib/src/System/DivideByZeroException.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mscorlib/src/System/DivideByZeroException.cs b/src/mscorlib/src/System/DivideByZeroException.cs
index b975e81df6..a69b481ac4 100644
--- a/src/mscorlib/src/System/DivideByZeroException.cs
+++ b/src/mscorlib/src/System/DivideByZeroException.cs
@@ -16,7 +16,9 @@ namespace System {
using System;
using System.Runtime.Serialization;
[System.Runtime.InteropServices.ComVisible(true)]
+#if FEATURE_SERIALIZATION
[Serializable]
+#endif
public class DivideByZeroException : ArithmeticException {
public DivideByZeroException()
: base(Environment.GetResourceString("Arg_DivideByZero")) {