9 references to WithAttributeLists
Microsoft.CodeAnalysis.CSharp (2)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Syntax.xml.Syntax.Generated.cs (2)
12674
internal override MemberDeclarationSyntax WithAttributeListsCore(SyntaxList<AttributeListSyntax> attributeLists) =>
WithAttributeLists
(attributeLists);
12693
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);
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);