18 references to EndWhileStatement
Microsoft.CodeAnalysis.VisualBasic (10)
Generated\Syntax.xml.Main.Generated.vb (2)
2734Dim newEndWhileStatement = DirectCast(Visit(node.EndWhileStatement), EndBlockStatementSyntax) 2735If node.EndWhileStatement IsNot newEndWhileStatement Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (4)
12741return Update(whileStatement, Me.Statements, Me.EndWhileStatement) 12763return Update(Me.WhileStatement, statements, Me.EndWhileStatement) 12808Return Me.EndWhileStatement 12837If whileStatement IsNot Me.WhileStatement OrElse statements <> Me.Statements OrElse endWhileStatement IsNot Me.EndWhileStatement Then
Lowering\Instrumentation\DebugInfoInjector.vb (1)
179Return New BoundSequencePoint(DirectCast(original.Syntax, WhileBlockSyntax).EndWhileStatement, MyBase.InstrumentWhileEpilogue(original, epilogueOpt))
Semantics\StatementSyntaxWalker.vb (1)
115Visit(node.EndWhileStatement)
Syntax\SyntaxFacts.vb (1)
387endStatement = whileBlock.EndWhileStatement
Syntax\SyntaxNormalizer.vb (1)
986AddLinebreaksAfterTokenIfNeeded(node.EndWhileStatement.GetLastToken(), 2)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
NodeBasedFormattingRule.vb (1)
378[while].EndWhileStatement.GetFirstToken(includeZeroWidth:=True).GetPreviousToken(includeZeroWidth:=True))
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (1)
EndConstructGeneration\EndConstructStatementVisitor.vb (1)
254Dim needsEnd = node.GetAncestorsOrThis(Of WhileBlockSyntax)().Any(Function(block) block.EndWhileStatement.IsMissing)
Microsoft.CodeAnalysis.VisualBasic.Features (3)
CodeFixes\GenerateEndConstruct\GenerateEndConstructCodeFixProvider.vb (1)
157(Function(n As WhileBlockSyntax) n.EndWhileStatement),
Completion\KeywordRecommenders\Declarations\EndBlockKeywordRecommender.vb (1)
223If node.EndWhileStatement.IsMissing Then
Highlighting\KeywordHighlighters\WhileBlockHighlighter.vb (1)
43highlights.Add(.EndWhileStatement.Span)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.vb (2)
19400Assert.NotNull(objectUnderTest.endWhileStatement) 19401Dim withObj = objectUnderTest.WithWhileStatement(objectUnderTest.WhileStatement).WithStatements(objectUnderTest.Statements).WithEndWhileStatement(objectUnderTest.EndWhileStatement)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
Formatting\Rules\NodeBasedFormattingRule.vb (1)
378[while].EndWhileStatement.GetFirstToken(includeZeroWidth:=True).GetPreviousToken(includeZeroWidth:=True))