[Mono-bugs] [Bug 73384][Nor] New - CS1584 reported for cref containing @ character.
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sat, 5 Mar 2005 10:28:12 -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 gert.driesen@pandora.be.
http://bugzilla.ximian.com/show_bug.cgi?id=73384
--- shadow/73384 2005-03-05 10:28:12.000000000 -0500
+++ shadow/73384.tmp.25675 2005-03-05 10:28:12.000000000 -0500
@@ -0,0 +1,46 @@
+Bug#: 73384
+Product: Mono: Compilers
+Version: 1.1
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: C#
+AssignedTo: atsushi@ximian.com
+ReportedBy: gert.driesen@pandora.be
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: CS1584 reported for cref containing @ character.
+
+mcs reports CS1584 for cref's containing @ character.
+
+To reproduce, compile the following code snippet (using
+mcs /target:library /doc:test.xml test.cs):
+
+/// <summary><see cref="@true" />, <see cref="@Whatever" /></summary>
+public enum Test {
+ /// <summary>Yes</summary>
+ @true,
+ /// <summary>Nope</summary>
+ @false,
+ /// <summary>Maybe</summary>
+ Whatever
+}
+
+Actual result:
+
+test.cs(9) warning CS1584: XML comment on 'Test' has syntactically
+incorrect attribute '@true'
+test.cs(9) warning CS1584: XML comment on 'Test' has syntactically
+incorrect attribute '@Whatever'
+Compilation succeeded - 2 warning(s)
+
+Expected result:
+
+Compilation succeeded (with no warnings)
+
+(which would match the result of compiling the same code using csc)