22 references to DocumentationCommentXmlNames
Microsoft.AspNetCore.OpenApi.SourceGenerators (22)
XmlCommentGenerator.Parser.cs (1)
37
var name = member.Attribute(
DocumentationCommentXmlNames
.NameAttributeName)?.Value;
XmlComments\XmlComment.cs (13)
38
ResolveCrefLink(compilation, doc, $"//{
DocumentationCommentXmlNames
.SeeAlsoElementName}[@cref]");
39
ResolveCrefLink(compilation, doc, $"//{
DocumentationCommentXmlNames
.SeeElementName}[@cref]");
43
ResolveCodeTags(doc,
DocumentationCommentXmlNames
.CodeElementName, "```");
49
ResolveCodeTags(doc,
DocumentationCommentXmlNames
.CElementName, "`");
66
var listElements = document.Descendants(
DocumentationCommentXmlNames
.ListElementName).ToArray();
73
var rawListType = element.Attribute(
DocumentationCommentXmlNames
.TypeAttributeName)?.Value;
81
var items = element.Elements(
DocumentationCommentXmlNames
.ItemElementName);
111
var paramRefElements = document.Descendants(
DocumentationCommentXmlNames
.ParameterReferenceElementName).ToArray();
118
var paramName = element.Attribute(
DocumentationCommentXmlNames
.NameAttributeName)?.Value;
126
var typeParamRefElements = document.Descendants(
DocumentationCommentXmlNames
.TypeParameterReferenceElementName).ToArray();
133
var paramName = element.Attribute(
DocumentationCommentXmlNames
.NameAttributeName)?.Value;
144
var paraElements = document.Descendants(
DocumentationCommentXmlNames
.ParaElementName).ToArray();
185
var cref = item.Attribute(
DocumentationCommentXmlNames
.CrefAttributeName).Value;
XmlComments\XmlComment.InheritDoc.cs (8)
111
if (ElementNameIs(element,
DocumentationCommentXmlNames
.InheritdocElementName))
144
var crefAttribute = element.Attribute(XName.Get(
DocumentationCommentXmlNames
.CrefAttributeName));
145
var pathAttribute = element.Attribute(XName.Get(
DocumentationCommentXmlNames
.PathAttributeName));
231
var typeParameterRefs = document.Descendants(
DocumentationCommentXmlNames
.TypeParameterReferenceElementName).ToImmutableArray();
234
if (typeParameterRef.Attribute(
DocumentationCommentXmlNames
.NameAttributeName) is XAttribute typeParamName)
247
var replacement = new XElement(
DocumentationCommentXmlNames
.SeeElementName);
248
replacement.SetAttributeValue(
DocumentationCommentXmlNames
.CrefAttributeName, docId);
371
=> string.IsNullOrEmpty(element.Name.NamespaceName) &&
DocumentationCommentXmlNames
.ElementEquals(element.Name.LocalName, name);