5 references to Update
Microsoft.CodeAnalysis.CSharp (5)
Syntax.xml.Main.Generated.cs (1)
1948
=> node.
Update
(VisitToken(node.OpenParenToken), (TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type"), VisitToken(node.Identifier), VisitToken(node.CloseParenToken));
Syntax.xml.Syntax.Generated.cs (4)
9141
public CatchDeclarationSyntax WithOpenParenToken(SyntaxToken openParenToken) =>
Update
(openParenToken, this.Type, this.Identifier, this.CloseParenToken);
9142
public CatchDeclarationSyntax WithType(TypeSyntax type) =>
Update
(this.OpenParenToken, type, this.Identifier, this.CloseParenToken);
9143
public CatchDeclarationSyntax WithIdentifier(SyntaxToken identifier) =>
Update
(this.OpenParenToken, this.Type, identifier, this.CloseParenToken);
9144
public CatchDeclarationSyntax WithCloseParenToken(SyntaxToken closeParenToken) =>
Update
(this.OpenParenToken, this.Type, this.Identifier, closeParenToken);