45 references to CatchBlock
Microsoft.CodeAnalysis.VisualBasic (23)
Binding\Binder_Statements.vb (4)
235If Not node.Parent.Kind = SyntaxKind.CatchBlock Then 840SyntaxKind.CatchBlock, 875block.Kind = SyntaxKind.CatchBlock OrElse 5150Case SyntaxKind.CatchBlock
Generated\Syntax.xml.Internal.Generated.vb (4)
46715Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.CatchBlock, catchStatement, statements.Node, hash) 46720Dim result = New CatchBlockSyntax(SyntaxKind.CatchBlock, catchStatement, statements.Node) 58793Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.CatchBlock, catchStatement, statements.Node, _factoryContext, hash) 58798Dim result = New CatchBlockSyntax(SyntaxKind.CatchBlock, catchStatement, statements.Node, _factoryContext)
Generated\Syntax.xml.Main.Generated.vb (1)
14727Return New CatchBlockSyntax(SyntaxKind.CatchBlock, Nothing, Nothing, catchStatement, statements.Node)
Generated\Syntax.xml.Syntax.Generated.vb (1)
15637''' <item><description><see cref="SyntaxKind.CatchBlock"/></description></item>
Lowering\Instrumentation\Instrumenter.vb (2)
263Debug.Assert(original.Syntax.Kind = SyntaxKind.CatchBlock) 276Debug.Assert(original.Syntax.Kind = SyntaxKind.CatchBlock)
Parser\BlockContexts\BlockContext.vb (2)
501Dim context = FindNearestInSameMethodScope(SyntaxKind.TryBlock, SyntaxKind.CatchBlock, SyntaxKind.FinallyBlock) 807Case SyntaxKind.TryBlock, SyntaxKind.CatchBlock, SyntaxKind.FinallyBlock
Parser\BlockContexts\CatchPartContext.vb (1)
18MyBase.New(SyntaxKind.CatchBlock, statement, prevContext)
Parser\BlockContexts\ExecutableStatementContext.vb (1)
179SyntaxKind.CatchBlock,
Parser\BlockContexts\TryBlockContext.vb (2)
37Case SyntaxKind.CatchBlock 60SyntaxKind.CatchBlock,
Parser\Parser.vb (1)
5836Dim closedContext = context.FindNearest(SyntaxKind.TryBlock, SyntaxKind.CatchBlock)
Scanner\Blender.vb (1)
135SyntaxKind.CatchBlock,
Syntax\LambdaUtilities.vb (1)
666SyntaxKind.CatchBlock,
Syntax\SyntaxFacts.vb (2)
488Case SyntaxKind.CatchBlock 746Case SyntaxKind.CatchBlock
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (2)
SyntaxNodeExtensions.vb (2)
493SyntaxKind.CatchBlock, 566Case SyntaxKind.CatchBlock
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
VisualBasicSyntaxContext.vb (1)
232If node.IsKind(SyntaxKind.FinallyBlock, SyntaxKind.SyncLockBlock, SyntaxKind.CatchBlock) Then
Microsoft.CodeAnalysis.VisualBasic.Features (13)
CodeFixes\IncorrectExitContinue\IncorrectExitContinueCodeFixProvider.vb (2)
238Case SyntaxKind.TryBlock, SyntaxKind.CatchBlock 265Case SyntaxKind.TryBlock, SyntaxKind.CatchBlock
Completion\KeywordRecommenders\Statements\CatchKeywordRecommender.vb (1)
27Return If(context.IsInStatementBlockOfKind(SyntaxKind.TryBlock, SyntaxKind.CatchBlock) AndAlso Not context.IsInStatementBlockOfKind(SyntaxKind.FinallyBlock),
Completion\KeywordRecommenders\Statements\ExitKeywordRecommender.vb (1)
32SyntaxKind.TryBlock, SyntaxKind.CatchBlock,
Completion\KeywordRecommenders\Statements\FinallyKeywordRecommender.vb (1)
54If parent.IsKind(SyntaxKind.CatchBlock) AndAlso tryBlock.CatchBlocks.Contains(DirectCast(parent, CatchBlockSyntax)) Then
EditAndContinue\SyntaxComparer.vb (2)
488Case SyntaxKind.CatchBlock 1067Case SyntaxKind.CatchBlock
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (5)
1646Case SyntaxKind.CatchBlock 2027Case SyntaxKind.CatchBlock 2547Case SyntaxKind.CatchBlock, 2591Case SyntaxKind.CatchBlock, 2618Case SyntaxKind.CatchBlock
LambdaUtilities.vb (1)
666SyntaxKind.CatchBlock,
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Syntax\SyntaxFactsTest.vb (1)
106Assert.Equal("Catch", SyntaxFacts.GetBlockName(SyntaxKind.CatchBlock))
Microsoft.CodeAnalysis.VisualBasic.Workspaces (5)
Rename\VisualBasicRenameRewriterLanguageService.vb (2)
850n.Kind = SyntaxKind.CatchBlock) 853enclosingStatement = If(possibleSpecialStatement.Kind = SyntaxKind.CatchBlock,
SyntaxNodeExtensions.vb (2)
493SyntaxKind.CatchBlock, 566Case SyntaxKind.CatchBlock
VisualBasicSyntaxContext.vb (1)
232If node.IsKind(SyntaxKind.FinallyBlock, SyntaxKind.SyncLockBlock, SyntaxKind.CatchBlock) Then