47 references to CatchBlock
Microsoft.CodeAnalysis.VisualBasic (23)
Binding\Binder_Statements.vb (4)
235If Not node.Parent.Kind = SyntaxKind.CatchBlock Then 871SyntaxKind.CatchBlock, 906block.Kind = SyntaxKind.CatchBlock OrElse 5181Case SyntaxKind.CatchBlock
Generated\Syntax.xml.Internal.Generated.vb (4)
38775Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.CatchBlock, catchStatement, statements.Node, hash) 38780Dim result = New CatchBlockSyntax(SyntaxKind.CatchBlock, catchStatement, statements.Node) 50841Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.CatchBlock, catchStatement, statements.Node, _factoryContext, hash) 50846Dim 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)
502Dim context = FindNearestInSameMethodScope(SyntaxKind.TryBlock, SyntaxKind.CatchBlock, SyntaxKind.FinallyBlock) 808Case 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)
5843Dim closedContext = context.FindNearest(SyntaxKind.TryBlock, SyntaxKind.CatchBlock)
Scanner\Blender.vb (1)
135SyntaxKind.CatchBlock,
Syntax\LambdaUtilities.vb (1)
674SyntaxKind.CatchBlock,
Syntax\SyntaxFacts.vb (2)
488Case SyntaxKind.CatchBlock 746Case SyntaxKind.CatchBlock
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxNodeExtensions.vb (2)
494SyntaxKind.CatchBlock, 567Case SyntaxKind.CatchBlock
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\VisualBasicSyntaxContext.vb (1)
244If 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)
486Case SyntaxKind.CatchBlock 1069Case SyntaxKind.CatchBlock
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (5)
1211Case SyntaxKind.CatchBlock 1594Case SyntaxKind.CatchBlock 2056Case SyntaxKind.CatchBlock, 2101Case SyntaxKind.CatchBlock, 2128Case SyntaxKind.CatchBlock
src\roslyn\src\Compilers\VisualBasic\Portable\Syntax\LambdaUtilities.vb (1)
674SyntaxKind.CatchBlock,
Microsoft.CodeAnalysis.VisualBasic.Workspaces (5)
Rename\VisualBasicRenameRewriterLanguageService.vb (2)
859n.Kind = SyntaxKind.CatchBlock) 862enclosingStatement = If(possibleSpecialStatement.Kind = SyntaxKind.CatchBlock,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxNodeExtensions.vb (2)
494SyntaxKind.CatchBlock, 567Case SyntaxKind.CatchBlock
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\VisualBasicSyntaxContext.vb (1)
244If node.IsKind(SyntaxKind.FinallyBlock, SyntaxKind.SyncLockBlock, SyntaxKind.CatchBlock) Then
Roslyn.Diagnostics.VisualBasic.Analyzers (3)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxNodeExtensions.vb (2)
494SyntaxKind.CatchBlock, 567Case SyntaxKind.CatchBlock
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\VisualBasicSyntaxContext.vb (1)
244If node.IsKind(SyntaxKind.FinallyBlock, SyntaxKind.SyncLockBlock, SyntaxKind.CatchBlock) Then