8 references to cache
System.ServiceModel (8)
System\ServiceModel\Diagnostics\PerformanceCountersBase.cs (8)
133
lock (this.
cache
)
136
if (this.
cache
.TryGetValue(instanceName, out wr))
139
this.
cache
.Remove(instanceName);
157
lock (this.
cache
)
159
this.
cache
[instanceName] = new WeakReference(instance);
168
lock (this.
cache
)
170
foreach (var entry in this.
cache
.Where(pair => !pair.Value.IsAlive).ToList())
172
this.
cache
.Remove(entry.Key);