2002-09-13 Nick Drochak <ndrochak@gol.com>
[mono.git] / mcs / class / corlib / System / InvalidProgramException.cs
index 88150558cc5724de9d7d1dd9aae008aeaf326909..da235f0bf8eb78166afcbf67b8dfabfabf4ce677 100644 (file)
@@ -7,12 +7,14 @@
 // (C) 2001 Ximian, Inc.  http://www.ximian.com
 //
 
+using System.Globalization;
 namespace System {
 
+       [Serializable]
        public sealed class InvalidProgramException : SystemException {
                // Constructors
                public InvalidProgramException ()
-                       : base ("Metadata is incorrect")
+                       : base (Locale.GetText ("Metadata is incorrect"))
                {
                }
 
@@ -26,4 +28,4 @@ namespace System {
                {
                }
        }
-}
\ No newline at end of file
+}