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