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