Hi!

This patch fixes problems with links when they are to parameter types
which has a FullName like this: foobar& and foobar[].

Okay to commit?
-- 
Martin Willemoes Hansen

--------------------------------------------------------
E-Mail  [EMAIL PROTECTED]       Website mwh.sysrq.dk
IRC     MWH, freenode.net
--------------------------------------------------------               

? updater.cs.diff
Index: ChangeLog
===================================================================
RCS file: /cvs/public/monodoc/generator/ChangeLog,v
retrieving revision 1.23
diff -u -r1.23 ChangeLog
--- ChangeLog	29 Oct 2003 22:10:41 -0000	1.23
+++ ChangeLog	5 Nov 2003 23:47:48 -0000
@@ -1,3 +1,8 @@
+2003-11-06  Martin Willemoes Hansen  <[EMAIL PROTECTED]>
+
+	* updater.cs: parameter type fullnames are disabled, 
+	  this fixes broken links.
+
 2003-10-29  Martin Willemoes Hansen  <[EMAIL PROTECTED]>
 
 	* a.cs: Obsoleted and removed.
Index: updater.cs
===================================================================
RCS file: /cvs/public/monodoc/generator/updater.cs,v
retrieving revision 1.11
diff -u -r1.11 updater.cs
--- updater.cs	22 Oct 2003 21:04:59 -0000	1.11
+++ updater.cs	5 Nov 2003 23:47:48 -0000
@@ -860,7 +860,7 @@
         {
                 Type param_type = parameter.ParameterType;
                 XmlElement see_node = document.CreateElement ("see");
-                see_node.SetAttribute ("cref", "T:" + param_type.FullName);
+                see_node.SetAttribute ("cref", "T:" + param_type.GetElementType().ToString());
 
                 XmlElement param = document.CreateElement ("param");
                 param.SetAttribute ("name", parameter.Name);

Reply via email to