24 references to DocumentationCommentXmlNames
Microsoft.AspNetCore.OpenApi.SourceGenerators (24)
XmlCommentGenerator.Parser.cs (1)
37
var name = member.Attribute(
DocumentationCommentXmlNames
.NameAttributeName)?.Value;
XmlComments\XmlComment.cs (15)
38
ResolveCrefLink(compilation, doc,
DocumentationCommentXmlNames
.SeeAlsoElementName);
39
ResolveCrefLink(compilation, doc,
DocumentationCommentXmlNames
.SeeElementName);
41
ResolveLangKeyword(doc,
DocumentationCommentXmlNames
.SeeElementName);
46
ResolveCodeTags(doc,
DocumentationCommentXmlNames
.CodeElementName, "```");
52
ResolveCodeTags(doc,
DocumentationCommentXmlNames
.CElementName, "`");
69
var listElements = document.Descendants(
DocumentationCommentXmlNames
.ListElementName).ToArray();
76
var rawListType = element.Attribute(
DocumentationCommentXmlNames
.TypeAttributeName)?.Value;
84
var items = element.Elements(
DocumentationCommentXmlNames
.ItemElementName);
114
var paramRefElements = document.Descendants(
DocumentationCommentXmlNames
.ParameterReferenceElementName).ToArray();
121
var paramName = element.Attribute(
DocumentationCommentXmlNames
.NameAttributeName)?.Value;
129
var typeParamRefElements = document.Descendants(
DocumentationCommentXmlNames
.TypeParameterReferenceElementName).ToArray();
136
var paramName = element.Attribute(
DocumentationCommentXmlNames
.NameAttributeName)?.Value;
147
var paraElements = document.Descendants(
DocumentationCommentXmlNames
.ParaElementName).ToArray();
185
var attributeName =
DocumentationCommentXmlNames
.CrefAttributeName;
217
var attributeName =
DocumentationCommentXmlNames
.LangwordAttributeName;
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);