8 references to _nonStringEntries
Microsoft.Extensions.Caching.Memory (8)
MemoryCache.cs (8)
804=> key is string s ? _stringEntries.TryGetValue(s, out entry) : _nonStringEntries.TryGetValue(key, out entry);
813=> key is string s ? _stringEntries.TryRemove(s, out entry) : _nonStringEntries.TryRemove(key, out entry);
816=> key is string s ? _stringEntries.TryAdd(s, entry) : _nonStringEntries.TryAdd(key, entry);
819=> key is string s ? _stringEntries.TryUpdate(s, entry, comparison) : _nonStringEntries.TryUpdate(key, entry, comparison);
831foreach (KeyValuePair<object, CacheEntry> entry in _nonStringEntries)
843foreach (KeyValuePair<object, CacheEntry> pairs in _nonStringEntries)
849internal int Count => _stringEntries.Count + _nonStringEntries.Count;
857: _nonStringEntries.TryRemove(KeyValuePair.Create(entry.Key, entry)))