1 write to _resultCache
PresentationFramework (1)
System\Windows\Diagnostics\ResourceDictionaryDiagnostics.cs (1)
434
_resultCache
= new Dictionary<WeakReferenceKey<StaticResourceExtension>, WeakReference<ResourceDictionary>>();
6 references to _resultCache
PresentationFramework (6)
System\Windows\Diagnostics\ResourceDictionaryDiagnostics.cs (6)
432
if (
_resultCache
== null)
441
bool found =
_resultCache
.TryGetValue(wrKey, out wrDict);
455
_resultCache
[wrKey] = new WeakReference<ResourceDictionary>(result.Dictionary);
487
if (
_resultCache
== null ||
506
kvp in
_resultCache
)
523
_resultCache
.Remove(wrKey);