public static XmlElementSyntax SeeAlsoElement(Uri linkAddress, SyntaxList <XmlNodeSyntax> linkText)
        {
            XmlElementSyntax element = Element(XmlCommentHelper.SeeAlsoXmlTag, linkText);

            return(element.WithStartTag(element.StartTag.AddAttributes(TextAttribute("href", linkAddress.ToString()))));
        }
        public static XmlElementSyntax ParamElement(string parameterName, SyntaxList <XmlNodeSyntax> content)
        {
            XmlElementSyntax element = Element("param", content);

            return(element.WithStartTag(element.StartTag.AddAttributes(NameAttribute(parameterName))));
        }
        public static XmlElementSyntax TypeParamElement(string parameterName, SyntaxList <XmlNodeSyntax> content)
        {
            XmlElementSyntax element = Element(XmlCommentHelper.TypeParamXmlTag, content);

            return(element.WithStartTag(element.StartTag.AddAttributes(NameAttribute(parameterName))));
        }
        public static XmlElementSyntax ExceptionElement(CrefSyntax cref, SyntaxList <XmlNodeSyntax> content)
        {
            XmlElementSyntax element = Element("exception", content);

            return(element.WithStartTag(element.StartTag.AddAttributes(CrefAttribute(cref))));
        }