3 writes to _evaluatingScopeRegion
System.Data.Entity (3)
System\Data\Common\EntitySql\SemanticResolver.cs (3)
1197
_evaluatingScopeRegion
= _innermostReferencedScopeRegion ?? DefiningScopeRegion;
1214
_evaluatingScopeRegion
= null;
1219
_evaluatingScopeRegion
= innerSR;
12 references to _evaluatingScopeRegion
System.Data.Entity (12)
System\Data\Common\EntitySql\SemanticResolver.cs (12)
1158
Debug.Assert(
_evaluatingScopeRegion
== null, "Can not update referenced scope index after _evaluatingScopeRegion have been computed.");
1180
Debug.Assert(
_evaluatingScopeRegion
== null, "Can't change _innermostReferencedScopeRegion after _evaluatingScopeRegion has been initialized.");
1192
Debug.Assert(
_evaluatingScopeRegion
== null, "_evaluatingScopeRegion has already been initialized");
1199
if (!
_evaluatingScopeRegion
.IsAggregating)
1213
int scopeRegionIndex =
_evaluatingScopeRegion
.ScopeRegionIndex;
1223
if (
_evaluatingScopeRegion
== null)
1254
Debug.Assert(
_evaluatingScopeRegion
.IsAggregating, "_evaluatingScopeRegion.IsAggregating must be true");
1255
Debug.Assert(
_evaluatingScopeRegion
.ScopeRegionIndex <= DefiningScopeRegion.ScopeRegionIndex, "_evaluatingScopeRegion must outer to the DefiningScopeRegion");
1256
ValidateContainedAggregates(
_evaluatingScopeRegion
.ScopeRegionIndex, DefiningScopeRegion.ScopeRegionIndex);
1372
Debug.Assert(
_evaluatingScopeRegion
== null, "Can not add contained aggregate after _evaluatingScopeRegion have been computed.");
1434
Debug.Assert(
_evaluatingScopeRegion
!= null, "_evaluatingScopeRegion is not initialized");
1435
return
_evaluatingScopeRegion
;