17 references to CloseParenToken
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)
9131if (openParenToken != this.OpenParenToken || type != this.Type || identifier != this.Identifier || closeParenToken != this.CloseParenToken) 9141public CatchDeclarationSyntax WithOpenParenToken(SyntaxToken openParenToken) => Update(openParenToken, this.Type, this.Identifier, this.CloseParenToken); 9142public CatchDeclarationSyntax WithType(TypeSyntax type) => Update(this.OpenParenToken, type, this.Identifier, this.CloseParenToken); 9143public CatchDeclarationSyntax WithIdentifier(SyntaxToken identifier) => Update(this.OpenParenToken, this.Type, identifier, this.CloseParenToken);
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
719CatchDeclarationSyntax n => (n.OpenParenToken, n.CloseParenToken),
Microsoft.CodeAnalysis.CSharp.Features (1)
EditAndContinue\BreakpointSpans.cs (1)
924return CreateSpan(catchClause.CatchKeyword, catchClause.Declaration.CloseParenToken);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (8)
Generated\Syntax.Test.xml.Generated.cs (2)
12917Assert.Equal(SyntaxKind.CloseParenToken, node.CloseParenToken.Kind()); 12918var newNode = node.WithOpenParenToken(node.OpenParenToken).WithType(node.Type).WithIdentifier(node.Identifier).WithCloseParenToken(node.CloseParenToken);
Parsing\StatementParsingTests.cs (6)
1246Assert.NotEqual(default, ts.Catches[0].Declaration.CloseParenToken); 1275Assert.NotEqual(default, ts.Catches[0].Declaration.CloseParenToken); 1330Assert.NotEqual(default, ts.Catches[0].Declaration.CloseParenToken); 1338Assert.NotEqual(default, ts.Catches[1].Declaration.CloseParenToken); 1396Assert.NotEqual(default, ts.Catches[0].Declaration.CloseParenToken); 1404Assert.NotEqual(default, ts.Catches[1].Declaration.CloseParenToken);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
719CatchDeclarationSyntax n => (n.OpenParenToken, n.CloseParenToken),
Roslyn.Diagnostics.CSharp.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
719CatchDeclarationSyntax n => (n.OpenParenToken, n.CloseParenToken),