13 references to WithAttributeLists
Microsoft.CodeAnalysis.CSharp (2)
_generated\2\Syntax.xml.Syntax.Generated.cs (2)
12423
internal override MemberDeclarationSyntax WithAttributeListsCore(SyntaxList<AttributeListSyntax> attributeLists) =>
WithAttributeLists
(attributeLists);
12442
public new MethodDeclarationSyntax AddAttributeLists(params AttributeListSyntax[] items) =>
WithAttributeLists
(this.AttributeLists.AddRange(items));
Microsoft.CodeAnalysis.CSharp.Features (3)
CodeRefactorings\ConvertLocalFunctionToMethod\CSharpConvertLocalFunctionToMethodCodeRefactoringProvider.cs (1)
126
method = method.WithoutLeadingTrivia().
WithAttributeLists
(localFunction.AttributeLists).WithLeadingTrivia(method.GetLeadingTrivia());
ReplacePropertyWithMethods\CSharpReplacePropertyWithMethodsService.cs (2)
135
methodDeclaration = methodDeclaration.
WithAttributeLists
(setAccessorDeclaration.AttributeLists);
209
methodDeclaration = methodDeclaration.
WithAttributeLists
(getAccessorDeclaration.AttributeLists);
Microsoft.Interop.JavaScript.JSImportGenerator (4)
JSExportGenerator.cs (3)
122
.
WithAttributeLists
(SingletonList(AttributeList(SingletonSeparatedList(
216
.
WithAttributeLists
(List(attributes))
222
.
WithAttributeLists
(
JSImportGenerator.cs (1)
94
.
WithAttributeLists
(SingletonList(AttributeList(SingletonSeparatedList(
QuarantineTools.Tests (4)
ActiveIssueTests.cs (2)
412
return removed ? method.
WithAttributeLists
(SyntaxFactory.List(newLists)) : method;
457
var updated = method.
WithAttributeLists
(newLists);
QuarantineScriptTests.cs (2)
356
return removed ? method.
WithAttributeLists
(SyntaxFactory.List(newLists)) : method;
401
var updated = method.
WithAttributeLists
(newLists);