public static Dictionary <MsDocEntryPoint, Dictionary <MsDocEntryPointMethod, string> > CreateResults(WebResult[] webResults) { var points = (from webResult in webResults let point = Documentation.GetByUri(new Uri(webResult.Url, UriKind.Absolute)) where point != null select new KeyValuePair <MsDocEntryPointMethod, string>(point, webResult.Description)).Distinct(new BingComparer()); return(points.GroupBy(x => x.Key.Parent) .ToDictionary(x => x.Key, y => y.ToDictionary(key => key.Key, value => value.Value))); }