System\Data\Common\EntitySql\SemanticAnalyzer.cs (15)
405sr.NameComparer.Compare(arg.VariableName, name) == 0))
475functionInfo.Parameters.ForEach(p => sr.CurrentScope.Add(p.VariableName, new FreeVariableScopeEntry(p)));
3121sr.CurrentScope.Add(aliasedBinding.Variable.VariableName, sourceScopeEntry);
3752aggregates.Add(new KeyValuePair<string, DbAggregate>(groupAggregateVarRef.VariableName, groupAggregateDefinition));
3773Debug.Assert(aggregates.Any((aggregate) => String.CompareOrdinal(aggregate.Key, groupAggregateVarRef.VariableName) == 0),
3833groupKeyInfo.VarRef.VariableName,
3860!sr.CurrentScope.Contains(aggVarRef.VariableName) ||
3863if (!sr.CurrentScope.Contains(aggVarRef.VariableName))
3866aggVarRef.VariableName,
3868sr.CurrentScopeRegion.RegisterGroupAggregateName(aggVarRef.VariableName);
3906groupAggregateInfo.AggregateName = groupAggregateVarRef.VariableName;
3917gpExpressionLambda.Invoke(groupBinding.Variable.Property(groupAggregateVarRef.VariableName))));
3930groupAggregateVarRef.VariableName,
3931groupBinding.Variable.Property(groupAggregateVarRef.VariableName)));
4144sr.CurrentScope.Replace(projectionExpressionRef.VariableName,