8 references to _nonStringEntries
Microsoft.Extensions.Caching.Memory (8)
MemoryCache.cs (8)
735=> key is string s ? _stringEntries.TryGetValue(s, out entry) : _nonStringEntries.TryGetValue(key, out entry);
744=> key is string s ? _stringEntries.TryRemove(s, out entry) : _nonStringEntries.TryRemove(key, out entry);
747=> key is string s ? _stringEntries.TryAdd(s, entry) : _nonStringEntries.TryAdd(key, entry);
750=> key is string s ? _stringEntries.TryUpdate(s, entry, comparison) : _nonStringEntries.TryUpdate(key, entry, comparison);
762foreach (KeyValuePair<object, CacheEntry> entry in _nonStringEntries)
774foreach (KeyValuePair<object, CacheEntry> pairs in _nonStringEntries)
780internal int Count => _stringEntries.Count + _nonStringEntries.Count;
788: _nonStringEntries.TryRemove(KeyValuePair.Create(entry.Key, entry)))