24 references to DocumentationCommentXmlNames
Microsoft.AspNetCore.OpenApi.SourceGenerators (24)
XmlCommentGenerator.Parser.cs (1)
37var name = member.Attribute(DocumentationCommentXmlNames.NameAttributeName)?.Value;
XmlComments\XmlComment.cs (15)
38ResolveCrefLink(compilation, doc, DocumentationCommentXmlNames.SeeAlsoElementName); 39ResolveCrefLink(compilation, doc, DocumentationCommentXmlNames.SeeElementName); 41ResolveLangKeyword(doc, DocumentationCommentXmlNames.SeeElementName); 46ResolveCodeTags(doc, DocumentationCommentXmlNames.CodeElementName, "```"); 52ResolveCodeTags(doc, DocumentationCommentXmlNames.CElementName, "`"); 69var listElements = document.Descendants(DocumentationCommentXmlNames.ListElementName).ToArray(); 76var rawListType = element.Attribute(DocumentationCommentXmlNames.TypeAttributeName)?.Value; 84var items = element.Elements(DocumentationCommentXmlNames.ItemElementName); 114var paramRefElements = document.Descendants(DocumentationCommentXmlNames.ParameterReferenceElementName).ToArray(); 121var paramName = element.Attribute(DocumentationCommentXmlNames.NameAttributeName)?.Value; 129var typeParamRefElements = document.Descendants(DocumentationCommentXmlNames.TypeParameterReferenceElementName).ToArray(); 136var paramName = element.Attribute(DocumentationCommentXmlNames.NameAttributeName)?.Value; 147var paraElements = document.Descendants(DocumentationCommentXmlNames.ParaElementName).ToArray(); 185var attributeName = DocumentationCommentXmlNames.CrefAttributeName; 217var attributeName = DocumentationCommentXmlNames.LangwordAttributeName;
XmlComments\XmlComment.InheritDoc.cs (8)
111if (ElementNameIs(element, DocumentationCommentXmlNames.InheritdocElementName)) 144var crefAttribute = element.Attribute(XName.Get(DocumentationCommentXmlNames.CrefAttributeName)); 145var pathAttribute = element.Attribute(XName.Get(DocumentationCommentXmlNames.PathAttributeName)); 231var typeParameterRefs = document.Descendants(DocumentationCommentXmlNames.TypeParameterReferenceElementName).ToImmutableArray(); 234if (typeParameterRef.Attribute(DocumentationCommentXmlNames.NameAttributeName) is XAttribute typeParamName) 247var replacement = new XElement(DocumentationCommentXmlNames.SeeElementName); 248replacement.SetAttributeValue(DocumentationCommentXmlNames.CrefAttributeName, docId); 371=> string.IsNullOrEmpty(element.Name.NamespaceName) && DocumentationCommentXmlNames.ElementEquals(element.Name.LocalName, name);