public static void Parse(SymbolDescriptionProvider provider, ISymbol symbol) { var rawXml = "<i>" + symbol.GetDocumentationCommentXml() + "</i>"; var comment = new XmlDocumentParser(provider, symbol); XDocument doc = null; try { doc = XDocument.Parse(rawXml); } catch (XmlException) { return; } comment.Parse(doc); }
private XmlDocumentParser(SymbolDescriptionProvider provider, ISymbol symbol) { _provider = provider; _symbol = symbol; }