24 references to ControlVariable
Microsoft.CodeAnalysis.VisualBasic (24)
Analysis\FlowAnalysis\AbstractFlowPass.vb (2)
1911
VisitLvalue(node.
ControlVariable
)
1915
VisitLvalue(node.
ControlVariable
)
Analysis\FlowAnalysis\DataFlowPass.vb (2)
1838
Assign(node.
ControlVariable
, node.InitialValue)
1843
Assign(node.
ControlVariable
, Nothing)
Analysis\ForLoopVerification.vb (1)
70
Dim controlVariable = boundForStatement.
ControlVariable
Generated\BoundNodes.xml.Generated.vb (8)
5605
If initialValue IsNot Me.InitialValue OrElse limitValue IsNot Me.LimitValue OrElse stepValue IsNot Me.StepValue OrElse checked <> Me.Checked OrElse operatorsOpt IsNot Me.OperatorsOpt OrElse declaredOrInferredLocalOpt IsNot Me.DeclaredOrInferredLocalOpt OrElse controlVariable IsNot Me.
ControlVariable
OrElse body IsNot Me.Body OrElse nextVariablesOpt <> Me.NextVariablesOpt OrElse continueLabel IsNot Me.ContinueLabel OrElse exitLabel IsNot Me.ExitLabel Then
5652
If collection IsNot Me.Collection OrElse enumeratorInfo IsNot Me.EnumeratorInfo OrElse declaredOrInferredLocalOpt IsNot Me.DeclaredOrInferredLocalOpt OrElse controlVariable IsNot Me.
ControlVariable
OrElse body IsNot Me.Body OrElse nextVariablesOpt <> Me.NextVariablesOpt OrElse continueLabel IsNot Me.ContinueLabel OrElse exitLabel IsNot Me.ExitLabel Then
11618
Me.Visit(node.
ControlVariable
)
11626
Me.Visit(node.
ControlVariable
)
12646
Dim controlVariable As BoundExpression = DirectCast(Me.Visit(node.
ControlVariable
), BoundExpression)
12654
Dim controlVariable As BoundExpression = DirectCast(Me.Visit(node.
ControlVariable
), BoundExpression)
13963
New TreeDumperNode("controlVariable", Nothing, new TreeDumperNode() {Visit(node.
ControlVariable
, Nothing)}),
13976
New TreeDumperNode("controlVariable", Nothing, new TreeDumperNode() {Visit(node.
ControlVariable
, Nothing)}),
Lowering\LocalRewriter\LocalRewriter_ForEach.vb (7)
93
Dim tempLocal = New SynthesizedLocal(Me._currentMethodOrLambda, node.
ControlVariable
.Type, SynthesizedLocalKind.LoweringTemp)
94
Dim tempForControlVariable = New BoundLocal(node.Syntax, tempLocal, node.
ControlVariable
.Type)
198
Dim controlVariableType = node.
ControlVariable
.Type
315
node.
ControlVariable
,
318
type:=node.
ControlVariable
.Type).ToStatement
600
node.
ControlVariable
,
603
type:=node.
ControlVariable
.Type).ToStatement
Lowering\LocalRewriter\LocalRewriter_ForTo.vb (1)
21
Dim rewrittenControlVariable = VisitExpressionNode(node.
ControlVariable
)
Operations\VisualBasicOperationFactory.vb (3)
1171
Dim loopObj = If(boundForToStatement.
ControlVariable
.Type.IsObjectType,
1172
New SynthesizedLocal(DirectCast(_semanticModel.GetEnclosingSymbol(boundForToStatement.Syntax.SpanStart), Symbol), boundForToStatement.
ControlVariable
.Type,
1255
Dim controlVariable As BoundExpression = boundForStatement.
ControlVariable