Base:
property
AttributeLists
Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax.AttributeLists
11 references to AttributeLists
Microsoft.CodeAnalysis.CSharp (9)
Syntax.xml.Main.Generated.cs (1)
1885
=> node.Update(VisitList(node.
AttributeLists
), VisitToken(node.WhileKeyword), VisitToken(node.OpenParenToken), (ExpressionSyntax?)Visit(node.Condition) ?? throw new ArgumentNullException("condition"), VisitToken(node.CloseParenToken), (StatementSyntax?)Visit(node.Statement) ?? throw new ArgumentNullException("statement"));
Syntax.xml.Syntax.Generated.cs (7)
7460
if (attributeLists != this.
AttributeLists
|| whileKeyword != this.WhileKeyword || openParenToken != this.OpenParenToken || condition != this.Condition || closeParenToken != this.CloseParenToken || statement != this.Statement)
7472
public WhileStatementSyntax WithWhileKeyword(SyntaxToken whileKeyword) => Update(this.
AttributeLists
, whileKeyword, this.OpenParenToken, this.Condition, this.CloseParenToken, this.Statement);
7473
public WhileStatementSyntax WithOpenParenToken(SyntaxToken openParenToken) => Update(this.
AttributeLists
, this.WhileKeyword, openParenToken, this.Condition, this.CloseParenToken, this.Statement);
7474
public WhileStatementSyntax WithCondition(ExpressionSyntax condition) => Update(this.
AttributeLists
, this.WhileKeyword, this.OpenParenToken, condition, this.CloseParenToken, this.Statement);
7475
public WhileStatementSyntax WithCloseParenToken(SyntaxToken closeParenToken) => Update(this.
AttributeLists
, this.WhileKeyword, this.OpenParenToken, this.Condition, closeParenToken, this.Statement);
7476
public WhileStatementSyntax WithStatement(StatementSyntax statement) => Update(this.
AttributeLists
, this.WhileKeyword, this.OpenParenToken, this.Condition, this.CloseParenToken, statement);
7479
public new WhileStatementSyntax AddAttributeLists(params AttributeListSyntax[] items) => WithAttributeLists(this.
AttributeLists
.AddRange(items));
Syntax\WhileStatementSyntax.cs (1)
12
=> Update(
AttributeLists
, whileKeyword, openParenToken, condition, closeParenToken, statement);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
12609
Assert.Equal(default, node.
AttributeLists
);
12615
var newNode = node.WithAttributeLists(node.
AttributeLists
).WithWhileKeyword(node.WhileKeyword).WithOpenParenToken(node.OpenParenToken).WithCondition(node.Condition).WithCloseParenToken(node.CloseParenToken).WithStatement(node.Statement);