New tests.
[mono.git] / mcs / class / corlib / System / InvalidOperationException.cs
index e4ffb8552be0742721c201ea2593a2888a49cec9..98c8a7d88b73c94f01929eb70ecb3520c25e2f2c 100644 (file)
 //
 
 using System.Runtime.Serialization;
+using System.Runtime.InteropServices;
 
 namespace System
 {
        [Serializable]
+       [ComVisible (true)]
        public class InvalidOperationException : SystemException
        {
                const int Result = unchecked ((int)0x80131509);
 
                // Constructors
                public InvalidOperationException ()
-                       : base (Locale.GetText ("The requested operation could be performed."))
+                       : base (Locale.GetText ("Operation is not valid due to the current state of the object"))
                {
                        HResult = Result;
                }