2 writes to items
System.ServiceModel.Internals (2)
System\Runtime\MruCache.cs (2)
42
this.
items
= new Dictionary<TKey, CacheEntry>();
46
this.
items
= new Dictionary<TKey, CacheEntry>(comparer);
9 references to items
System.ServiceModel.Internals (9)
System\Runtime\MruCache.cs (9)
54
return this.
items
.Count;
67
if (this.
items
.Count == this.highWatermark)
76
TValue item = this.
items
[keyRemove].value;
77
this.
items
.Remove(keyRemove);
86
this.
items
.Add(key, entry);
102
this.
items
.Clear();
112
if (this.
items
.TryGetValue(key, out entry))
114
this.
items
.Remove(key);
150
bool found = this.
items
.TryGetValue(key, out entry);