Serialization constructors should be protected.
authorDuncan Mak <duncan@mono-cvs.ximian.com>
Wed, 1 May 2002 14:09:49 +0000 (14:09 -0000)
committerDuncan Mak <duncan@mono-cvs.ximian.com>
Wed, 1 May 2002 14:09:49 +0000 (14:09 -0000)
svn path=/trunk/mcs/; revision=4195

mcs/class/corlib/System.IO/DirectoryNotFoundException.cs

index 209d461052a89feae7de376b2a7a13a220fdb22c..1332758d48fc1d33ea2dc7ea1ba7fd025c25360c 100755 (executable)
@@ -30,7 +30,7 @@ namespace System.IO {
                {
                }
 
-               public DirectoryNotFoundException (SerializationInfo info, StreamingContext context)
+               protected DirectoryNotFoundException (SerializationInfo info, StreamingContext context)
                        : base (info, context)
                {
                }