From 2b704d7d25d0deb1e01070c79229e32d21d9624e Mon Sep 17 00:00:00 2001 From: Mike Kestner Date: Fri, 5 Nov 2004 19:08:05 +0000 Subject: [PATCH] 2004-11-05 Mike Kestner * updater/updater.cs : fix for recent corlib bugfix. Thanks to Dan Winship for identifying the solution. svn path=/trunk/gtk-sharp/; revision=35721 --- doc/ChangeLog | 5 +++++ doc/updater/.cvsignore | 1 + doc/updater/updater.cs | 3 ++- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/ChangeLog b/doc/ChangeLog index 7615654ff..71d2f36fa 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,8 @@ +2004-11-05 Mike Kestner + + * updater/updater.cs : fix for recent corlib bugfix. Thanks + to Dan Winship for identifying the solution. + 2004-10-28 Dan Winship * en/Gdk/Pixbuf.xml diff --git a/doc/updater/.cvsignore b/doc/updater/.cvsignore index bad024721..5604e6fa5 100644 --- a/doc/updater/.cvsignore +++ b/doc/updater/.cvsignore @@ -1,3 +1,4 @@ Makefile Makefile.in *.exe +*.dll diff --git a/doc/updater/updater.cs b/doc/updater/updater.cs index 364a8a3ee..cf0005782 100644 --- a/doc/updater/updater.cs +++ b/doc/updater/updater.cs @@ -751,8 +751,9 @@ class Updater { XmlElement AddDocsParamNode (XmlDocument document, ParameterInfo parameter) { Type param_type = parameter.ParameterType; + Type element_type = param_type.GetElementType(); XmlElement see_node = document.CreateElement ("see"); - see_node.SetAttribute ("cref", "T:" + param_type.GetElementType().ToString()); + see_node.SetAttribute ("cref", "T:" + (element_type == null ? param_type.ToString() : element_type.ToString())); XmlElement param = document.CreateElement ("param"); param.SetAttribute ("name", parameter.Name);