19 references to IsInStatementBlockOfKind
Microsoft.CodeAnalysis.VisualBasic.Features (19)
Completion\KeywordRecommenders\Declarations\FunctionKeywordRecommender.vb (1)
40
Not context.
IsInStatementBlockOfKind
(SyntaxKind.FinallyBlock) Then
Completion\KeywordRecommenders\Declarations\PropertyKeywordRecommender.vb (2)
35
context.
IsInStatementBlockOfKind
(SyntaxKind.PropertyBlock) AndAlso
36
Not context.
IsInStatementBlockOfKind
(SyntaxKind.FinallyBlock) Then
Completion\KeywordRecommenders\Declarations\SubKeywordRecommender.vb (1)
36
Not context.
IsInStatementBlockOfKind
(SyntaxKind.FinallyBlock) Then
Completion\KeywordRecommenders\Statements\CaseKeywordRecommender.vb (1)
31
If Not context.
IsInStatementBlockOfKind
(SyntaxKind.SelectBlock) OrElse
Completion\KeywordRecommenders\Statements\CatchKeywordRecommender.vb (1)
27
Return If(context.IsInStatementBlockOfKind(SyntaxKind.TryBlock, SyntaxKind.CatchBlock) AndAlso Not context.
IsInStatementBlockOfKind
(SyntaxKind.FinallyBlock),
Completion\KeywordRecommenders\Statements\DoKeywordRecommender.vb (1)
35
Not context.
IsInStatementBlockOfKind
(SyntaxKind.FinallyBlock) Then
Completion\KeywordRecommenders\Statements\ElseIfKeywordRecommender.vb (1)
23
Not context.
IsInStatementBlockOfKind
(SyntaxKind.ElseBlock) Then
Completion\KeywordRecommenders\Statements\ExitKeywordRecommender.vb (1)
38
If context.
IsInStatementBlockOfKind
(SyntaxKind.FinallyBlock) Then
Completion\KeywordRecommenders\Statements\FinallyKeywordRecommender.vb (1)
36
If context.
IsInStatementBlockOfKind
(SyntaxKind.TryBlock) AndAlso
Completion\KeywordRecommenders\Statements\ForKeywordRecommender.vb (1)
32
Not context.
IsInStatementBlockOfKind
(SyntaxKind.FinallyBlock) Then
Completion\KeywordRecommenders\Statements\GoToKeywordRecommender.vb (1)
21
Return If(context.IsMultiLineStatementContext AndAlso Not context.
IsInStatementBlockOfKind
(SyntaxKind.FinallyBlock),
Completion\KeywordRecommenders\Statements\ReturnKeywordRecommender.vb (1)
21
Return If(context.IsStatementContext AndAlso Not context.
IsInStatementBlockOfKind
(SyntaxKind.FinallyBlock),
Completion\KeywordRecommenders\Statements\SelectKeywordRecommender.vb (2)
24
context.
IsInStatementBlockOfKind
(SyntaxKind.SelectBlock) AndAlso
25
Not context.
IsInStatementBlockOfKind
(SyntaxKind.FinallyBlock) Then
Completion\KeywordRecommenders\Statements\TryKeywordRecommender.vb (2)
29
context.
IsInStatementBlockOfKind
(SyntaxKind.TryBlock) AndAlso
30
Not context.
IsInStatementBlockOfKind
(SyntaxKind.FinallyBlock) Then
Completion\KeywordRecommenders\Statements\WhileLoopKeywordRecommender.vb (2)
30
context.
IsInStatementBlockOfKind
(SyntaxKind.WhileBlock) AndAlso
31
Not context.
IsInStatementBlockOfKind
(SyntaxKind.FinallyBlock) Then