5 references to Update
Microsoft.CodeAnalysis.CSharp (5)
Syntax.xml.Main.Generated.cs (1)
1945
=> node.
Update
(VisitToken(node.CatchKeyword), (CatchDeclarationSyntax?)Visit(node.Declaration), (CatchFilterClauseSyntax?)Visit(node.Filter), (BlockSyntax?)Visit(node.Block) ?? throw new ArgumentNullException("block"));
Syntax.xml.Syntax.Generated.cs (4)
9083
public CatchClauseSyntax WithCatchKeyword(SyntaxToken catchKeyword) =>
Update
(catchKeyword, this.Declaration, this.Filter, this.Block);
9084
public CatchClauseSyntax WithDeclaration(CatchDeclarationSyntax? declaration) =>
Update
(this.CatchKeyword, declaration, this.Filter, this.Block);
9085
public CatchClauseSyntax WithFilter(CatchFilterClauseSyntax? filter) =>
Update
(this.CatchKeyword, this.Declaration, filter, this.Block);
9086
public CatchClauseSyntax WithBlock(BlockSyntax block) =>
Update
(this.CatchKeyword, this.Declaration, this.Filter, block);