5 references to XmlNameAttribute
Microsoft.CodeAnalysis.CSharp (2)
Syntax\SyntaxFactory.cs (2)
944
return element.WithStartTag(element.StartTag.AddAttributes(
XmlNameAttribute
(parameterName)));
954
return XmlEmptyElement(DocumentationCommentXmlNames.ParameterReferenceElementName).AddAttributes(
XmlNameAttribute
(parameterName));
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\UsePrimaryConstructor\CSharpUsePrimaryConstructorCodeFixProvider_DocComments.cs (1)
84
? ConvertXmlElementName(xmlElement, s_paramTagName).AddStartTagAttributes(
XmlNameAttribute
(CSharpSyntaxFacts.Instance.EscapeIdentifier(parameterName)))
Microsoft.CodeAnalysis.CSharp.Features (2)
ReplacePropertyWithMethods\CSharpReplacePropertyWithMethodsService.ConvertValueToParamRewriter.cs (1)
30
.AddAttributes(SyntaxFactory.
XmlNameAttribute
("value"));
src\Analyzers\CSharp\CodeFixes\UsePrimaryConstructor\CSharpUsePrimaryConstructorCodeFixProvider_DocComments.cs (1)
84
? ConvertXmlElementName(xmlElement, s_paramTagName).AddStartTagAttributes(
XmlNameAttribute
(CSharpSyntaxFacts.Instance.EscapeIdentifier(parameterName)))