[Mono-bugs] [Bug 76691][Nor] New - cref emitted from XML doc does
not include method arguments.
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sun Nov 13 06:10:48 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=76691
--- shadow/76691 2005-11-13 06:10:48.000000000 -0500
+++ shadow/76691.tmp.22029 2005-11-13 06:10:48.000000000 -0500
@@ -0,0 +1,56 @@
+Bug#: 76691
+Product: Mono: Compilers
+Version: 1.1
+OS:
+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: cref emitted from XML doc does not include method arguments.
+
+When referencing a method with arguments using a <see cref="..." />
+element, mcs does not emit the full method signature in the XML doc; the
+method arguments are not emitted.
+
+To reproduce, compile the following code snippet (using mcs /doc:test.xml
+test.cs):
+
+/// <summary />
+public class EntryPoint
+{
+ static void Main()
+ {
+ }
+
+ /// <summary>
+ /// <see cref="Decide(int)" />
+ /// </summary>
+ private class A
+ {
+ public virtual void Decide(int a)
+ {
+ }
+ }
+}
+
+Actual result:
+
+Successful compilation, and the resulting XML doc contains the following
+node:
+
+<see cref="M:EntryPoint.A.Decide" />
+
+Expected result:
+
+Successful compilation, but the resulting XML doc should contain the
+following node:
+
+<see cref="M:EntryPoint.A.Decide(System.Int32)" />
More information about the mono-bugs
mailing list