[Mono-bugs] [Bug 79635][Min] Changed - CS0023 is not reported for string operand
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Thu Oct 26 15:51:04 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 marek.safar at seznam.cz.
http://bugzilla.ximian.com/show_bug.cgi?id=79635
--- shadow/79635 2006-10-10 16:21:22.000000000 -0400
+++ shadow/79635.tmp.28686 2006-10-26 15:51:04.000000000 -0400
@@ -2,13 +2,13 @@
Product: Mono: Compilers
Version: 1.1
OS: All
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Minor
Component: C#
AssignedTo: rharinath at novell.com
ReportedBy: gert.driesen at pandora.be
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
@@ -31,6 +31,20 @@
test.cs(5,28): error CS0023: Operator '+' cannot be applied to operand of
type 'string'
Actual result:
Successful compilation
+
+------- Additional Comments From marek.safar at seznam.cz 2006-10-26 15:51 -------
+I think the error CS0023 is not right one.
+BTW, csc has similar problem with other primitive types.
+
+For instance following code is compiled by csc successfully.
+
+using System;
+
+public class Test {
+ static void Main () {
+ Console.WriteLine (1 + + + + + 1);
+ }
+}
More information about the mono-bugs
mailing list