* doc.cs : when there was no '.' in cref to methods in doc comment,
then parameters were missing in the output. Fixed bug #76691.
* test-xml-041.xml test-xml-041.cs : new test for bug #76691.
svn path=/trunk/mcs/; revision=52979
+2005-11-13 Atsushi Enomoto <atsushi@ximian.com>
+
+ * doc.cs : when there was no '.' in cref to methods in doc comment,
+ then parameters were missing in the output. Fixed bug #76691.
+
2005-11-13 Atsushi Enomoto <atsushi@ximian.com>
* driver.cs : don't output docs when there is an error.
if (warnResult > 0)
return;
if (mi != null) {
- xref.SetAttribute ("cref", GetMemberDocHead (mi.MemberType) + ds.TypeBuilder.FullName.Replace ("+", ".") + "." + name);
+ xref.SetAttribute ("cref", GetMemberDocHead (mi.MemberType) + ds.TypeBuilder.FullName.Replace ("+", ".") + "." + name + parameters);
return; // local member name
}
}
+2005-11-13 Atsushi Enomoto <atsushi@ximian.com>
+
+ * test-xml-041.xml test-xml-041.cs : new test for bug #76691.
+
2005-11-13 Atsushi Enomoto <atsushi@ximian.com>
* test-xml-040.xml test-xml-040.cs : new test for bug #76685.
--- /dev/null
+<?xml version="1.0"?>
+<doc>
+ <assembly>
+ <name>test-xml-041</name>
+ </assembly>
+ <members>
+ <member name="T:EntryPoint">
+ <summary />
+ </member>
+ <member name="T:EntryPoint.A">
+ <summary>
+ <see cref="M:EntryPoint.A.Decide(System.Int32)"/>
+ </summary>
+ </member>
+ </members>
+</doc>
--- /dev/null
+// Compiler options: -doc:xml-042.xml -warnaserror -warn:4
+/// <summary />
+public class EntryPoint
+{
+ static void Main()
+ {
+ }
+
+ /// <summary>
+ /// <see cref="Decide(int)" />
+ /// </summary>
+ private class A
+ {
+ public virtual void Decide(int a)
+ {
+ }
+ }
+}