1 write to DefiningScopeRegion
System.Data.Entity (1)
System\Data\Common\EntitySql\SemanticResolver.cs (1)
1129
DefiningScopeRegion
= definingScopeRegion;
10 references to DefiningScopeRegion
System.Data.Entity (10)
System\Data\Common\EntitySql\SemanticAnalyzer.cs (3)
3451
Debug.Assert(groupKeyAggregateInfo.EvaluatingScopeRegion == groupKeyAggregateInfo.
DefiningScopeRegion
, "Group key must evaluate on the scope it was defined on.");
3471
Debug.Assert(functionAggregateInfo.EvaluatingScopeRegion == functionAggregateInfo.
DefiningScopeRegion
, "Group key must evaluate on the scope it was defined on.");
3483
Debug.Assert(groupPartitionInfo.EvaluatingScopeRegion == groupPartitionInfo.
DefiningScopeRegion
, "Group key must evaluate on the scope it was defined on.");
System\Data\Common\EntitySql\SemanticResolver.cs (7)
394
if (definingScopeRegionOfScopeEntry.ScopeRegionIndex <= _currentGroupAggregateInfo.
DefiningScopeRegion
.ScopeRegionIndex)
413
expressionInterpretationContext.
DefiningScopeRegion
.ScopeRegionIndex >= definingScopeRegionOfScopeEntry.ScopeRegionIndex;
416
if (expressionInterpretationContext.
DefiningScopeRegion
.ScopeRegionIndex == definingScopeRegionOfScopeEntry.ScopeRegionIndex)
422
expressionInterpretationContext.
DefiningScopeRegion
.ScopeRegionIndex < definingScopeRegionOfScopeEntry.ScopeRegionIndex)
1197
_evaluatingScopeRegion = _innermostReferencedScopeRegion ??
DefiningScopeRegion
;
1255
Debug.Assert(_evaluatingScopeRegion.ScopeRegionIndex <=
DefiningScopeRegion
.ScopeRegionIndex, "_evaluatingScopeRegion must outer to the DefiningScopeRegion");
1256
ValidateContainedAggregates(_evaluatingScopeRegion.ScopeRegionIndex,
DefiningScopeRegion
.ScopeRegionIndex);