Example #1
0
        private bool TryGetValueCore(string name, out NativeSymbol symbol, out bool loadedFromNextLookup)
        {
            if (_storage.TryGetValue(name, out symbol))
            {
                loadedFromNextLookup = false;
                return(true);
            }

            if (_nextSymbolLookup.TryGetValue(name, out symbol))
            {
                loadedFromNextLookup = true;
                return(true);
            }

            loadedFromNextLookup = false;
            return(false);
        }