Copy from 72246 to trunk
[mono.git] / mcs / class / System / System.IO / InvalidDataException.cs
index e64d90c3f956e26e26175ed63d1e0e3db6167689..2deb63bdd2b186538f4e3a139a81ec52103d15bf 100644 (file)
@@ -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)
-               {
-               }
        }
 }