2002-02-07 Duncan Mak <duncan@ximian.com>
authorDuncan Mak <duncan@mono-cvs.ximian.com>
Thu, 7 Feb 2002 13:15:40 +0000 (13:15 -0000)
committerDuncan Mak <duncan@mono-cvs.ximian.com>
Thu, 7 Feb 2002 13:15:40 +0000 (13:15 -0000)
* DuplicateWaitObjectException:
* InvalidCastException:
* NotImplementedException:
* NotSupportedException:
* NullReferenceException:
* OutOfMemoryException:
* OverflowException:
* RankException:
* StackOverflowException.cs:
* UnauthorizedAccessException: Added missing constructor used
  for serialization.

svn path=/trunk/mcs/; revision=2255

12 files changed:
mcs/class/corlib/System/ChangeLog
mcs/class/corlib/System/DuplicateWaitObjectException.cs
mcs/class/corlib/System/FieldAccessException.cs
mcs/class/corlib/System/InvalidCastException.cs
mcs/class/corlib/System/NotImplementedException.cs
mcs/class/corlib/System/NotSupportedException.cs
mcs/class/corlib/System/NullReferenceException.cs
mcs/class/corlib/System/OutOfMemoryException.cs
mcs/class/corlib/System/OverflowException.cs
mcs/class/corlib/System/RankException.cs
mcs/class/corlib/System/StackOverflowException.cs
mcs/class/corlib/System/UnauthorizedAccessException.cs

index 0a4870c01541bf2c502f3be71e70a1af4df7bbc9..4e62d802946055b51a7e46aa894660b2926696e7 100644 (file)
@@ -1,3 +1,16 @@
+2002-02-07  Duncan Mak  <duncan@ximian.com>
+       
+       * DuplicateWaitObjectException:
+       * InvalidCastException:
+       * NotImplementedException:
+       * NotSupportedException:
+       * NullReferenceException:
+       * OutOfMemoryException:
+       * OverflowException:
+       * RankException:
+       * StackOverflowException.cs:
+       * UnauthorizedAccessException: Added missing constructor used for serialization.
+
 2002-02-07  Dietmar Maurer  <dietmar@ximian.com>
 
        * String.cs (System.Compare): bug fix 
index 03fd672bfec595106d7fa6f6d594c43ab0c41cea..12ed31c86bb539dd886aeb7a04c8f5bd63c28a43 100644 (file)
@@ -3,11 +3,14 @@
 //
 // Author:
 //   Joe Shaw (joe@ximian.com)
+//   Duncan Mak (duncan@ximian.com)
 //
 // (C) 2001 Ximian, Inc.  http://www.ximian.com
 //
 
 using System.Globalization;
+using System.Runtime.Serialization;
+
 namespace System {
 
        public class DuplicateWaitObjectException : ArgumentException {
@@ -26,5 +29,10 @@ namespace System {
                        : base (message, param_name)
                {
                }
+
+               protected DuplicateWaitObjectException (SerializationInfo info, StreamingContext context)
+                       : base (info, context)
+               {
+               }
        }
 }
index 16fce96b9d1370291f77b1f5a9d2ff2c314c741c..53b389ec526e0671c4e733f4706c4bfc60f617d0 100644 (file)
@@ -7,7 +7,6 @@
 // 2002 (C) Ximian, Inc. http://www.ximian.com
 //
 
-using System;
 using System.Globalization;
 using System.Runtime.Serialization;
 
index 7cf31da10bb9cee42236183019dbb1ebb1183402..1556f840aa9364d6302afc26cad54d02b00e68db 100644 (file)
@@ -3,11 +3,14 @@
 //
 // Author:
 //   Joe Shaw (joe@ximian.com)
+//   Duncan Mak (duncan@ximian.com)
 //
 // (C) 2001 Ximian, Inc.  http://www.ximian.com
 //
 
 using System.Globalization;
+using System.Runtime.Serialization;
+
 namespace System {
 
        public class InvalidCastException : SystemException {
@@ -26,5 +29,10 @@ namespace System {
                        : base (message, inner)
                {
                }
+
+               protected InvalidCastException (SerializationInfo info, StreamingContext context)
+                       : base (info, context)
+               {
+               }
        }
 }
index 86bc9cf4b7526ae0d10a8c317a6a174a6b874428..3c201d1587e3ee821de942ca3d91f05a512ce824 100755 (executable)
@@ -3,11 +3,13 @@
 //
 // Author:
 //   Paolo Molaro (lupus@ximian.com)
+//   Duncan Mak (duncan@ximian.com)
 //
 // (C) 2001 Ximian, Inc.  http://www.ximian.com
 //
 
 using System.Globalization;
+using System.Runtime.Serialization;
 
 namespace System {
 
@@ -27,5 +29,10 @@ namespace System {
                        : base (message, inner)
                {
                }
+
+               protected NotImplementedException (SerializationInfo info, StreamingContext context)
+                       : base (info, context)
+               {
+               }
        }
 }
index b5ee0144069b4eebb7f4330e45ff6c77340157b4..2419d8e0b8f2e508f5883b78759b3af5890e5db5 100644 (file)
@@ -3,11 +3,14 @@
 //
 // Author:
 //   Joe Shaw (joe@ximian.com)
+//   Duncan Mak (duncan@ximian.com)
 //
 // (C) 2001 Ximian, Inc.  http://www.ximian.com
 //
 
 using System.Globalization;
+using System.Runtime.Serialization;
+
 namespace System {
 
        public class NotSupportedException : SystemException {
@@ -26,5 +29,10 @@ namespace System {
                        : base (message, inner)
                {
                }
+
+               protected NotSupportedException (SerializationInfo info, StreamingContext context)
+                       : base (info, context)
+               {
+               }
        }
 }
index 540f42890cfe1237e0fba83148b2c3ec34fd5a08..76947bae47e896e80ff39951197ed6cbc80008dc 100644 (file)
@@ -3,11 +3,13 @@
 //
 // Author:
 //   Joe Shaw (joe@ximian.com)
+//   Duncan Mak (duncan@ximian.com)
 //
 // (C) 2001 Ximian, Inc.  http://www.ximian.com
 //
 
 using System.Globalization;
+using System.Runtime.Serialization;
 
 namespace System {
 
@@ -27,5 +29,10 @@ namespace System {
                        : base (message, inner)
                {
                }
+
+               protected NullReferenceException (SerializationInfo info, StreamingContext context)
+                       : base (info, context)
+               {
+               }
        }
 }
index 74e00f89ed519d1ef2d469c65f4f07ab98e3688c..ffaf5851d107e1ce070a0ae122844fd9148fa747 100644 (file)
@@ -3,11 +3,14 @@
 //
 // Author:
 //   Joe Shaw (joe@ximian.com)
+//   Duncan Mak (duncan@ximian.com)
 //
 // (C) 2001 Ximian, Inc.  http://www.ximian.com
 //
 
 using System.Globalization;
+using System.Runtime.Serialization;
+
 namespace System {
 
        public class OutOfMemoryException : SystemException {
@@ -26,5 +29,10 @@ namespace System {
                        : base (message, inner)
                {
                }
+
+               protected OutOfMemoryException (SerializationInfo info, StreamingContext context)
+                       : base (info, context)
+               {
+               }
        }
 }
index 0094bfe323cc93b0c72e57447821f3fc0119acff..4fc747d24e0e0539e0338856c3d538458c9e1278 100644 (file)
@@ -3,11 +3,14 @@
 //
 // Author:
 //   Joe Shaw (joe@ximian.com)
+//   Duncan Mak (duncan@ximian.com)
 //
 // (C) 2001 Ximian, Inc.  http://www.ximian.com
 //
 
 using System.Globalization;
+using System.Runtime.Serialization;
+
 namespace System {
 
        public class OverflowException : ArithmeticException {
@@ -26,5 +29,10 @@ namespace System {
                        : base (message, inner)
                {
                }
+
+               protected OverflowException (SerializationInfo info, StreamingContext context)
+                       : base (info, context)
+               {
+               }
        }
 }
index 9350b53580a0bf05eeda68a46eecb2811629a075..67b8b5f07dfa5284d50260d9e209ef75d94f1e15 100644 (file)
@@ -3,11 +3,14 @@
 //
 // Author:
 //   Joe Shaw (joe@ximian.com)
+//   Duncan Mak (duncan@ximian.com)
 //
 // (C) 2001 Ximian, Inc.  http://www.ximian.com
 //
 
 using System.Globalization;
+using System.Runtime.Serialization;
+
 namespace System {
 
        public class RankException : SystemException {
@@ -26,5 +29,11 @@ namespace System {
                        : base (message, inner)
                {
                }
+
+               protected RankException (SerializationInfo info, StreamingContext context)
+                       : base (info, context)
+               {
+               }
+                                       
        }
 }
index a031170d93164b1c3ce8132e61a02afbc8b02917..e7710133a29c22576e0e0b1182809ecf566b5763 100644 (file)
@@ -3,11 +3,14 @@
 //
 // Author:
 //   Joe Shaw (joe@ximian.com)
+//   Duncan Mak (duncan@ximian.com)
 //
 // (C) 2001 Ximian, Inc.  http://www.ximian.com
 //
 
 using System.Globalization;
+using System.Runtime.Serialization;
+
 namespace System {
 
        public class StackOverflowException : SystemException {
@@ -26,5 +29,10 @@ namespace System {
                        : base (message, inner)
                {
                }
+
+               protected StackOverflowException (SerializationInfo info, StreamingContext context)
+                       : base (info, context)
+               {
+               }
        }
 }
index b4318168d940cbbddbaf0c6b15df1c5abbcce7e3..9ac213779d4ec77d80049959b2de04f50796c183 100755 (executable)
@@ -3,11 +3,14 @@
 //
 // Author:
 //   Paolo Molaro (lupus@ximian.com)
+//   Duncan Mak  (duncan@ximian.com)
 //
 // (C) 2001 Ximian, Inc.  http://www.ximian.com
 //
 
 using System.Globalization;
+using System.Runtime.Serialization;
+
 namespace System {
 
        public class UnauthorizedAccessException : SystemException {
@@ -26,5 +29,10 @@ namespace System {
                        : base (message, inner)
                {
                }
+
+               protected UnauthorizedAccessException (SerializationInfo info, StreamingContext context)
+                       : base (info, context)
+               {
+               }
        }
 }