13 references to WithAttributeLists
Microsoft.CodeAnalysis.CSharp (2)
_generated\2\Syntax.xml.Syntax.Generated.cs (2)
12423internal override MemberDeclarationSyntax WithAttributeListsCore(SyntaxList<AttributeListSyntax> attributeLists) => WithAttributeLists(attributeLists); 12442public new MethodDeclarationSyntax AddAttributeLists(params AttributeListSyntax[] items) => WithAttributeLists(this.AttributeLists.AddRange(items));
Microsoft.CodeAnalysis.CSharp.Features (3)
CodeRefactorings\ConvertLocalFunctionToMethod\CSharpConvertLocalFunctionToMethodCodeRefactoringProvider.cs (1)
126method = method.WithoutLeadingTrivia().WithAttributeLists(localFunction.AttributeLists).WithLeadingTrivia(method.GetLeadingTrivia());
ReplacePropertyWithMethods\CSharpReplacePropertyWithMethodsService.cs (2)
135methodDeclaration = methodDeclaration.WithAttributeLists(setAccessorDeclaration.AttributeLists); 209methodDeclaration = 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)
412return removed ? method.WithAttributeLists(SyntaxFactory.List(newLists)) : method; 457var updated = method.WithAttributeLists(newLists);
QuarantineScriptTests.cs (2)
356return removed ? method.WithAttributeLists(SyntaxFactory.List(newLists)) : method; 401var updated = method.WithAttributeLists(newLists);