[Mono-bugs] [Bug 75081][Wis] Changed - Misleading Line number in
error message
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon May 30 08:41:59 EDT 2005
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 ph_knecht at yahoo.com.
http://bugzilla.ximian.com/show_bug.cgi?id=75081
--- shadow/75081 2005-05-30 05:59:32.000000000 -0400
+++ shadow/75081.tmp.9224 2005-05-30 08:41:59.000000000 -0400
@@ -45,6 +45,45 @@
------- Additional Comments From rharinath at novell.com 2005-05-30 05:59 -------
Can you explain what you mean by your testcase above? A file with
only the text you mention correctly points out that the error is on
the line containing 'do'.
+
+------- Additional Comments From ph_knecht at yahoo.com 2005-05-30 08:41 -------
+Hi
+
+It gives absolutely no LineNumber info to me :(
+
+
+using System;
+
+public class tstcase
+{
+ public static void Main()
+ {
+ do
+ {
+ }
+ while(1=1);
+
+ }
+}
+
+
+And then:
+
+C:\DOKUME~1\Fops>mcs tstcase.cs
+error CS0131: The left-hand side of an assignment or mutating
+operation must be
+a variable, property or indexer
+Compilation failed: 1 error(s), 0 warnings
+
+
+--> Normally it says something like:
+
+tstcase.cs(11) error CS....
+ ^^ Line Number
+
+hth
+
+(i hate bugzilla posted it the 3 time and no luck on refresh!!!!)
More information about the mono-bugs
mailing list