Base:
property
AttributeLists
Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax.AttributeLists
10 references to AttributeLists
Microsoft.CodeAnalysis.CSharp (10)
_generated\0\Syntax.xml.Main.Generated.cs (1)
1927
=> node.Update(VisitList(node.
AttributeLists
), VisitToken(node.IfKeyword), VisitToken(node.OpenParenToken), (ExpressionSyntax?)Visit(node.Condition) ?? throw new ArgumentNullException("condition"), VisitToken(node.CloseParenToken), (StatementSyntax?)Visit(node.Statement) ?? throw new ArgumentNullException("statement"), (ElseClauseSyntax?)Visit(node.Else));
_generated\2\Syntax.xml.Syntax.Generated.cs (8)
8418
if (attributeLists != this.
AttributeLists
|| ifKeyword != this.IfKeyword || openParenToken != this.OpenParenToken || condition != this.Condition || closeParenToken != this.CloseParenToken || statement != this.Statement || @else != this.Else)
8430
public IfStatementSyntax WithIfKeyword(SyntaxToken ifKeyword) => Update(this.
AttributeLists
, ifKeyword, this.OpenParenToken, this.Condition, this.CloseParenToken, this.Statement, this.Else);
8431
public IfStatementSyntax WithOpenParenToken(SyntaxToken openParenToken) => Update(this.
AttributeLists
, this.IfKeyword, openParenToken, this.Condition, this.CloseParenToken, this.Statement, this.Else);
8432
public IfStatementSyntax WithCondition(ExpressionSyntax condition) => Update(this.
AttributeLists
, this.IfKeyword, this.OpenParenToken, condition, this.CloseParenToken, this.Statement, this.Else);
8433
public IfStatementSyntax WithCloseParenToken(SyntaxToken closeParenToken) => Update(this.
AttributeLists
, this.IfKeyword, this.OpenParenToken, this.Condition, closeParenToken, this.Statement, this.Else);
8434
public IfStatementSyntax WithStatement(StatementSyntax statement) => Update(this.
AttributeLists
, this.IfKeyword, this.OpenParenToken, this.Condition, this.CloseParenToken, statement, this.Else);
8435
public IfStatementSyntax WithElse(ElseClauseSyntax? @else) => Update(this.
AttributeLists
, this.IfKeyword, this.OpenParenToken, this.Condition, this.CloseParenToken, this.Statement, @else);
8438
public new IfStatementSyntax AddAttributeLists(params AttributeListSyntax[] items) => WithAttributeLists(this.
AttributeLists
.AddRange(items));
Syntax\IfStatementSyntax.cs (1)
12
=> Update(
AttributeLists
, ifKeyword, openParenToken, condition, closeParenToken, statement, @else);