31 references to DocumentationCommentXmlNames
Microsoft.CodeAnalysis.Workspaces (31)
Shared\Extensions\ISymbolExtensions.cs (8)
302
if (ElementNameIs(element,
DocumentationCommentXmlNames
.InheritdocElementName))
347
var crefAttribute = element.Attribute(XName.Get(
DocumentationCommentXmlNames
.CrefAttributeName));
348
var pathAttribute = element.Attribute(XName.Get(
DocumentationCommentXmlNames
.PathAttributeName));
426
var typeParameterRefs = document.Descendants(
DocumentationCommentXmlNames
.TypeParameterReferenceElementName).ToImmutableArray();
429
if (typeParameterRef.Attribute(
DocumentationCommentXmlNames
.NameAttributeName) is XAttribute typeParamName)
440
var replacement = new XElement(
DocumentationCommentXmlNames
.SeeElementName);
441
replacement.SetAttributeValue(
DocumentationCommentXmlNames
.CrefAttributeName, docId);
635
=> string.IsNullOrEmpty(element.Name.NamespaceName) &&
DocumentationCommentXmlNames
.ElementEquals(element.Name.LocalName, name);
Shared\Utilities\DocumentationComment.cs (23)
10
using XmlNames = Roslyn.Utilities.
DocumentationCommentXmlNames
;
233
if (
XmlNames
.ElementEquals(localName,
XmlNames
.ExampleElementName) && _comment.ExampleText == null)
237
else if (
XmlNames
.ElementEquals(localName,
XmlNames
.SummaryElementName) && _comment.SummaryText == null)
241
else if (
XmlNames
.ElementEquals(localName,
XmlNames
.ReturnsElementName) && _comment.ReturnsText == null)
245
else if (
XmlNames
.ElementEquals(localName,
XmlNames
.ValueElementName) && _comment.ValueText == null)
249
else if (
XmlNames
.ElementEquals(localName,
XmlNames
.RemarksElementName) && _comment.RemarksText == null)
253
else if (
XmlNames
.ElementEquals(localName,
XmlNames
.ParameterElementName))
255
var name = reader.GetAttribute(
XmlNames
.NameAttributeName);
264
else if (
XmlNames
.ElementEquals(localName,
XmlNames
.TypeParameterElementName))
266
var name = reader.GetAttribute(
XmlNames
.NameAttributeName);
275
else if (
XmlNames
.ElementEquals(localName,
XmlNames
.ExceptionElementName))
277
var type = reader.GetAttribute(
XmlNames
.CrefAttributeName);
291
else if (
XmlNames
.ElementEquals(localName,
XmlNames
.CompletionListElementName))
293
var cref = reader.GetAttribute(
XmlNames
.CrefAttributeName);