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