126 references to RangeVariables
Microsoft.CodeAnalysis.VisualBasic (126)
Analysis\FlowAnalysis\ReadWriteWalker.vb (1)
202Debug.Assert(node.RangeVariables.Length = 1)
Analysis\FlowAnalysis\VariablesDeclaredWalker.vb (3)
65If Not node.WasCompilerGenerated AndAlso node.RangeVariables.Length > 0 AndAlso IsInside Then 66Debug.Assert(node.RangeVariables.Length = 1) 67_variablesDeclared.Add(node.RangeVariables(0))
Binding\Binder_Query.vb (112)
216Dim intoBinder As New IntoClauseDisallowGroupReferenceBinder(Me, source, source.RangeVariables, source.CompoundVariableType, source.RangeVariables) 227Dim intoBinder As New IntoClauseDisallowGroupReferenceBinder(Me, source, source.RangeVariables, source.CompoundVariableType, source.RangeVariables) 250Dim intoBinder As New IntoClauseDisallowGroupReferenceBinder(Me, groupReference, source.RangeVariables, source.CompoundVariableType, source.RangeVariables) 309Dim letSelectorParam As BoundLambdaParameterSymbol = CreateQueryLambdaParameterSymbol(GetQueryLambdaParameterName(source.RangeVariables), 0, 311aggregate, source.RangeVariables) 319Dim letSelectorBinder As New QueryLambdaBinder(letSelectorLambdaSymbol, source.RangeVariables) 325source.RangeVariables, 335source.RangeVariables, 365source.RangeVariables, 426Dim selectSelectorParam As BoundLambdaParameterSymbol = CreateQueryLambdaParameterSymbol(GetQueryLambdaParameterName(letOperator.RangeVariables), 0, 428aggregate, letOperator.RangeVariables) 441groupReference, group.RangeVariables, group.CompoundVariableType, 442firstSelectSelectorBinder.RangeVariables.Concat(group.RangeVariables)) 531letOperator.RangeVariables, 590Dim param As BoundLambdaParameterSymbol = CreateQueryLambdaParameterSymbol(GetQueryLambdaParameterName(source.RangeVariables), 0, 592fromClauseSyntax, source.RangeVariables) 656Dim param As BoundLambdaParameterSymbol = CreateQueryLambdaParameterSymbol(GetQueryLambdaParameterName(source.RangeVariables), 0, 658clauseSyntax, source.RangeVariables) 665Dim selectorBinder As New QueryLambdaBinder(lambdaSymbol, source.RangeVariables) 674source.RangeVariables, 777source.RangeVariables.Add(RangeVariableSymbol.CreateForErrorRecovery(Me, 793Dim param As BoundLambdaParameterSymbol = CreateQueryLambdaParameterSymbol(GetQueryLambdaParameterName(source.RangeVariables), 0, 795variable, source.RangeVariables) 802Dim selectorBinder As New QueryLambdaBinder(lambdaSymbol, source.RangeVariables) 811source.RangeVariables, 848source.RangeVariables.Concat(declaredRangeVariables), 994sourceOpt.RangeVariables.Add(rangeVar), 1008Debug.Assert(source.RangeVariables.Length = 1) 1018Dim manySelectorParam As BoundLambdaParameterSymbol = CreateQueryLambdaParameterSymbol(GetQueryLambdaParameterName(source.RangeVariables), 0, 1020variable, source.RangeVariables) 1027Dim manySelectorBinder As New QueryLambdaBinder(manySelectorLambdaSymbol, source.RangeVariables) 1030Debug.Assert(manySelector.RangeVariables.Length = 1) 1033source.RangeVariables, 1043Dim joinSelectorParamLeft As BoundLambdaParameterSymbol = CreateQueryLambdaParameterSymbol(GetQueryLambdaParameterNameLeft(source.RangeVariables), 0, 1045variable, source.RangeVariables) 1047Dim joinSelectorParamRight As BoundLambdaParameterSymbol = CreateQueryLambdaParameterSymbol(GetQueryLambdaParameterNameRight(manySelector.RangeVariables), 1, 1049variable, manySelector.RangeVariables) 1061Dim sourceRangeVariables = source.RangeVariables 1062Dim joinSelectorRangeVariables As ImmutableArray(Of RangeVariableSymbol) = sourceRangeVariables.Concat(manySelector.RangeVariables) 1086manySelector.RangeVariables, 1176manySelector.RangeVariables, 1306absorbingJoin.RangeVariables.Concat(joinSelectorDeclaredRangeVariables), 1388declaredNames = CreateSetOfDeclaredNames(outer.RangeVariables) 1391AssertDeclaredNames(declaredNames, outer.RangeVariables) 1423AssertDeclaredNames(declaredNames, inner.RangeVariables) 1430Dim joinSelectorRangeVariables As ImmutableArray(Of RangeVariableSymbol) = outer.RangeVariables.Concat(inner.RangeVariables) 1439Dim joinSelectorParamLeft As BoundLambdaParameterSymbol = CreateQueryLambdaParameterSymbol(GetQueryLambdaParameterNameLeft(outer.RangeVariables), 0, 1441join, outer.RangeVariables) 1443Dim joinSelectorParamRight As BoundLambdaParameterSymbol = CreateQueryLambdaParameterSymbol(GetQueryLambdaParameterNameRight(inner.RangeVariables), 1, 1445join, inner.RangeVariables) 1479outer.RangeVariables, 1480inner.RangeVariables, 1488Debug.Assert(outer.RangeVariables.Length > 0 AndAlso inner.RangeVariables.Length > 0) 1552outer.RangeVariables, 1553inner.RangeVariables, 1631Dim namesInScopeInOnClause As HashSet(Of String) = CreateSetOfDeclaredNames(outer.RangeVariables) 1635declaredNames = CreateSetOfDeclaredNames(outer.RangeVariables) 1637AssertDeclaredNames(declaredNames, outer.RangeVariables) 1669Debug.Assert(outer.RangeVariables.Length > 0 AndAlso inner.RangeVariables.Length > 0) 1670AssertDeclaredNames(namesInScopeInOnClause, inner.RangeVariables) 1679outer.RangeVariables.Concat(inner.RangeVariables), 1691Dim intoLambda As BoundQueryLambda = BindIntoSelectorLambda(groupJoin, outer.RangeVariables, outer.CompoundVariableType, 1693groupType, inner.RangeVariables, inner.CompoundVariableType, 1727outer.RangeVariables.Concat(intoRangeVariables), 1777groupRangeVariables = source.RangeVariables 1864Dim itemsParam As BoundLambdaParameterSymbol = CreateQueryLambdaParameterSymbol(GetQueryLambdaParameterName(source.RangeVariables), 0, 1866groupBy, source.RangeVariables) 1873itemsLambdaBinder = New QueryLambdaBinder(itemsLambdaSymbol, source.RangeVariables) 1879source.RangeVariables, 1908Dim keysParam As BoundLambdaParameterSymbol = CreateQueryLambdaParameterSymbol(GetQueryLambdaParameterName(source.RangeVariables), 0, 1910groupBy, source.RangeVariables) 1917keysLambdaBinder = New QueryLambdaBinder(keysLambdaSymbol, source.RangeVariables) 1923source.RangeVariables, 2051groupJoin, outer.RangeVariables), 2312Dim param As BoundLambdaParameterSymbol = CreateQueryLambdaParameterSymbol(GetQueryLambdaParameterName(source.RangeVariables), 0, 2314condition, source.RangeVariables) 2322Dim filterBinder As New QueryLambdaBinder(lambdaSymbol, source.RangeVariables) 2366source.RangeVariables, 2393source.RangeVariables, 2429source.RangeVariables, 2501source.RangeVariables, 2525Dim lambdaParameterName As String = GetQueryLambdaParameterName(source.RangeVariables) 2535source.RangeVariables, 2550ordering.Expression, source.RangeVariables) 2557keyBinder = New QueryLambdaBinder(lambdaSymbol, source.RangeVariables) 2563source.RangeVariables, 2624source.RangeVariables, 3019group, group.RangeVariables, group.CompoundVariableType, 3020_rangeVariables.Concat(group.RangeVariables)) 3031group, group.RangeVariables, group.CompoundVariableType, 3032_rangeVariables.Concat(group.RangeVariables)) 3267Debug.Assert(joinSelectorRangeVariables.SequenceEqual(outer.RangeVariables.Concat(inner.RangeVariables))) 3270GetQueryLambdaParameterName(outer.RangeVariables), 0, 3272join, outer.RangeVariables) 3280GetQueryLambdaParameterName(inner.RangeVariables), 0, 3282join, inner.RangeVariables) 3290Dim sideDeterminator As New JoinConditionSideDeterminationVisitor(outer.RangeVariables, inner.RangeVariables) 3310outer.RangeVariables, 3313inner.RangeVariables, 3335outer.RangeVariables, 3338inner.RangeVariables, 3372outer.RangeVariables, 3379inner.RangeVariables,
BoundTree\BoundQueryableSource.vb (1)
14Debug.Assert(RangeVariables.Length = 1)
Generated\BoundNodes.xml.Generated.vb (9)
7170If source IsNot Me.Source OrElse rangeVariableOpt IsNot Me.RangeVariableOpt OrElse rangeVariables <> Me.RangeVariables OrElse compoundVariableType IsNot Me.CompoundVariableType OrElse binders <> Me.Binders OrElse type IsNot Me.Type Then 7208If underlyingExpression IsNot Me.UnderlyingExpression OrElse rangeVariables <> Me.RangeVariables OrElse compoundVariableType IsNot Me.CompoundVariableType OrElse binders <> Me.Binders OrElse type IsNot Me.Type Then 7465If capturedGroupOpt IsNot Me.CapturedGroupOpt OrElse groupPlaceholderOpt IsNot Me.GroupPlaceholderOpt OrElse underlyingExpression IsNot Me.UnderlyingExpression OrElse rangeVariables <> Me.RangeVariables OrElse compoundVariableType IsNot Me.CompoundVariableType OrElse binders <> Me.Binders OrElse type IsNot Me.Type Then 12852Return node.Update(source, node.RangeVariableOpt, node.RangeVariables, compoundVariableType, node.Binders, type) 12859Return node.Update(underlyingExpression, node.RangeVariables, compoundVariableType, node.Binders, type) 12891Return node.Update(capturedGroupOpt, groupPlaceholderOpt, underlyingExpression, node.RangeVariables, compoundVariableType, node.Binders, type) 14239New TreeDumperNode("rangeVariables", node.RangeVariables, Nothing), 14249New TreeDumperNode("rangeVariables", node.RangeVariables, Nothing), 14295New TreeDumperNode("rangeVariables", node.RangeVariables, Nothing),