2002-08-21 Dietmar Maurer <dietmar@ximian.com>
[mono.git] / mcs / class / corlib / System / NotFiniteNumberException.cs
index 26bbc34fddcd0fcbd9f44d68f6431513a951f748..dd3cc054b48d2311a3820162068ab81fd9fccbc5 100644 (file)
@@ -12,6 +12,7 @@ using System.Runtime.Serialization;
 
 namespace System {
 
+       [Serializable]
        public class NotFiniteNumberException : ArithmeticException {
                double offending_number;
 
@@ -49,7 +50,7 @@ namespace System {
                }               
 
                // Properties
-               public virtual double OffendingNumber {
+               public double OffendingNumber {
                        get {
                                return offending_number;
                        }