9 references to IsInStatementBlockOfKind
Microsoft.CodeAnalysis.VisualBasic.Features (9)
Completion\KeywordRecommenders\Declarations\FunctionKeywordRecommender.vb (1)
39
context.
IsInStatementBlockOfKind
(SyntaxKind.FunctionBlock, SyntaxKind.MultiLineFunctionLambdaExpression) AndAlso
Completion\KeywordRecommenders\Declarations\SubKeywordRecommender.vb (1)
35
context.
IsInStatementBlockOfKind
(SyntaxKind.SubBlock, SyntaxKind.MultiLineSubLambdaExpression) AndAlso
Completion\KeywordRecommenders\Statements\CatchKeywordRecommender.vb (1)
27
Return If(context.
IsInStatementBlockOfKind
(SyntaxKind.TryBlock, SyntaxKind.CatchBlock) AndAlso Not context.IsInStatementBlockOfKind(SyntaxKind.FinallyBlock),
Completion\KeywordRecommenders\Statements\ContinueKeywordRecommender.vb (1)
22
If context.
IsInStatementBlockOfKind
(
Completion\KeywordRecommenders\Statements\DoKeywordRecommender.vb (1)
32
context.
IsInStatementBlockOfKind
(SyntaxKind.SimpleDoLoopBlock,
Completion\KeywordRecommenders\Statements\ElseIfKeywordRecommender.vb (1)
22
context.
IsInStatementBlockOfKind
(SyntaxKind.MultiLineIfBlock, SyntaxKind.ElseIfBlock) AndAlso
Completion\KeywordRecommenders\Statements\ExitKeywordRecommender.vb (1)
22
If Not context.
IsInStatementBlockOfKind
(
Completion\KeywordRecommenders\Statements\ForKeywordRecommender.vb (1)
31
context.
IsInStatementBlockOfKind
(SyntaxKind.ForBlock, SyntaxKind.ForEachBlock) AndAlso
Completion\KeywordRecommenders\Statements\NextKeywordRecommender.vb (1)
21
Return If(context.IsStatementContext AndAlso context.
IsInStatementBlockOfKind
(SyntaxKind.ForBlock, SyntaxKind.ForEachBlock),