34 references to LoopStatement
Microsoft.CodeAnalysis.VisualBasic (15)
Binding\Binder_Statements.vb (1)
2807Dim bottomConditionSyntax = node.LoopStatement.WhileOrUntilClause
Generated\Syntax.xml.Main.Generated.vb (2)
3372Dim newLoopStatement = DirectCast(Visit(node.LoopStatement), LoopStatementSyntax) 3373If node.LoopStatement IsNot newLoopStatement Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (4)
17988return Update(Me.Kind, doStatement, Me.Statements, Me.LoopStatement) 18010return Update(Me.Kind, Me.DoStatement, statements, Me.LoopStatement) 18055Return Me.LoopStatement 18087If kind <> Me.Kind OrElse doStatement IsNot Me.DoStatement OrElse statements <> Me.Statements OrElse loopStatement IsNot Me.LoopStatement Then
Lowering\Instrumentation\DebugInfoInjector.vb (1)
154Return New BoundSequencePoint(DirectCast(original.Syntax, DoLoopBlockSyntax).LoopStatement, MyBase.InstrumentDoLoopEpilogue(original, epilogueOpt))
Lowering\Instrumentation\Instrumenter.vb (1)
124Debug.Assert(DirectCast(original.Syntax, DoLoopBlockSyntax).LoopStatement IsNot Nothing)
Lowering\LocalRewriter\LocalRewriter_DoLoop.vb (2)
86If instrument AndAlso syntax.LoopStatement IsNot Nothing Then 176If instrument AndAlso syntax.LoopStatement IsNot Nothing Then
Semantics\StatementSyntaxWalker.vb (1)
195Visit(node.LoopStatement)
Syntax\SyntaxFacts.vb (1)
406endStatement = doBlock.LoopStatement
Syntax\SyntaxNormalizer.vb (2)
906AddLinebreaksAfterTokenIfNeeded(node.LoopStatement.GetLastToken(), 1) 908AddLinebreaksAfterTokenIfNeeded(node.LoopStatement.GetLastToken(), 2)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
NodeBasedFormattingRule.vb (1)
474[do].LoopStatement.GetFirstToken(includeZeroWidth:=True).GetPreviousToken(includeZeroWidth:=True))
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (2)
EndConstructGeneration\EndConstructStatementVisitor.vb (1)
35Dim needsEnd = node.GetAncestorsOrThis(Of DoLoopBlockSyntax)().Any(Function(block) block.LoopStatement.IsMissing)
LineCommit\ContainingStatementInfo.MatchingStatementsVisitor.vb (1)
38Return New StatementSyntax() {node.DoStatement, node.LoopStatement}
Microsoft.CodeAnalysis.VisualBasic.Features (5)
CodeFixes\GenerateEndConstruct\GenerateEndConstructCodeFixProvider.vb (1)
160(Function(n As DoLoopBlockSyntax) n.LoopStatement),
Completion\KeywordRecommenders\Statements\LoopKeywordRecommender.vb (1)
24If doBlock Is Nothing OrElse Not doBlock.LoopStatement.IsMissing Then
EditAndContinue\SyntaxComparer.vb (1)
950Return New With {.Begin = CType(block.LoopStatement, StatementSyntax), block.Statements}
ExtractMethod\VisualBasicMethodExtractor.VisualBasicCodeGenerator.CallSiteContainerRewriter.vb (1)
267WithLoopStatement(ReplaceStatementIfNeeded(node.LoopStatement))
Highlighting\KeywordHighlighters\DoLoopBlockHighlighter.vb (1)
48With doLoop.LoopStatement
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (10)
Generated\Syntax.Test.xml.Generated.vb (10)
19964Assert.NotNull(objectUnderTest.loopStatement) 19965Dim withObj = objectUnderTest.WithDoStatement(objectUnderTest.DoStatement).WithStatements(objectUnderTest.Statements).WithLoopStatement(objectUnderTest.LoopStatement) 19973Assert.NotNull(objectUnderTest.loopStatement) 19974Dim withObj = objectUnderTest.WithDoStatement(objectUnderTest.DoStatement).WithStatements(objectUnderTest.Statements).WithLoopStatement(objectUnderTest.LoopStatement) 19982Assert.NotNull(objectUnderTest.loopStatement) 19983Dim withObj = objectUnderTest.WithDoStatement(objectUnderTest.DoStatement).WithStatements(objectUnderTest.Statements).WithLoopStatement(objectUnderTest.LoopStatement) 19991Assert.NotNull(objectUnderTest.loopStatement) 19992Dim withObj = objectUnderTest.WithDoStatement(objectUnderTest.DoStatement).WithStatements(objectUnderTest.Statements).WithLoopStatement(objectUnderTest.LoopStatement) 20000Assert.NotNull(objectUnderTest.loopStatement) 20001Dim withObj = objectUnderTest.WithDoStatement(objectUnderTest.DoStatement).WithStatements(objectUnderTest.Statements).WithLoopStatement(objectUnderTest.LoopStatement)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
Formatting\Rules\NodeBasedFormattingRule.vb (1)
474[do].LoopStatement.GetFirstToken(includeZeroWidth:=True).GetPreviousToken(includeZeroWidth:=True))