25 references to WhileStatement
Microsoft.CodeAnalysis.VisualBasic (11)
Binding\Binder_Statements.vb (1)
2824
Dim condition As BoundExpression = BindBooleanExpression(node.
WhileStatement
.Condition, diagnostics)
Generated\Syntax.xml.Main.Generated.vb (2)
2730
Dim newWhileStatement = DirectCast(Visit(node.
WhileStatement
), WhileStatementSyntax)
2731
If node.
WhileStatement
IsNot newWhileStatement Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (4)
12763
return Update(Me.
WhileStatement
, statements, Me.EndWhileStatement)
12785
return Update(Me.
WhileStatement
, Me.Statements, endWhileStatement)
12804
Return Me.
WhileStatement
12837
If whileStatement IsNot Me.
WhileStatement
OrElse statements <> Me.Statements OrElse endWhileStatement IsNot Me.EndWhileStatement Then
Lowering\Instrumentation\DebugInfoInjector.vb (1)
183
Return New BoundSequencePoint(DirectCast(original.Syntax, WhileBlockSyntax).
WhileStatement
,
Semantics\StatementSyntaxWalker.vb (1)
113
Visit(node.
WhileStatement
)
Syntax\SyntaxFacts.vb (1)
385
beginStatement = whileBlock.
WhileStatement
Syntax\SyntaxNormalizer.vb (1)
979
AddLinebreaksAfterTokenIfNeeded(node.
WhileStatement
.GetLastToken(), 1)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (3)
NodeBasedFormattingRule.vb (1)
377
[while].
WhileStatement
.GetLastToken().GetNextToken(includeZeroWidth:=True),
VisualBasicHeaderFacts.vb (2)
131
Return IsOnHeader(root, position, whileBlock.
WhileStatement
, whileBlock.
WhileStatement
)
Microsoft.CodeAnalysis.VisualBasic.Features (6)
CodeFixes\GenerateEndConstruct\GenerateEndConstructCodeFixProvider.vb (1)
137
(Function(n As WhileBlockSyntax) n.
WhileStatement
),
EditAndContinue\SyntaxComparer.vb (1)
954
Return New With {.Begin = CType(block.
WhileStatement
, StatementSyntax), block.Statements}
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (1)
1669
Return DirectCast(node, WhileBlockSyntax).
WhileStatement
.Span
ExtractMethod\VisualBasicMethodExtractor.VisualBasicCodeGenerator.CallSiteContainerRewriter.vb (1)
144
Return node.WithWhileStatement(ReplaceStatementIfNeeded(node.
WhileStatement
)).
Highlighting\KeywordHighlighters\WhileBlockHighlighter.vb (1)
37
highlights.Add(.
WhileStatement
.WhileKeyword.Span)
Structure\Providers\WhileBlockStructureProvider.vb (1)
20
node, node.
WhileStatement
, autoCollapse:=False,
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.vb (2)
19399
Assert.NotNull(objectUnderTest.
whileStatement
)
19401
Dim withObj = objectUnderTest.WithWhileStatement(objectUnderTest.
WhileStatement
).WithStatements(objectUnderTest.Statements).WithEndWhileStatement(objectUnderTest.EndWhileStatement)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (3)
Formatting\Rules\NodeBasedFormattingRule.vb (1)
377
[while].
WhileStatement
.GetLastToken().GetNextToken(includeZeroWidth:=True),
VisualBasicHeaderFacts.vb (2)
131
Return IsOnHeader(root, position, whileBlock.
WhileStatement
, whileBlock.
WhileStatement
)