8 references to _nonStringEntries
Microsoft.Extensions.Caching.Memory (8)
MemoryCache.cs (8)
823=> key is string s ? _stringEntries.TryGetValue(s, out entry) : _nonStringEntries.TryGetValue(key, out entry);
832=> key is string s ? _stringEntries.TryRemove(s, out entry) : _nonStringEntries.TryRemove(key, out entry);
835=> key is string s ? _stringEntries.TryAdd(s, entry) : _nonStringEntries.TryAdd(key, entry);
838=> key is string s ? _stringEntries.TryUpdate(s, entry, comparison) : _nonStringEntries.TryUpdate(key, entry, comparison);
850foreach (KeyValuePair<object, CacheEntry> entry in _nonStringEntries)
862foreach (KeyValuePair<object, CacheEntry> pairs in _nonStringEntries)
868internal int Count => _stringEntries.Count + _nonStringEntries.Count;
876: _nonStringEntries.TryRemove(KeyValuePair.Create(entry.Key, entry)))