29 references to CatchClause
Microsoft.CodeAnalysis.CSharp (7)
Compilation\CSharpSemanticModel.cs (1)
3303Debug.Assert(catchClause.Kind() == SyntaxKind.CatchClause);
Compilation\MemberSemanticModel.cs (1)
262else if (kind == SyntaxKind.CatchClause)
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (1)
548Debug.Assert(node.Syntax.IsKind(SyntaxKind.CatchClause));
Lowering\Instrumentation\Instrumenter.cs (1)
302Debug.Assert(original.Syntax.Kind() == SyntaxKind.CatchClause);
Lowering\LocalRewriter\LocalRewriter_FixedStatement.cs (1)
132case SyntaxKind.CatchClause:
Syntax\LambdaUtilities.cs (1)
394case SyntaxKind.CatchClause:
Syntax\SyntaxNodeExtensions.cs (1)
85case SyntaxKind.CatchClause:
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\NewLineUserSettingFormattingRule.cs (1)
62case SyntaxKind.CatchClause:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\FormattingRangeHelper.cs (1)
366SyntaxKind.CatchClause or
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs (1)
141or SyntaxKind.CatchClause
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2954block.Parent?.Kind() is SyntaxKind.TryStatement or SyntaxKind.CatchClause)
Microsoft.CodeAnalysis.CSharp.Features (7)
BraceCompletion\CurlyBraceCompletionService.cs (1)
219case SyntaxKind.CatchClause:
EditAndContinue\BreakpointSpans.cs (1)
279case SyntaxKind.CatchClause:
EditAndContinue\SyntaxComparer.cs (3)
443case SyntaxKind.CatchClause: 885case SyntaxKind.CatchClause: 1073case SyntaxKind.CatchClause:
src\Compilers\CSharp\Portable\Syntax\LambdaUtilities.cs (1)
394case SyntaxKind.CatchClause:
Structure\Providers\BlockSyntaxStructureProvider.cs (1)
208SyntaxKind.CatchClause => BlockTypes.Statement,
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (6)
Parsing\DeclarationScopeParsingTests.cs (3)
14724N(SyntaxKind.CatchClause); 14800N(SyntaxKind.CatchClause); 14886N(SyntaxKind.CatchClause);
Parsing\FieldKeywordParsingTests.cs (1)
1876N(SyntaxKind.CatchClause);
Parsing\StatementAttributeParsingTests.cs (2)
3067N(SyntaxKind.CatchClause); 3140N(SyntaxKind.CatchClause);
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
Classification\ClassificationHelpers.cs (1)
120case SyntaxKind.CatchClause:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\NewLineUserSettingFormattingRule.cs (1)
62case SyntaxKind.CatchClause:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\FormattingRangeHelper.cs (1)
366SyntaxKind.CatchClause or
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs (1)
141or SyntaxKind.CatchClause
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2954block.Parent?.Kind() is SyntaxKind.TryStatement or SyntaxKind.CatchClause)