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