5 references to WithAttributes
Microsoft.CodeAnalysis.CSharp (1)
Syntax.xml.Syntax.Generated.cs (1)
15012
public XmlEmptyElementSyntax AddAttributes(params XmlAttributeSyntax[] items) =>
WithAttributes
(this.Attributes.AddRange(items));
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\UsePrimaryConstructor\CSharpUsePrimaryConstructorCodeFixProvider.cs (1)
634
.
WithAttributes
([XmlNameAttribute(parameterName)]);
Microsoft.CodeAnalysis.CSharp.Features (2)
ConvertPrimaryToRegularConstructor\ConvertPrimaryToRegularConstructorCodeRefactoringProvider.cs (1)
384
.
WithAttributes
([XmlCrefAttribute(TypeCref(fieldName))]);
src\Analyzers\CSharp\CodeFixes\UsePrimaryConstructor\CSharpUsePrimaryConstructorCodeFixProvider.cs (1)
634
.
WithAttributes
([XmlNameAttribute(parameterName)]);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Generated\Syntax.Test.xml.Generated.cs (1)
13867
var newNode = node.WithLessThanToken(node.LessThanToken).WithName(node.Name).
WithAttributes
(node.Attributes).WithSlashGreaterThanToken(node.SlashGreaterThanToken);