src/Shared/EntityFramework/Core/Common/EntitySql/SemanticResolver.cs
// <summary>
// Performs scope lookup returning the scope entry and its index.
// </summary>
Performs scope lookup returning the scope entry and its index.
Performs scope lookup returning the scope entry and its index .
private bool TryScopeLookup(string key, out ScopeEntry scopeEntry, out int scopeIndex)
        {
            scopeEntry = null;
            scopeIndex = -1;
            for (var i = CurrentScopeIndex; i >= 0; i--)
            {
                if (_scopeManager.GetScopeByIndex(i).TryLookup(key, out scopeEntry))
                {
                    scopeIndex = i;
                    return true;
                }
            }
            return false;
        }
private bool TryScopeLookup ( string key , out ScopeEntry scopeEntry , out int scopeIndex ) { scopeEntry = null ; scopeIndex = - 1 ; for ( var i = CurrentScopeIndex ; i >= 0 ; i -- ) { if ( _scopeManager . GetScopeByIndex ( i ) . TryLookup ( key , out scopeEntry ) ) { scopeIndex = i ; return true ; } } return false ; }
Performs scope lookup returning the scope entry and its index.
Performs scope lookup returning the scope entry and its index .
key
string
ScopeEntry
out
int
out