8 references to _stringEntries
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);
694foreach (KeyValuePair<string, CacheEntry> entry in _stringEntries)
706foreach (KeyValuePair<string, CacheEntry> pairs in _stringEntries)
716private ICollection<KeyValuePair<string, CacheEntry>> StringEntriesCollection => _stringEntries;
719internal int Count => _stringEntries.Count + _nonStringEntries.Count;