[Mono-bugs] [Bug 76872][Nor] New - [/doc] CS1574 is reported for
cref from nested type to member of declaring type.
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Thu Dec 1 16:11:26 EST 2005
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=76872
--- shadow/76872 2005-12-01 16:11:26.000000000 -0500
+++ shadow/76872.tmp.29724 2005-12-01 16:11:26.000000000 -0500
@@ -0,0 +1,59 @@
+Bug#: 76872
+Product: Mono: Compilers
+Version: 1.1
+OS: All
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: C#
+AssignedTo: atsushi at ximian.com
+ReportedBy: gert.driesen at pandora.be
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: [/doc] CS1574 is reported for cref from nested type to member of declaring type.
+
+mcs reports CS1574 for a cref from a nested type to a member of its
+declaring type.
+
+To reproduce this issue, compile the following code snippet (using mcs
+/doc:test.xml test.cs):
+
+/// <summary>
+/// </summary>
+public class Testje {
+ static void Main () {
+ }
+
+ /// <summary>
+ /// <see cref="Test" />
+ /// <see cref="Format(object)" />
+ /// </summary>
+ private class A {
+ }
+
+ /// <summary />
+ public string Test {
+ get { return ""; }
+ }
+
+ /// <summary />
+ public static void Format (object a)
+ {
+ }
+}
+
+Actual Results:
+
+test.cs(13,16): warning CS1574: XML comment on `Testje.A' has cref
+attribute `Test' that could not be resolved
+test.cs(13,16): warning CS1574: XML comment on `Testje.A' has cref
+attribute `Format(object)' that could not be resolved
+Compilation succeeded - 2 warning(s)
+
+Expected Results:
+
+Successful compilation without warnings.
More information about the mono-bugs
mailing list