[Mono-bugs] [Bug 79570][Min] New - error without any line number information or file name
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Oct 3 15:02:16 EDT 2006
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 joe at otee.dk.
http://bugzilla.ximian.com/show_bug.cgi?id=79570
--- shadow/79570 2006-10-03 15:02:16.000000000 -0400
+++ shadow/79570.tmp.22676 2006-10-03 15:02:16.000000000 -0400
@@ -0,0 +1,37 @@
+Bug#: 79570
+Product: Mono: Compilers
+Version: 1.1
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Minor
+Component: C#
+AssignedTo: rharinath at novell.com
+ReportedBy: joe at otee.dk
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: error without any line number information or file name
+
+The following .cs file when compiled with mcs will output the following error:
+
+error CS0117: `string' does not contain a definition for `Parse'
+Compilation failed: 1 error(s), 0 warnings
+
+
+The error message itself seems to be correct but it doesn't contain a line number or which file
+the error occurred at. This makes it very hard to track down where the error happens especially if
+you compile a lot of .cs files at once.
+----
+using System;
+
+class string_parse
+{
+ public static void Main ()
+ {
+ string drawBackLabel = string.Parse(absDrawBack);
+ }
+}
More information about the mono-bugs
mailing list