30 references to ControlVariable
Microsoft.CodeAnalysis.VisualBasic (16)
Binding\Binder_Statements.vb (4)
3133controlVariableOpt = New BoundLocal(forStatement.ControlVariable, declaredOrInferredLocalOpt, type) 3343diagnostics.Add(DirectCast(node.ForOrForEachStatement, ForStatementSyntax).ControlVariable, useSiteInfo) 3344ReportDiagnostic(diagnostics, DirectCast(node.ForOrForEachStatement, ForStatementSyntax).ControlVariable, ERRID.ERR_ForLoopType1, targetType) 3349diagnostics.Add(DirectCast(node.ForOrForEachStatement, ForStatementSyntax).ControlVariable, useSiteInfo)
Binding\ForOrForEachBlockBinder.vb (1)
47controlVariableSyntax = DirectCast(_syntax.ForOrForEachStatement, ForStatementSyntax).ControlVariable
Generated\Syntax.xml.Main.Generated.vb (2)
3481Dim newControlVariable = DirectCast(Visit(node.ControlVariable), VisualBasicSyntaxNode) 3482If node.ControlVariable IsNot newControlVariable Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (9)
19137return Update(forKeyword, Me.ControlVariable, Me.EqualsToken, Me.FromValue, Me.ToKeyword, Me.ToValue, Me.StepClause) 19153Return Me.ControlVariable 19184return Update(Me.ForKeyword, Me.ControlVariable, equalsToken, Me.FromValue, Me.ToKeyword, Me.ToValue, Me.StepClause) 19202return Update(Me.ForKeyword, Me.ControlVariable, Me.EqualsToken, fromValue, Me.ToKeyword, Me.ToValue, Me.StepClause) 19220return Update(Me.ForKeyword, Me.ControlVariable, Me.EqualsToken, Me.FromValue, toKeyword, Me.ToValue, Me.StepClause) 19238return Update(Me.ForKeyword, Me.ControlVariable, Me.EqualsToken, Me.FromValue, Me.ToKeyword, toValue, Me.StepClause) 19259return Update(Me.ForKeyword, Me.ControlVariable, Me.EqualsToken, Me.FromValue, Me.ToKeyword, Me.ToValue, stepClause) 19280Return Me.ControlVariable 19327If forKeyword <> Me.ForKeyword OrElse controlVariable IsNot Me.ControlVariable OrElse equalsToken <> Me.EqualsToken OrElse fromValue IsNot Me.FromValue OrElse toKeyword <> Me.ToKeyword OrElse toValue IsNot Me.ToValue OrElse stepClause IsNot Me.StepClause Then
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (3)
src\f736901a33c2b55b\VisualBasicTypeInferenceService.TypeInferrer.vb (3)
675If (expressionOpt IsNot Nothing AndAlso expressionOpt IsNot forStatement.ControlVariable) OrElse 678If TypeOf forStatement.ControlVariable Is VariableDeclaratorSyntax Then 679Dim declarator = DirectCast(forStatement.ControlVariable, VariableDeclaratorSyntax)
Microsoft.CodeAnalysis.VisualBasic.Features (4)
CodeFixes\CorrectNextControlVariable\CorrectNextControlVariableCodeFixProvider.vb (1)
95controlVariable = forStatement.ControlVariable
ConvertForToForEach\VisualBasicConvertForToForEachCodeRefactoringProvider.vb (1)
51Dim identifierName = TryCast(forStatement.ControlVariable, IdentifierNameSyntax)
EditAndContinue\SyntaxComparer.vb (2)
976distance = ComputeWeightedDistance(leftStatement.ControlVariable, 979rightStatement.ControlVariable,
Microsoft.CodeAnalysis.VisualBasic.Workspaces (4)
Rename\LocalConflictVisitor.vb (1)
143controlVariable = DirectCast(node.ForOrForEachStatement, ForStatementSyntax).ControlVariable
src\f736901a33c2b55b\VisualBasicTypeInferenceService.TypeInferrer.vb (3)
675If (expressionOpt IsNot Nothing AndAlso expressionOpt IsNot forStatement.ControlVariable) OrElse 678If TypeOf forStatement.ControlVariable Is VariableDeclaratorSyntax Then 679Dim declarator = DirectCast(forStatement.ControlVariable, VariableDeclaratorSyntax)
Roslyn.Diagnostics.VisualBasic.Analyzers (3)
src\f736901a33c2b55b\VisualBasicTypeInferenceService.TypeInferrer.vb (3)
675If (expressionOpt IsNot Nothing AndAlso expressionOpt IsNot forStatement.ControlVariable) OrElse 678If TypeOf forStatement.ControlVariable Is VariableDeclaratorSyntax Then 679Dim declarator = DirectCast(forStatement.ControlVariable, VariableDeclaratorSyntax)