//
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;
}