but instead provide a decent URL even if the url isn't to a single
member, but instead to show all members, e.g. T:System.String/*.
* Monodoc/provider.cs: Obsolete Node.URL. It's too variable for sane
use; use Node.PublicUrl.
svn path=/trunk/mcs/; revision=142649
+2009-09-25 Jonathan Pryor <jpryor@novell.com>
+
+ * Monodoc/ecma-provider.cs: Don't return 'null' from GetPublicUrl(),
+ but instead provide a decent URL even if the url isn't to a single
+ member, but instead to show all members, e.g. T:System.String/*.
+ * Monodoc/provider.cs: Obsolete Node.URL. It's too variable for sane
+ use; use Node.PublicUrl.
+
2009-09-09 Jonathan Pryor <jpryor@novell.com>
* Mono.Documentation/ManifestResourceResolver.cs: Allow it to lookup
return EcmaDoc.GetCref (d.DocumentElement);
XmlElement e = GetDocElement (d, rest);
if (e == null)
- return url;
+ return EcmaDoc.GetCref (d.DocumentElement) + "/" + rest;
return EcmaDoc.GetCref (e);
}
catch (Exception e) {
nodes.Sort ();
}
+ [Obsolete("Use PublicUrl")]
public string URL {
get {
if (position < 0)