[Mono-bugs] [Bug 73105][Nor] New - mcs fails to give CS0110 error for incorrect string usage
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 28 Feb 2005 00:54:02 -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 tmclaugh@sdf.lonestar.org.
http://bugzilla.ximian.com/show_bug.cgi?id=73105
--- shadow/73105 2005-02-28 00:54:02.000000000 -0500
+++ shadow/73105.tmp.9429 2005-02-28 00:54:02.000000000 -0500
@@ -0,0 +1,45 @@
+Bug#: 73105
+Product: Mono: Compilers
+Version: 1.1
+OS: other
+OS Details: FreeBSD 5.3, Linux on x86
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: tmclaugh@sdf.lonestar.org
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: mcs fails to give CS0110 error for incorrect string usage
+
+Description of Problem:
+When compiling the code below with mcs, bin/mono coredumps instead of
+giving a CS0110 error because the code is not compilable. I can confirm
+this crash on FreeBSD and Linux on x86 with Mono 1.1.4.
+
+class T
+{
+ public void FooBar ()
+ {
+ const string Foo = Foo;
+ }
+}
+
+
+Steps to reproduce the problem:
+1. Compile the above code.
+
+
+Actual Results:
+mono core dumps.
+
+
+Expected Results:
+mcs should return a CS0110 error.
+
+How often does this happen?
+Everytime.