15 references to CurrentScope
System.Data.Entity (15)
System\Data\Common\EntitySql\SemanticAnalyzer.cs (14)
475functionInfo.Parameters.ForEach(p => sr.CurrentScope.Add(p.VariableName, new FreeVariableScopeEntry(p))); 3100if (sr.CurrentScope.Contains(aliasName)) 3121sr.CurrentScope.Add(aliasedBinding.Variable.VariableName, sourceScopeEntry); 3559sr.CurrentScope.Add( 3570sr.CurrentScope.Add( 3655sr.CurrentScope.Add(kvp.Key, new ProjectionItemDefinitionScopeEntry(kvp.Value)); 3832sr.CurrentScope.Add( 3846sr.CurrentScope.Add( 3860!sr.CurrentScope.Contains(aggVarRef.VariableName) || 3863if (!sr.CurrentScope.Contains(aggVarRef.VariableName)) 3865sr.CurrentScope.Add( 4112projectionItems.ForEach(projectionItem => sr.CurrentScope.Add(projectionItem.Key, new ProjectionItemDefinitionScopeEntry(projectionItem.Value))); 4135sr.CurrentScope.Replace(projectionItems[0].Key, new SourceScopeEntry(source.Variable)); 4144sr.CurrentScope.Replace(projectionExpressionRef.VariableName,
System\Data\Common\EntitySql\SemanticResolver.cs (1)
166this.CurrentScope.Add(variable.VariableName, new FreeVariableScopeEntry(variable));