47 references to WhileBlock
Microsoft.CodeAnalysis.VisualBasic (29)
Binding\Binder_Statements.vb (2)
90
Case SyntaxKind.
WhileBlock
208
node.Parent.Kind = SyntaxKind.
WhileBlock
OrElse
Binding\MemberSemanticModel.vb (1)
287
SyntaxKind.
WhileBlock
,
Generated\Syntax.xml.Internal.Generated.vb (4)
45587
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.
WhileBlock
, whileStatement, statements.Node, endWhileStatement, hash)
45592
Dim result = New WhileBlockSyntax(SyntaxKind.
WhileBlock
, whileStatement, statements.Node, endWhileStatement)
57665
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.
WhileBlock
, whileStatement, statements.Node, endWhileStatement, _factoryContext, hash)
57670
Dim result = New WhileBlockSyntax(SyntaxKind.
WhileBlock
, whileStatement, statements.Node, endWhileStatement, _factoryContext)
Generated\Syntax.xml.Main.Generated.vb (4)
12810
Return New WhileBlockSyntax(SyntaxKind.
WhileBlock
, Nothing, Nothing, whileStatement, statements.Node, endWhileStatement)
35857
SyntaxKind.
WhileBlock
,
36151
SyntaxKind.
WhileBlock
,
36453
SyntaxKind.
WhileBlock
,
Generated\Syntax.xml.Syntax.Generated.vb (1)
12706
''' <item><description><see cref="SyntaxKind.
WhileBlock
"/></description></item>
Lowering\Instrumentation\Instrumenter.vb (2)
166
Debug.Assert(original.Syntax.Kind = SyntaxKind.
WhileBlock
)
172
Debug.Assert(original.Syntax.Kind = SyntaxKind.
WhileBlock
)
Lowering\LambdaRewriter\LambdaRewriter.vb (1)
1236
SyntaxKind.
WhileBlock
,
Parser\BlockContexts\BlockContext.vb (5)
486
Return New StatementBlockContext(SyntaxKind.
WhileBlock
, DirectCast(node, StatementSyntax), Me)
512
SyntaxKind.
WhileBlock
,
545
Case SyntaxKind.
WhileBlock
689
Case SyntaxKind.
WhileBlock
792
Case SyntaxKind.
WhileBlock
Parser\BlockContexts\SingleLineLambdaContext.vb (1)
108
SyntaxKind.
WhileBlock
,
Parser\BlockContexts\StatementBlockContext.vb (1)
25
Case SyntaxKind.
WhileBlock
Parser\ParseStatement.vb (2)
72
Case SyntaxKind.
WhileBlock
173
Case SyntaxKind.
WhileBlock
Syntax\LambdaUtilities.vb (1)
647
Case SyntaxKind.
WhileBlock
,
Syntax\SyntaxFacts.vb (2)
383
Case SyntaxKind.
WhileBlock
713
Case SyntaxKind.
WhileBlock
Syntax\SyntaxKindFacts.vb (2)
545
Case SyntaxKind.
WhileBlock
,
559
Case SyntaxKind.
WhileBlock
,
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (2)
SyntaxNodeExtensions.vb (2)
482
Case SyntaxKind.
WhileBlock
,
544
Case SyntaxKind.
WhileBlock
Microsoft.CodeAnalysis.VisualBasic.Features (13)
CodeFixes\IncorrectExitContinue\IncorrectExitContinueCodeFixProvider.vb (4)
181
.Where(Function(eb) eb.IsKind(SyntaxKind.
WhileBlock
,
236
Case SyntaxKind.
WhileBlock
263
Case SyntaxKind.
WhileBlock
298
Case SyntaxKind.
WhileBlock
Completion\KeywordRecommenders\Statements\ContinueKeywordRecommender.vb (1)
30
SyntaxKind.
WhileBlock
) Then
Completion\KeywordRecommenders\Statements\ExitKeywordRecommender.vb (1)
33
SyntaxKind.
WhileBlock
) Then
Completion\KeywordRecommenders\Statements\WhileLoopKeywordRecommender.vb (1)
30
context.IsInStatementBlockOfKind(SyntaxKind.
WhileBlock
) AndAlso
EditAndContinue\SyntaxComparer.vb (3)
369
SyntaxKind.
WhileBlock
944
SyntaxKind.
WhileBlock
952
Case SyntaxKind.
WhileBlock
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (1)
1668
Case SyntaxKind.
WhileBlock
GoToDefinition\VisualBasicGoToDefinitionSymbolService.vb (1)
103
While node IsNot Nothing AndAlso Not node.IsKind(SyntaxKind.
WhileBlock
)
LambdaUtilities.vb (1)
647
Case SyntaxKind.
WhileBlock
,
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Syntax\SyntaxFactsTest.vb (1)
95
Assert.Equal("While", SyntaxFacts.GetBlockName(SyntaxKind.
WhileBlock
))
Microsoft.CodeAnalysis.VisualBasic.Workspaces (2)
SyntaxNodeExtensions.vb (2)
482
Case SyntaxKind.
WhileBlock
,
544
Case SyntaxKind.
WhileBlock