8 references to _nonStringEntries
Microsoft.Extensions.Caching.Memory (8)
MemoryCache.cs (8)
677=> key is string s ? _stringEntries.TryGetValue(s, out entry) : _nonStringEntries.TryGetValue(key, out entry);
680=> key is string s ? _stringEntries.TryRemove(s, out entry) : _nonStringEntries.TryRemove(key, out entry);
683=> key is string s ? _stringEntries.TryAdd(s, entry) : _nonStringEntries.TryAdd(key, entry);
686=> key is string s ? _stringEntries.TryUpdate(s, entry, comparison) : _nonStringEntries.TryUpdate(key, entry, comparison);
698foreach (KeyValuePair<object, CacheEntry> entry in _nonStringEntries)
710foreach (KeyValuePair<object, CacheEntry> pairs in _nonStringEntries)
717private ICollection<KeyValuePair<object, CacheEntry>> NonStringEntriesCollection => _nonStringEntries;
719internal int Count => _stringEntries.Count + _nonStringEntries.Count;