Base:
property
AttributeLists
Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax.AttributeLists
9 references to AttributeLists
Microsoft.CodeAnalysis.CSharp (7)
Syntax.xml.Main.Generated.cs (1)
1864
=> node.Update(VisitList(node.
AttributeLists
), VisitToken(node.Identifier), VisitToken(node.ColonToken), (StatementSyntax?)Visit(node.Statement) ?? throw new ArgumentNullException("statement"));
Syntax.xml.Syntax.Generated.cs (5)
6999
if (attributeLists != this.
AttributeLists
|| identifier != this.Identifier || colonToken != this.ColonToken || statement != this.Statement)
7011
public LabeledStatementSyntax WithIdentifier(SyntaxToken identifier) => Update(this.
AttributeLists
, identifier, this.ColonToken, this.Statement);
7012
public LabeledStatementSyntax WithColonToken(SyntaxToken colonToken) => Update(this.
AttributeLists
, this.Identifier, colonToken, this.Statement);
7013
public LabeledStatementSyntax WithStatement(StatementSyntax statement) => Update(this.
AttributeLists
, this.Identifier, this.ColonToken, statement);
7016
public new LabeledStatementSyntax AddAttributeLists(params AttributeListSyntax[] items) => WithAttributeLists(this.
AttributeLists
.AddRange(items));
Syntax\LabeledStatementSyntax.cs (1)
12
=> Update(
AttributeLists
, identifier, colonToken, statement);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
12518
Assert.Equal(default, node.
AttributeLists
);
12522
var newNode = node.WithAttributeLists(node.
AttributeLists
).WithIdentifier(node.Identifier).WithColonToken(node.ColonToken).WithStatement(node.Statement);