9 instantiations of DoLoopBlockSyntax
Microsoft.CodeAnalysis.VisualBasic (9)
Generated\Syntax.xml.Internal.Generated.vb (1)
16556Return new Microsoft.CodeAnalysis.VisualBasic.Syntax.DoLoopBlockSyntax(Me, parent, startLocation)
Generated\Syntax.xml.Main.Generated.vb (7)
3376Return New DoLoopBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newDoStatement, newStatements.Node, newLoopStatement) 17779Return New DoLoopBlockSyntax(SyntaxKind.SimpleDoLoopBlock, Nothing, Nothing, doStatement, statements.Node, loopStatement) 17828Return New DoLoopBlockSyntax(SyntaxKind.DoWhileLoopBlock, Nothing, Nothing, doStatement, statements.Node, loopStatement) 17877Return New DoLoopBlockSyntax(SyntaxKind.DoUntilLoopBlock, Nothing, Nothing, doStatement, statements.Node, loopStatement) 17926Return New DoLoopBlockSyntax(SyntaxKind.DoLoopWhileBlock, Nothing, Nothing, doStatement, statements.Node, loopStatement) 17975Return New DoLoopBlockSyntax(SyntaxKind.DoLoopUntilBlock, Nothing, Nothing, doStatement, statements.Node, loopStatement) 18028Return New DoLoopBlockSyntax(kind, Nothing, Nothing, doStatement, statements.Node, loopStatement)
Generated\Syntax.xml.Syntax.Generated.vb (1)
17970Me.New(New Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.DoLoopBlockSyntax(kind, errors, annotations, DirectCast(doStatement.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.DoStatementSyntax), if(statements IsNot Nothing, statements.Green, Nothing), DirectCast(loopStatement.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.LoopStatementSyntax)), Nothing, 0)
77 references to DoLoopBlockSyntax
Microsoft.CodeAnalysis.VisualBasic (33)
Binding\Binder_Statements.vb (2)
88Return BindDoLoop(DirectCast(node, DoLoopBlockSyntax), diagnostics) 2785Private Function BindDoLoop(node As DoLoopBlockSyntax, diagnostics As BindingDiagnosticBag) As BoundStatement
Binding\LocalBinderBuilder.vb (1)
300Public Overrides Sub VisitDoLoopBlock(node As DoLoopBlockSyntax)
Generated\Syntax.xml.Main.Generated.vb (15)
341Public Overridable Function VisitDoLoopBlock(ByVal node As DoLoopBlockSyntax) As TResult 1076Public Overridable Sub VisitDoLoopBlock(ByVal node As DoLoopBlockSyntax) 3365Public Overrides Function VisitDoLoopBlock(ByVal node As DoLoopBlockSyntax) As SyntaxNode 17758Public Shared Function SimpleDoLoopBlock(doStatement As DoStatementSyntax, statements As SyntaxList(of StatementSyntax), loopStatement As LoopStatementSyntax) As DoLoopBlockSyntax 17793Public Shared Function SimpleDoLoopBlock(doStatement As DoStatementSyntax, loopStatement As LoopStatementSyntax) As DoLoopBlockSyntax 17811Public Shared Function DoWhileLoopBlock(doStatement As DoStatementSyntax, statements As SyntaxList(of StatementSyntax), loopStatement As LoopStatementSyntax) As DoLoopBlockSyntax 17842Public Shared Function DoWhileLoopBlock(doStatement As DoStatementSyntax, loopStatement As LoopStatementSyntax) As DoLoopBlockSyntax 17860Public Shared Function DoUntilLoopBlock(doStatement As DoStatementSyntax, statements As SyntaxList(of StatementSyntax), loopStatement As LoopStatementSyntax) As DoLoopBlockSyntax 17891Public Shared Function DoUntilLoopBlock(doStatement As DoStatementSyntax, loopStatement As LoopStatementSyntax) As DoLoopBlockSyntax 17909Public Shared Function DoLoopWhileBlock(doStatement As DoStatementSyntax, statements As SyntaxList(of StatementSyntax), loopStatement As LoopStatementSyntax) As DoLoopBlockSyntax 17940Public Shared Function DoLoopWhileBlock(doStatement As DoStatementSyntax, loopStatement As LoopStatementSyntax) As DoLoopBlockSyntax 17958Public Shared Function DoLoopUntilBlock(doStatement As DoStatementSyntax, statements As SyntaxList(of StatementSyntax), loopStatement As LoopStatementSyntax) As DoLoopBlockSyntax 17989Public Shared Function DoLoopUntilBlock(doStatement As DoStatementSyntax, loopStatement As LoopStatementSyntax) As DoLoopBlockSyntax 18012Public Shared Function DoLoopBlock(ByVal kind As SyntaxKind, doStatement As DoStatementSyntax, statements As SyntaxList(of StatementSyntax), loopStatement As LoopStatementSyntax) As DoLoopBlockSyntax 18079Public Shared Function DoLoopBlock(ByVal kind As SyntaxKind, doStatement As DoStatementSyntax, loopStatement As LoopStatementSyntax) As DoLoopBlockSyntax
Generated\Syntax.xml.Syntax.Generated.vb (5)
17987Public Shadows Function WithDoStatement(doStatement as DoStatementSyntax) As DoLoopBlockSyntax 18009Public Shadows Function WithStatements(statements as SyntaxList(Of StatementSyntax)) As DoLoopBlockSyntax 18013Public Shadows Function AddStatements(ParamArray items As StatementSyntax()) As DoLoopBlockSyntax 18031Public Shadows Function WithLoopStatement(loopStatement as LoopStatementSyntax) As DoLoopBlockSyntax 18086Public Function Update(kind As SyntaxKind, doStatement As DoStatementSyntax, statements As SyntaxList(of StatementSyntax), loopStatement As LoopStatementSyntax) As DoLoopBlockSyntax
Lowering\Instrumentation\DebugInfoInjector.vb (2)
154Return New BoundSequencePoint(DirectCast(original.Syntax, DoLoopBlockSyntax).LoopStatement, MyBase.InstrumentDoLoopEpilogue(original, epilogueOpt)) 188Return New BoundSequencePoint(DirectCast(original.Syntax, DoLoopBlockSyntax).DoStatement,
Lowering\Instrumentation\Instrumenter.vb (2)
124Debug.Assert(DirectCast(original.Syntax, DoLoopBlockSyntax).LoopStatement IsNot Nothing) 181Debug.Assert(TypeOf original.Syntax Is DoLoopBlockSyntax)
Lowering\LocalRewriter\LocalRewriter_DoLoop.vb (3)
50Dim syntax = DirectCast(node.Syntax, DoLoopBlockSyntax) 66Dim syntax = DirectCast(node.Syntax, DoLoopBlockSyntax) 150Dim syntax = DirectCast(node.Syntax, DoLoopBlockSyntax)
Semantics\StatementSyntaxWalker.vb (1)
192Public Overrides Sub VisitDoLoopBlock(ByVal node As DoLoopBlockSyntax)
Syntax\SyntaxFacts.vb (1)
403Dim doBlock = DirectCast(possibleBlock, DoLoopBlockSyntax)
Syntax\SyntaxNormalizer.vb (1)
898Public Overrides Function VisitDoLoopBlock(node As DoLoopBlockSyntax) As SyntaxNode
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (7)
ElasticTriviaFormattingRule.vb (1)
311IsBeginStatement(Of DoStatementSyntax, DoLoopBlockSyntax)(currentStatement) OrElse
NodeBasedFormattingRule.vb (1)
470Dim [do] = TryCast(node, DoLoopBlockSyntax)
SyntaxNodeExtensions.vb (5)
187Dim doLoopBlock = TryCast(node, DoLoopBlockSyntax) 475TypeOf node Is DoLoopBlockSyntax OrElse 535ElseIf TypeOf node Is DoLoopBlockSyntax Then 536Return DirectCast(node, DoLoopBlockSyntax).Statements 616Function(x As DoLoopBlockSyntax) x.WithStatements(statements),
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)
37Public Overrides Function VisitDoLoopBlock(node As DoLoopBlockSyntax) As IList(Of StatementSyntax)
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (1)
Structure\DoLoopBlockStructureTests.vb (1)
12Inherits AbstractVisualBasicSyntaxNodeStructureProviderTests(Of DoLoopBlockSyntax)
Microsoft.CodeAnalysis.VisualBasic.Features (14)
CodeFixes\GenerateEndConstruct\GenerateEndConstructCodeFixProvider.vb (2)
140(Function(n As DoLoopBlockSyntax) n.DoStatement), 160(Function(n As DoLoopBlockSyntax) n.LoopStatement),
Completion\KeywordRecommenders\Statements\LoopKeywordRecommender.vb (1)
22Dim doBlock = targetToken.GetAncestor(Of DoLoopBlockSyntax)()
EditAndContinue\SyntaxComparer.vb (2)
949Dim block = DirectCast(node, DoLoopBlockSyntax) 957Dim block = DirectCast(node, DoLoopBlockSyntax)
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (1)
1666Return DirectCast(node, DoLoopBlockSyntax).DoStatement.Span
ExtractMethod\VisualBasicMethodExtractor.VisualBasicCodeGenerator.CallSiteContainerRewriter.vb (1)
260Public Overrides Function VisitDoLoopBlock(node As DoLoopBlockSyntax) As SyntaxNode
ExtractMethod\VisualBasicSelectionValidator.Validator.vb (1)
55TypeOf statement Is DoLoopBlockSyntax OrElse
Highlighting\KeywordHighlighters\DoLoopBlockHighlighter.vb (1)
31Dim doLoop = node.GetAncestor(Of DoLoopBlockSyntax)()
InvertIf\VisualBasicInvertIfCodeRefactoringProvider.vb (2)
24TypeOf node IsNot DoLoopBlockSyntax AndAlso 40If TypeOf node Is DoLoopBlockSyntax Then
Structure\Providers\DoLoopBlockStructureProvider.vb (2)
12Inherits AbstractSyntaxNodeStructureProvider(Of DoLoopBlockSyntax) 15node As DoLoopBlockSyntax,
Structure\VisualBasicBlockStructureProvider.vb (1)
23builder.Add(Of DoLoopBlockSyntax, DoLoopBlockStructureProvider)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (5)
Generated\Syntax.Test.xml.Generated.vb (5)
13089Private Shared Function GenerateRedSimpleDoLoopBlock() As DoLoopBlockSyntax 13110Private Shared Function GenerateRedDoWhileLoopBlock() As DoLoopBlockSyntax 13131Private Shared Function GenerateRedDoUntilLoopBlock() As DoLoopBlockSyntax 13152Private Shared Function GenerateRedDoLoopWhileBlock() As DoLoopBlockSyntax 13173Private Shared Function GenerateRedDoLoopUntilBlock() As DoLoopBlockSyntax
Microsoft.CodeAnalysis.VisualBasic.Workspaces (7)
Formatting\Rules\ElasticTriviaFormattingRule.vb (1)
311IsBeginStatement(Of DoStatementSyntax, DoLoopBlockSyntax)(currentStatement) OrElse
Formatting\Rules\NodeBasedFormattingRule.vb (1)
470Dim [do] = TryCast(node, DoLoopBlockSyntax)
SyntaxNodeExtensions.vb (5)
187Dim doLoopBlock = TryCast(node, DoLoopBlockSyntax) 475TypeOf node Is DoLoopBlockSyntax OrElse 535ElseIf TypeOf node Is DoLoopBlockSyntax Then 536Return DirectCast(node, DoLoopBlockSyntax).Statements 616Function(x As DoLoopBlockSyntax) x.WithStatements(statements),
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
Help\VisualBasicHelpContextService.Visitor.vb (1)
164Public Overrides Sub VisitDoLoopBlock(node As DoLoopBlockSyntax)
Roslyn.Compilers.VisualBasic.IOperation.UnitTests (7)
IOperation\IOperationTests_IBranchOperation.Extensions.vb (1)
78AssertOuterIsCorrespondingLoopOfInner(Of DoLoopBlockSyntax, ContinueStatementSyntax)(
IOperation\IOperationTests_IWhileUntilLoopStatement.vb (6)
69VerifyOperationTreeForTest(Of DoLoopBlockSyntax)(source, expectedOperationTree) 118VerifyOperationTreeAndDiagnosticsForTest(Of DoLoopBlockSyntax)(source, expectedOperationTree, expectedDiagnostics) 1324VerifyOperationTreeForTest(Of DoLoopBlockSyntax)(source, expectedOperationTree) 1369VerifyOperationTreeForTest(Of DoLoopBlockSyntax)(source, expectedOperationTree) 1418VerifyOperationTreeAndDiagnosticsForTest(Of DoLoopBlockSyntax)(source, expectedOperationTree, expectedDiagnostics) 1527VerifyOperationTreeAndDiagnosticsForTest(Of DoLoopBlockSyntax)(source, expectedOperationTree, expectedDiagnostics)