21 references to ControlVariable
Microsoft.CodeAnalysis.VisualBasic (21)
Analysis\FlowAnalysis\AbstractFlowPass.vb (2)
1927VisitLvalue(node.ControlVariable) 1931VisitLvalue(node.ControlVariable)
Analysis\FlowAnalysis\DataFlowPass.vb (2)
1844Assign(node.ControlVariable, node.InitialValue) 1849Assign(node.ControlVariable, Nothing)
Analysis\ForLoopVerification.vb (1)
70Dim controlVariable = boundForStatement.ControlVariable
Generated\BoundNodes.xml.Generated.vb (8)
5608If 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 5655If 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 11636Me.Visit(node.ControlVariable) 11644Me.Visit(node.ControlVariable) 12664Dim controlVariable As BoundExpression = DirectCast(Me.Visit(node.ControlVariable), BoundExpression) 12672Dim controlVariable As BoundExpression = DirectCast(Me.Visit(node.ControlVariable), BoundExpression) 13984New TreeDumperNode("controlVariable", Nothing, new TreeDumperNode() {Visit(node.ControlVariable, Nothing)}), 13997New 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)