10 references to Update
Microsoft.CodeAnalysis.CSharp (10)
Syntax.xml.Main.Generated.cs (1)
1897
=> node.
Update
(VisitList(node.AttributeLists), VisitToken(node.DoKeyword), (StatementSyntax?)Visit(node.Statement) ?? throw new ArgumentNullException("statement"), VisitToken(node.WhileKeyword), VisitToken(node.OpenParenToken), (ExpressionSyntax?)Visit(node.Condition) ?? throw new ArgumentNullException("condition"), VisitToken(node.CloseParenToken), VisitToken(node.SemicolonToken));
Syntax.xml.Syntax.Generated.cs (8)
7594
public new DoStatementSyntax WithAttributeLists(SyntaxList<AttributeListSyntax> attributeLists) =>
Update
(attributeLists, this.DoKeyword, this.Statement, this.WhileKeyword, this.OpenParenToken, this.Condition, this.CloseParenToken, this.SemicolonToken);
7595
public DoStatementSyntax WithDoKeyword(SyntaxToken doKeyword) =>
Update
(this.AttributeLists, doKeyword, this.Statement, this.WhileKeyword, this.OpenParenToken, this.Condition, this.CloseParenToken, this.SemicolonToken);
7596
public DoStatementSyntax WithStatement(StatementSyntax statement) =>
Update
(this.AttributeLists, this.DoKeyword, statement, this.WhileKeyword, this.OpenParenToken, this.Condition, this.CloseParenToken, this.SemicolonToken);
7597
public DoStatementSyntax WithWhileKeyword(SyntaxToken whileKeyword) =>
Update
(this.AttributeLists, this.DoKeyword, this.Statement, whileKeyword, this.OpenParenToken, this.Condition, this.CloseParenToken, this.SemicolonToken);
7598
public DoStatementSyntax WithOpenParenToken(SyntaxToken openParenToken) =>
Update
(this.AttributeLists, this.DoKeyword, this.Statement, this.WhileKeyword, openParenToken, this.Condition, this.CloseParenToken, this.SemicolonToken);
7599
public DoStatementSyntax WithCondition(ExpressionSyntax condition) =>
Update
(this.AttributeLists, this.DoKeyword, this.Statement, this.WhileKeyword, this.OpenParenToken, condition, this.CloseParenToken, this.SemicolonToken);
7600
public DoStatementSyntax WithCloseParenToken(SyntaxToken closeParenToken) =>
Update
(this.AttributeLists, this.DoKeyword, this.Statement, this.WhileKeyword, this.OpenParenToken, this.Condition, closeParenToken, this.SemicolonToken);
7601
public DoStatementSyntax WithSemicolonToken(SyntaxToken semicolonToken) =>
Update
(this.AttributeLists, this.DoKeyword, this.Statement, this.WhileKeyword, this.OpenParenToken, this.Condition, this.CloseParenToken, semicolonToken);
Syntax\DoStatementSyntax.cs (1)
12
=>
Update
(AttributeLists, doKeyword, statement, whileKeyword, openParenToken, condition, closeParenToken, semicolonToken);