2 writes to _items
System.ServiceModel.Primitives (2)
Internals\System\Runtime\MruCache.cs (2)
61
_items
= new Dictionary<TKey, CacheEntry>();
65
_items
= new Dictionary<TKey, CacheEntry>(comparer);
10 references to _items
System.ServiceModel.Primitives (10)
Internals\System\Runtime\MruCache.cs (10)
74
return
_items
.Count;
90
if (
_items
.Count == _highWatermark)
99
TValue item =
_items
[keyRemove].value;
100
_items
.Remove(keyRemove);
109
_items
.Add(key, entry);
133
foreach (CacheEntry cacheEntry in
_items
.Values)
153
_items
.Clear();
164
if (
_items
.TryGetValue(key, out entry))
166
_items
.Remove(key);
204
bool found =
_items
.TryGetValue(key, out entry);