8 references to _nonStringEntries
Microsoft.Extensions.Caching.Memory (8)
MemoryCache.cs (8)
786=> key is string s ? _stringEntries.TryGetValue(s, out entry) : _nonStringEntries.TryGetValue(key, out entry); 795=> key is string s ? _stringEntries.TryRemove(s, out entry) : _nonStringEntries.TryRemove(key, out entry); 798=> key is string s ? _stringEntries.TryAdd(s, entry) : _nonStringEntries.TryAdd(key, entry); 801=> key is string s ? _stringEntries.TryUpdate(s, entry, comparison) : _nonStringEntries.TryUpdate(key, entry, comparison); 813foreach (KeyValuePair<object, CacheEntry> entry in _nonStringEntries) 825foreach (KeyValuePair<object, CacheEntry> pairs in _nonStringEntries) 831internal int Count => _stringEntries.Count + _nonStringEntries.Count; 839: _nonStringEntries.TryRemove(KeyValuePair.Create(entry.Key, entry)))