29 references to FinallyBlock
Microsoft.CodeAnalysis.VisualBasic (16)
Binding\Binder_Statements.vb (4)
4719If node.FinallyBlock IsNot Nothing Then 4720Dim finallyBinder = GetBinder(node.FinallyBlock) 4721finallyBlockOpt = finallyBinder.BindBlock(node.FinallyBlock, node.FinallyBlock.Statements, diagnostics)
Binding\LocalBinderBuilder.vb (1)
267MakeBinder(node.FinallyBlock, _containingBinder)
Generated\Syntax.xml.Main.Generated.vb (2)
3054Dim newFinallyBlock = DirectCast(Visit(node.FinallyBlock), FinallyBlockSyntax) 3055If node.FinallyBlock IsNot newFinallyBlock Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (8)
15372return Update(tryStatement, Me.Statements, Me.CatchBlocks, Me.FinallyBlock, Me.EndTryStatement) 15394return Update(Me.TryStatement, statements, Me.CatchBlocks, Me.FinallyBlock, Me.EndTryStatement) 15421return Update(Me.TryStatement, Me.Statements, catchBlocks, Me.FinallyBlock, Me.EndTryStatement) 15450Dim _child = If(Me.FinallyBlock IsNot Nothing, Me.FinallyBlock, SyntaxFactory.FinallyBlock()) 15469return Update(Me.TryStatement, Me.Statements, Me.CatchBlocks, Me.FinallyBlock, endTryStatement) 15498Return Me.FinallyBlock 15535If tryStatement IsNot Me.TryStatement OrElse statements <> Me.Statements OrElse catchBlocks <> Me.CatchBlocks OrElse finallyBlock IsNot Me.FinallyBlock OrElse endTryStatement IsNot Me.EndTryStatement Then
Semantics\StatementSyntaxWalker.vb (1)
167Visit(node.FinallyBlock)
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (2)
LineCommit\ContainingStatementInfo.MatchingStatementsVisitor.vb (2)
98If node.FinallyBlock IsNot Nothing Then 99parts.Add(node.FinallyBlock.FinallyStatement)
Microsoft.CodeAnalysis.VisualBasic.Features (9)
Completion\KeywordRecommenders\Statements\FinallyKeywordRecommender.vb (1)
30If tryBlock Is Nothing OrElse tryBlock.FinallyBlock IsNot Nothing Then
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (4)
2588Return SyntaxFactory.AreEquivalent(oldTryBlock.FinallyBlock, newTryBlock.FinallyBlock) AndAlso 2612Debug.Assert(tryBlock.FinallyBlock IsNot Nothing) 2613Return TextSpan.FromBounds(tryBlock.FinallyBlock.SpanStart, tryBlock.EndTryStatement.Span.End)
Highlighting\KeywordHighlighters\TryBlockHighlighter.vb (2)
49If .FinallyBlock IsNot Nothing Then 50highlights.Add(.FinallyBlock.FinallyStatement.FinallyKeyword.Span)
IntroduceUsingStatement\VisualBasicIntroduceUsingStatementCodeRefactoringProvider.vb (2)
30Return (tryStatement.Statements, If(tryStatement.FinallyBlock IsNot Nothing, tryStatement.FinallyBlock.Statements, Nothing))
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
FlowAnalysis\TryLockUsingStatementTests.vb (1)
1646statement = tryBlock.FinallyBlock.FinallyStatement
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Generated\Syntax.Test.xml.Generated.vb (1)
19689Dim withObj = objectUnderTest.WithTryStatement(objectUnderTest.TryStatement).WithStatements(objectUnderTest.Statements).WithCatchBlocks(objectUnderTest.CatchBlocks).WithFinallyBlock(objectUnderTest.FinallyBlock).WithEndTryStatement(objectUnderTest.EndTryStatement)