4 instantiations of WhileBlockSyntax
Microsoft.CodeAnalysis.VisualBasic (4)
Generated\Syntax.xml.Internal.Generated.vb (1)
11003Return new Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileBlockSyntax(Me, parent, startLocation)
Generated\Syntax.xml.Main.Generated.vb (2)
2738Return New WhileBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newWhileStatement, newStatements.Node, newEndWhileStatement) 12810Return New WhileBlockSyntax(SyntaxKind.WhileBlock, Nothing, Nothing, whileStatement, statements.Node, endWhileStatement)
Generated\Syntax.xml.Syntax.Generated.vb (1)
12723Me.New(New Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.WhileBlockSyntax(kind, errors, annotations, DirectCast(whileStatement.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.WhileStatementSyntax), if(statements IsNot Nothing, statements.Green, Nothing), DirectCast(endWhileStatement.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.EndBlockStatementSyntax)), Nothing, 0)
69 references to WhileBlockSyntax
Microsoft.CodeAnalysis.VisualBasic (19)
Binding\Binder_Statements.vb (2)
91Return BindWhileBlock(DirectCast(node, WhileBlockSyntax), diagnostics) 2820Private Function BindWhileBlock(node As WhileBlockSyntax, diagnostics As BindingDiagnosticBag) As BoundStatement
Binding\LocalBinderBuilder.vb (1)
203Public Overrides Sub VisitWhileBlock(node As WhileBlockSyntax)
Generated\Syntax.xml.Main.Generated.vb (6)
221Public Overridable Function VisitWhileBlock(ByVal node As WhileBlockSyntax) As TResult 956Public Overridable Sub VisitWhileBlock(ByVal node As WhileBlockSyntax) 2727Public Overrides Function VisitWhileBlock(ByVal node As WhileBlockSyntax) As SyntaxNode 12793Public Shared Function WhileBlock(whileStatement As WhileStatementSyntax, statements As SyntaxList(of StatementSyntax), endWhileStatement As EndBlockStatementSyntax) As WhileBlockSyntax 12824Public Shared Function WhileBlock(whileStatement As WhileStatementSyntax, statements As SyntaxList(of StatementSyntax)) As WhileBlockSyntax 12836Public Shared Function WhileBlock(whileStatement As WhileStatementSyntax) As WhileBlockSyntax
Generated\Syntax.xml.Syntax.Generated.vb (5)
12740Public Shadows Function WithWhileStatement(whileStatement as WhileStatementSyntax) As WhileBlockSyntax 12762Public Shadows Function WithStatements(statements as SyntaxList(Of StatementSyntax)) As WhileBlockSyntax 12766Public Shadows Function AddStatements(ParamArray items As StatementSyntax()) As WhileBlockSyntax 12784Public Shadows Function WithEndWhileStatement(endWhileStatement as EndBlockStatementSyntax) As WhileBlockSyntax 12836Public Function Update(whileStatement As WhileStatementSyntax, statements As SyntaxList(of StatementSyntax), endWhileStatement As EndBlockStatementSyntax) As WhileBlockSyntax
Lowering\Instrumentation\DebugInfoInjector.vb (2)
179Return New BoundSequencePoint(DirectCast(original.Syntax, WhileBlockSyntax).EndWhileStatement, MyBase.InstrumentWhileEpilogue(original, epilogueOpt)) 183Return New BoundSequencePoint(DirectCast(original.Syntax, WhileBlockSyntax).WhileStatement,
Semantics\StatementSyntaxWalker.vb (1)
112Public Overrides Sub VisitWhileBlock(ByVal node As WhileBlockSyntax)
Syntax\SyntaxFacts.vb (1)
384Dim whileBlock = DirectCast(possibleBlock, WhileBlockSyntax)
Syntax\SyntaxNormalizer.vb (1)
978Public Overrides Function VisitWhileBlock(node As WhileBlockSyntax) As SyntaxNode
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (6)
ElasticTriviaFormattingRule.vb (1)
319IsBeginStatement(Of WhileStatementSyntax, WhileBlockSyntax)(currentStatement) OrElse
NodeBasedFormattingRule.vb (1)
374Dim [while] = TryCast(node, WhileBlockSyntax)
SyntaxNodeExtensions.vb (3)
122Dim whileBlock = TryCast(node, WhileBlockSyntax) 545Return DirectCast(node, WhileBlockSyntax).Statements 620Function(x As WhileBlockSyntax) x.WithStatements(statements),
VisualBasicHeaderFacts.vb (1)
128Dim whileBlock = TryGetAncestorForLocation(Of WhileBlockSyntax)(root, position)
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (1)
EndConstructGeneration\EndConstructStatementVisitor.vb (1)
254Dim needsEnd = node.GetAncestorsOrThis(Of WhileBlockSyntax)().Any(Function(block) block.EndWhileStatement.IsMissing)
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (1)
Structure\WhileBlockStructureTests.vb (1)
11Inherits AbstractVisualBasicSyntaxNodeStructureProviderTests(Of WhileBlockSyntax)
Microsoft.CodeAnalysis.VisualBasic.Features (13)
CodeFixes\GenerateEndConstruct\GenerateEndConstructCodeFixProvider.vb (2)
137(Function(n As WhileBlockSyntax) n.WhileStatement), 157(Function(n As WhileBlockSyntax) n.EndWhileStatement),
Completion\KeywordRecommenders\Declarations\EndBlockKeywordRecommender.vb (1)
222Public Overrides Function VisitWhileBlock(node As WhileBlockSyntax) As SyntaxKind?
EditAndContinue\SyntaxComparer.vb (1)
953Dim block = DirectCast(node, WhileBlockSyntax)
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (1)
1669Return DirectCast(node, WhileBlockSyntax).WhileStatement.Span
ExtractMethod\VisualBasicMethodExtractor.VisualBasicCodeGenerator.CallSiteContainerRewriter.vb (1)
138Public Overrides Function VisitWhileBlock(node As WhileBlockSyntax) As SyntaxNode
ExtractMethod\VisualBasicSelectionValidator.Validator.vb (1)
46If TypeOf statement Is WhileBlockSyntax OrElse
Highlighting\KeywordHighlighters\WhileBlockHighlighter.vb (1)
31Dim whileBlock = node.GetAncestor(Of WhileBlockSyntax)()
InvertIf\VisualBasicInvertIfCodeRefactoringProvider.vb (2)
27TypeOf node IsNot WhileBlockSyntax 48If TypeOf node Is WhileBlockSyntax Then
Structure\Providers\WhileBlockStructureProvider.vb (2)
12Inherits AbstractSyntaxNodeStructureProvider(Of WhileBlockSyntax) 15node As WhileBlockSyntax,
Structure\VisualBasicBlockStructureProvider.vb (1)
47builder.Add(Of WhileBlockSyntax, WhileBlockStructureProvider)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Generated\Syntax.Test.xml.Generated.vb (1)
11740Private Shared Function GenerateRedWhileBlock() As WhileBlockSyntax
Microsoft.CodeAnalysis.VisualBasic.Workspaces (6)
Formatting\Rules\ElasticTriviaFormattingRule.vb (1)
319IsBeginStatement(Of WhileStatementSyntax, WhileBlockSyntax)(currentStatement) OrElse
Formatting\Rules\NodeBasedFormattingRule.vb (1)
374Dim [while] = TryCast(node, WhileBlockSyntax)
SyntaxNodeExtensions.vb (3)
122Dim whileBlock = TryCast(node, WhileBlockSyntax) 545Return DirectCast(node, WhileBlockSyntax).Statements 620Function(x As WhileBlockSyntax) x.WithStatements(statements),
VisualBasicHeaderFacts.vb (1)
128Dim whileBlock = TryGetAncestorForLocation(Of WhileBlockSyntax)(root, position)
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (2)
CodeGeneration\SyntaxGeneratorTests.vb (2)
699VerifySyntax(Of WhileBlockSyntax)( 705VerifySyntax(Of WhileBlockSyntax)(
Roslyn.Compilers.VisualBasic.IOperation.UnitTests (20)
IOperation\IOperationTests_IBranchOperation.Extensions.vb (1)
62AssertOuterIsCorrespondingLoopOfInner(Of WhileBlockSyntax, ContinueStatementSyntax)(
IOperation\IOperationTests_IWhileUntilLoopStatement.vb (19)
184VerifyOperationTreeForTest(Of WhileBlockSyntax)(source, expectedOperationTree) 239VerifyOperationTreeForTest(Of WhileBlockSyntax)(source, expectedOperationTree) 320VerifyOperationTreeForTest(Of WhileBlockSyntax)(source, expectedOperationTree) 398VerifyOperationTreeForTest(Of WhileBlockSyntax)(source, expectedOperationTree) 481VerifyOperationTreeForTest(Of WhileBlockSyntax)(source, expectedOperationTree) 510VerifyOperationTreeForTest(Of WhileBlockSyntax)(source, expectedOperationTree) 572VerifyOperationTreeForTest(Of WhileBlockSyntax)(source, expectedOperationTree) 639VerifyOperationTreeForTest(Of WhileBlockSyntax)(source, expectedOperationTree) 706VerifyOperationTreeForTest(Of WhileBlockSyntax)(source, expectedOperationTree) 736VerifyOperationTreeForTest(Of WhileBlockSyntax)(source, expectedOperationTree) 802VerifyOperationTreeForTest(Of WhileBlockSyntax)(source, expectedOperationTree) 863VerifyOperationTreeForTest(Of WhileBlockSyntax)(source, expectedOperationTree) 959VerifyOperationTreeForTest(Of WhileBlockSyntax)(source, expectedOperationTree) 1067VerifyOperationTreeForTest(Of WhileBlockSyntax)(source, expectedOperationTree) 1115VerifyOperationTreeForTest(Of WhileBlockSyntax)(source, expectedOperationTree) 1156VerifyOperationTreeForTest(Of WhileBlockSyntax)(source, expectedOperationTree) 1191VerifyOperationTreeForTest(Of WhileBlockSyntax)(source, expectedOperationTree) 1279VerifyOperationTreeForTest(Of WhileBlockSyntax)(source, expectedOperationTree) 1476VerifyOperationTreeForTest(Of WhileBlockSyntax)(source, expectedOperationTree)