Base:
property
AttributeLists
Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax.AttributeLists
10 references to AttributeLists
Microsoft.CodeAnalysis.CSharp (8)
Syntax.xml.Main.Generated.cs (1)
1867
=> node.Update(VisitList(node.
AttributeLists
), VisitToken(node.GotoKeyword), VisitToken(node.CaseOrDefaultKeyword), (ExpressionSyntax?)Visit(node.Expression), VisitToken(node.SemicolonToken));
Syntax.xml.Syntax.Generated.cs (6)
7090
if (attributeLists != this.
AttributeLists
|| gotoKeyword != this.GotoKeyword || caseOrDefaultKeyword != this.CaseOrDefaultKeyword || expression != this.Expression || semicolonToken != this.SemicolonToken)
7102
public GotoStatementSyntax WithGotoKeyword(SyntaxToken gotoKeyword) => Update(this.
AttributeLists
, gotoKeyword, this.CaseOrDefaultKeyword, this.Expression, this.SemicolonToken);
7103
public GotoStatementSyntax WithCaseOrDefaultKeyword(SyntaxToken caseOrDefaultKeyword) => Update(this.
AttributeLists
, this.GotoKeyword, caseOrDefaultKeyword, this.Expression, this.SemicolonToken);
7104
public GotoStatementSyntax WithExpression(ExpressionSyntax? expression) => Update(this.
AttributeLists
, this.GotoKeyword, this.CaseOrDefaultKeyword, expression, this.SemicolonToken);
7105
public GotoStatementSyntax WithSemicolonToken(SyntaxToken semicolonToken) => Update(this.
AttributeLists
, this.GotoKeyword, this.CaseOrDefaultKeyword, this.Expression, semicolonToken);
7108
public new GotoStatementSyntax AddAttributeLists(params AttributeListSyntax[] items) => WithAttributeLists(this.
AttributeLists
.AddRange(items));
Syntax\GotoStatementSyntax.cs (1)
12
=> Update(
AttributeLists
, gotoKeyword, caseOrDefaultKeyword, expression, semicolonToken);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
12531
Assert.Equal(default, node.
AttributeLists
);
12536
var newNode = node.WithAttributeLists(node.
AttributeLists
).WithGotoKeyword(node.GotoKeyword).WithCaseOrDefaultKeyword(node.CaseOrDefaultKeyword).WithExpression(node.Expression).WithSemicolonToken(node.SemicolonToken);