diff options
Diffstat (limited to 'mcs/class/System/System.IO/InvalidDataException.cs')
-rw-r--r-- | mcs/class/System/System.IO/InvalidDataException.cs | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/mcs/class/System/System.IO/InvalidDataException.cs b/mcs/class/System/System.IO/InvalidDataException.cs index e64d90c3f95..2deb63bdd2b 100644 --- a/mcs/class/System/System.IO/InvalidDataException.cs +++ b/mcs/class/System/System.IO/InvalidDataException.cs @@ -5,7 +5,7 @@ // Christopher James Lahey <clahey@ximian.com> // Andreas Nahr (ClassDevelopment@A-SoftTech.com) // -// (C) 2004 Novell, Inc. http://www.novell.com +// Copyright (C) 2004, 2006 Novell, Inc (http://www.novell.com) // #if NET_2_0 @@ -16,7 +16,7 @@ using System.Runtime.Serialization; namespace System.IO { [Serializable] - public class InvalidDataException : SystemException + public sealed class InvalidDataException : SystemException { const int Result = unchecked ((int)0x80131503); @@ -38,11 +38,6 @@ namespace System.IO { HResult = Result; } - - protected InvalidDataException (SerializationInfo info, StreamingContext context) - : base (info, context) - { - } } } |