6 references to Update
Microsoft.CodeAnalysis.CSharp (6)
Syntax.xml.Main.Generated.cs (1)
1879
=> node.
Update
(VisitList(node.AttributeLists), VisitToken(node.ThrowKeyword), (ExpressionSyntax?)Visit(node.Expression), VisitToken(node.SemicolonToken));
Syntax.xml.Syntax.Generated.cs (4)
7330
public new ThrowStatementSyntax WithAttributeLists(SyntaxList<AttributeListSyntax> attributeLists) =>
Update
(attributeLists, this.ThrowKeyword, this.Expression, this.SemicolonToken);
7331
public ThrowStatementSyntax WithThrowKeyword(SyntaxToken throwKeyword) =>
Update
(this.AttributeLists, throwKeyword, this.Expression, this.SemicolonToken);
7332
public ThrowStatementSyntax WithExpression(ExpressionSyntax? expression) =>
Update
(this.AttributeLists, this.ThrowKeyword, expression, this.SemicolonToken);
7333
public ThrowStatementSyntax WithSemicolonToken(SyntaxToken semicolonToken) =>
Update
(this.AttributeLists, this.ThrowKeyword, this.Expression, semicolonToken);
Syntax\ThrowStatementSyntax.cs (1)
12
=>
Update
(AttributeLists, throwKeyword, expression, semicolonToken);