[Mono-bugs] [Bug 79635][Min] New - CS0023 is not reported for string operand
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Oct 10 16:21:22 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 gert.driesen at pandora.be.
http://bugzilla.ximian.com/show_bug.cgi?id=79635
--- shadow/79635 2006-10-10 16:21:22.000000000 -0400
+++ shadow/79635.tmp.13018 2006-10-10 16:21:22.000000000 -0400
@@ -0,0 +1,36 @@
+Bug#: 79635
+Product: Mono: Compilers
+Version: 1.1
+OS: All
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Minor
+Component: C#
+AssignedTo: rharinath at novell.com
+ReportedBy: gert.driesen at pandora.be
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: CS0023 is not reported for string operand
+
+mcs does not report CS0023 for the following code:
+
+using System;
+
+public class Test {
+ static void Main () {
+ Console.WriteLine ("a" + + "b");
+ }
+}
+
+Expected result:
+
+test.cs(5,28): error CS0023: Operator '+' cannot be applied to operand of
+type 'string'
+
+Actual result:
+
+Successful compilation
More information about the mono-bugs
mailing list