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