18 references to CurrentScopeIndex
System.Data.Entity (18)
System\Data\Common\EntitySql\SemanticResolver.cs (5)
295
get { return _scopeManager.
CurrentScopeIndex
; }
1620
Debug.Assert(FirstScopeIndex <= _scopeManager.
CurrentScopeIndex
, "FirstScopeIndex <= CurrentScopeIndex");
1622
for (int i = FirstScopeIndex; i <= _scopeManager.
CurrentScopeIndex
; ++i)
1636
Debug.Assert(FirstScopeIndex <= _scopeManager.
CurrentScopeIndex
, "FirstScopeIndex <= CurrentScopeIndex");
1638
for (int i = FirstScopeIndex; i <= _scopeManager.
CurrentScopeIndex
; ++i)
System\Data\Common\EntitySql\StaticContext.cs (13)
453
Debug.Assert(
CurrentScopeIndex
>= 0);
454
_scopes.RemoveAt(
CurrentScopeIndex
);
476
return _scopes[
CurrentScopeIndex
];
486
Debug.Assert(scopeIndex <=
CurrentScopeIndex
, "scopeIndex <= CurrentScopeIndex");
487
if (0 > scopeIndex || scopeIndex >
CurrentScopeIndex
)
503
Debug.Assert(scopeIndex <=
CurrentScopeIndex
, "[PRE] savePoint.ScopeIndex <= CurrentScopeIndex");
504
Debug.Assert(
CurrentScopeIndex
>= 0, "[PRE] CurrentScopeIndex >= 0");
506
if (scopeIndex >
CurrentScopeIndex
|| scopeIndex < 0 ||
CurrentScopeIndex
< 0)
511
int delta =
CurrentScopeIndex
- scopeIndex;
514
_scopes.RemoveRange(scopeIndex + 1,
CurrentScopeIndex
- scopeIndex);
520
Debug.Assert(scopeIndex ==
CurrentScopeIndex
, "[POST] savePoint.ScopeIndex == CurrentScopeIndex");
521
Debug.Assert(
CurrentScopeIndex
>= 0, "[POST] CurrentScopeIndex >= 0");