12 references to _entries
Microsoft.Extensions.Caching.Memory (12)
MemoryCache.cs (12)
87foreach (KeyValuePair<object, CacheEntry> pairs in _coherentState._entries)
144if (coherentState._entries.TryGetValue(entry.Key, out CacheEntry? priorEntry))
163entryAdded = coherentState._entries.TryAdd(entry.Key, entry);
168entryAdded = coherentState._entries.TryUpdate(entry.Key, entry, priorEntry);
175entryAdded = coherentState._entries.TryAdd(entry.Key, entry);
220if (coherentState._entries.TryGetValue(key, out CacheEntry? tmp))
279if (coherentState._entries.TryRemove(key, out CacheEntry? entry))
301foreach (KeyValuePair<object, CacheEntry> entry in oldState._entries)
425foreach (KeyValuePair<object, CacheEntry> item in coherentState._entries)
550foreach (KeyValuePair<object, CacheEntry> item in coherentState._entries)
682private ICollection<KeyValuePair<object, CacheEntry>> EntriesCollection => _entries;
684internal int Count => _entries.Count;