22 references to DocumentationCommentXmlNames
Microsoft.AspNetCore.OpenApi.SourceGenerators (22)
XmlCommentGenerator.Parser.cs (1)
37var name = member.Attribute(DocumentationCommentXmlNames.NameAttributeName)?.Value;
XmlComments\XmlComment.cs (13)
38ResolveCrefLink(compilation, doc, $"//{DocumentationCommentXmlNames.SeeAlsoElementName}[@cref]"); 39ResolveCrefLink(compilation, doc, $"//{DocumentationCommentXmlNames.SeeElementName}[@cref]"); 43ResolveCodeTags(doc, DocumentationCommentXmlNames.CodeElementName, "```"); 49ResolveCodeTags(doc, DocumentationCommentXmlNames.CElementName, "`"); 66var listElements = document.Descendants(DocumentationCommentXmlNames.ListElementName).ToArray(); 73var rawListType = element.Attribute(DocumentationCommentXmlNames.TypeAttributeName)?.Value; 81var items = element.Elements(DocumentationCommentXmlNames.ItemElementName); 111var paramRefElements = document.Descendants(DocumentationCommentXmlNames.ParameterReferenceElementName).ToArray(); 118var paramName = element.Attribute(DocumentationCommentXmlNames.NameAttributeName)?.Value; 126var typeParamRefElements = document.Descendants(DocumentationCommentXmlNames.TypeParameterReferenceElementName).ToArray(); 133var paramName = element.Attribute(DocumentationCommentXmlNames.NameAttributeName)?.Value; 144var paraElements = document.Descendants(DocumentationCommentXmlNames.ParaElementName).ToArray(); 185var cref = item.Attribute(DocumentationCommentXmlNames.CrefAttributeName).Value;
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);