24 references to ControlVariable
Microsoft.CodeAnalysis.VisualBasic (24)
Analysis\FlowAnalysis\AbstractFlowPass.vb (2)
1911VisitLvalue(node.ControlVariable) 1915VisitLvalue(node.ControlVariable)
Analysis\FlowAnalysis\DataFlowPass.vb (2)
1838Assign(node.ControlVariable, node.InitialValue) 1843Assign(node.ControlVariable, Nothing)
Analysis\ForLoopVerification.vb (1)
70Dim controlVariable = boundForStatement.ControlVariable
Generated\BoundNodes.xml.Generated.vb (8)
5605If 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 5652If 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 11618Me.Visit(node.ControlVariable) 11626Me.Visit(node.ControlVariable) 12646Dim controlVariable As BoundExpression = DirectCast(Me.Visit(node.ControlVariable), BoundExpression) 12654Dim controlVariable As BoundExpression = DirectCast(Me.Visit(node.ControlVariable), BoundExpression) 13963New TreeDumperNode("controlVariable", Nothing, new TreeDumperNode() {Visit(node.ControlVariable, Nothing)}), 13976New TreeDumperNode("controlVariable", Nothing, new TreeDumperNode() {Visit(node.ControlVariable, Nothing)}),
Lowering\LocalRewriter\LocalRewriter_ForEach.vb (7)
93Dim tempLocal = New SynthesizedLocal(Me._currentMethodOrLambda, node.ControlVariable.Type, SynthesizedLocalKind.LoweringTemp) 94Dim tempForControlVariable = New BoundLocal(node.Syntax, tempLocal, node.ControlVariable.Type) 198Dim controlVariableType = node.ControlVariable.Type 315node.ControlVariable, 318type:=node.ControlVariable.Type).ToStatement 600node.ControlVariable, 603type:=node.ControlVariable.Type).ToStatement
Lowering\LocalRewriter\LocalRewriter_ForTo.vb (1)
21Dim rewrittenControlVariable = VisitExpressionNode(node.ControlVariable)
Operations\VisualBasicOperationFactory.vb (3)
1171Dim loopObj = If(boundForToStatement.ControlVariable.Type.IsObjectType, 1172New SynthesizedLocal(DirectCast(_semanticModel.GetEnclosingSymbol(boundForToStatement.Syntax.SpanStart), Symbol), boundForToStatement.ControlVariable.Type, 1255Dim controlVariable As BoundExpression = boundForStatement.ControlVariable