[Mono-bugs] [Bug 69055][Min] New - Message of InvalidOperationException doesn't make sense

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 3 Nov 2004 09:59:13 -0500 (EST)

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by priewasser@gmx.at.


--- shadow/69055	2004-11-03 09:59:13.000000000 -0500
+++ shadow/69055.tmp.1749	2004-11-03 09:59:13.000000000 -0500
@@ -0,0 +1,35 @@
+Bug#: 69055
+Product: Mono: Class Libraries
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Priority: Minor
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: priewasser@gmx.at               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: Message of InvalidOperationException doesn't make sense
+Description of Problem:
+The default message text of an InvalidOperationException is 
+"The requested operation could be performed."
+something like
+"The requested operation could not be performed."
+"Operation is not valid due to the current state of the object."
+would make more sence
+Steps to reproduce the problem:
+run this:
+public class C{
+  public static void Main(){
+    System.Exception e=new System.InvalidOperationException();
+    System.Console.WriteLine(e.Message);
+  }