// 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
-
using System.Globalization;
using System.Runtime.Serialization;
namespace System.IO
{
[Serializable]
- public class InvalidDataException : SystemException
+ public sealed class InvalidDataException : SystemException
{
const int Result = unchecked ((int)0x80131503);
HResult = Result;
}
- protected InvalidDataException (SerializationInfo info, StreamingContext context)
+ private InvalidDataException (SerializationInfo info, StreamingContext context)
: base (info, context)
{
}
}
}
-#endif