21 references to ToValue
Microsoft.CodeAnalysis.Test.Utilities (1)
Compilation\ControlFlowGraphVerifier.cs (1)
1258
if (((VisualBasic.Syntax.ForStatementSyntax)parent).
ToValue
== syntax)
Microsoft.CodeAnalysis.VisualBasic (13)
Binding\Binder_Statements.vb (2)
3092
forStatement.
ToValue
,
3122
limit = BindValue(forStatement.
ToValue
, diagnostics)
Binding\ForOrForEachBlockBinder.vb (1)
115
forStatementSyntax.
ToValue
,
Generated\Syntax.xml.Main.Generated.vb (2)
3489
Dim newToValue = DirectCast(Visit(node.
ToValue
), ExpressionSyntax)
3490
If node.
ToValue
IsNot newToValue Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (8)
19137
return Update(forKeyword, Me.ControlVariable, Me.EqualsToken, Me.FromValue, Me.ToKeyword, Me.
ToValue
, Me.StepClause)
19166
return Update(Me.ForKeyword, controlVariable, Me.EqualsToken, Me.FromValue, Me.ToKeyword, Me.
ToValue
, Me.StepClause)
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)
19259
return Update(Me.ForKeyword, Me.ControlVariable, Me.EqualsToken, Me.FromValue, Me.ToKeyword, Me.
ToValue
, stepClause)
19284
Return Me.
ToValue
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.Features (2)
Completion\KeywordRecommenders\Statements\StepKeywordRecommender.vb (1)
25
Function(forStatement) forStatement.
ToValue
,
ConvertForToForEach\VisualBasicConvertForToForEachCodeRefactoringProvider.vb (1)
60
Dim subtraction = TryCast(forStatement.
ToValue
, BinaryExpressionSyntax)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
Semantics\ForLoopTest.vb (2)
554
Dim expressionTo = node.
ToValue
624
Dim expressionTo = node.
ToValue
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.vb (2)
20104
Assert.NotNull(objectUnderTest.
toValue
)
20105
Dim withObj = objectUnderTest.WithForKeyword(objectUnderTest.ForKeyword).WithControlVariable(objectUnderTest.ControlVariable).WithEqualsToken(objectUnderTest.EqualsToken).WithFromValue(objectUnderTest.FromValue).WithToKeyword(objectUnderTest.ToKeyword).WithToValue(objectUnderTest.
ToValue
).WithStepClause(objectUnderTest.StepClause)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
Simplification\Reducers\VisualBasicVariableDeclaratorReducer.vb (1)
119
Dim valueType = semanticModel.GetTypeInfo(DirectCast(parent, ForStatementSyntax).
ToValue
).Type