[runtime] Disable some tests in full-aot mode which cannot be AOTed because of type...
[mono.git] / mcs / class / monodoc / Monodoc / providers / man-provider.cs
index cf7984e54adcb48f6b67bd8554bcf8236509d1d1..6e68626551bfbcea7c3e252da1d84b3331ddf317 100755 (executable)
@@ -71,7 +71,7 @@ namespace Monodoc.Providers
 
                public ManHelpSource (string base_file, bool create) : base (base_file, create)
                {
-                       nodesMap = Tree.RootNode.Nodes.ToDictionary (n => n.Element);
+                       nodesMap = Tree.RootNode.ChildNodes.ToDictionary (n => n.Element);
                }
 
                // Since man always has a flat tree and rather small amount of item
@@ -82,9 +82,8 @@ namespace Monodoc.Providers
                        return nodesMap.TryGetValue (url, out result) ? result : null;
                }
 
-               public override DocumentType GetDocumentTypeForId (string id, out Dictionary<string, string> extraParams)
+               public override DocumentType GetDocumentTypeForId (string id)
                {
-                       extraParams = null;
                        return id == "root:" ? DocumentType.TocXml : DocumentType.Man;
                }