Wed Sep 11 15:26:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
[mono.git] / mcs / class / corlib / System / ArrayTypeMismatchException.cs
index 32d6b328f08c92c616f287036d8511b10e4b7971..2938300de6158935dc3bda257f44c5cd29d3019d 100644 (file)
@@ -7,9 +7,10 @@
 // (C) 2001 Ximian, Inc.  http://www.ximian.com
 //
 using System.Globalization;
+using System.Runtime.Serialization;
 
 namespace System {
-
+       [Serializable]
        public class ArrayTypeMismatchException : SystemException {
                // Constructors
                public ArrayTypeMismatchException ()
@@ -26,5 +27,12 @@ namespace System {
                        : base (message, inner)
                {
                }
+
+               protected ArrayTypeMismatchException (SerializationInfo info, StreamingContext context)
+                       : base (info, context)
+               {
+               }
+
+               
        }
 }