Base:
property
AttributeLists
Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax.AttributeLists
11 references to AttributeLists
Microsoft.CodeAnalysis.CSharp (6)
Syntax.xml.Main.Generated.cs (1)
1828
=> node.Update(VisitList(node.
AttributeLists
), VisitList(node.Modifiers), (StatementSyntax?)Visit(node.Statement) ?? throw new ArgumentNullException("statement"));
Syntax.xml.Syntax.Generated.cs (4)
6203
if (attributeLists != this.
AttributeLists
|| modifiers != this.Modifiers || statement != this.Statement)
6216
public new GlobalStatementSyntax WithModifiers(SyntaxTokenList modifiers) => Update(this.
AttributeLists
, modifiers, this.Statement);
6217
public GlobalStatementSyntax WithStatement(StatementSyntax statement) => Update(this.
AttributeLists
, this.Modifiers, statement);
6220
public new GlobalStatementSyntax AddAttributeLists(params AttributeListSyntax[] items) => WithAttributeLists(this.
AttributeLists
.AddRange(items));
Syntax\GlobalStatementSyntax.cs (1)
10
=> this.Update(this.
AttributeLists
, this.Modifiers, statement);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Generated\Syntax.Test.xml.Generated.cs (2)
12370
Assert.Equal(default, node.
AttributeLists
);
12373
var newNode = node.WithAttributeLists(node.
AttributeLists
).WithModifiers(node.Modifiers).WithStatement(node.Statement);
IncrementalParsing\BinaryExpression.cs (1)
217
Assert.True(statementType.
AttributeLists
.Count == 0);
IncrementalParsing\CompoundAssignment.cs (1)
157
Assert.True(statementType.
AttributeLists
.Count == 0);
IncrementalParsing\UnaryExpression.cs (1)
100
Assert.True(statementType.
AttributeLists
.Count == 0);