1 write to _resultCache
PresentationFramework (1)
System\Windows\Diagnostics\ResourceDictionaryDiagnostics.cs (1)
435
_resultCache
= new Dictionary<WeakReferenceKey<StaticResourceExtension>, WeakReference<ResourceDictionary>>();
6 references to _resultCache
PresentationFramework (6)
System\Windows\Diagnostics\ResourceDictionaryDiagnostics.cs (6)
433
if (
_resultCache
== null)
442
bool found =
_resultCache
.TryGetValue(wrKey, out wrDict);
456
_resultCache
[wrKey] = new WeakReference<ResourceDictionary>(result.Dictionary);
488
if (
_resultCache
== null ||
507
kvp in
_resultCache
)
524
_resultCache
.Remove(wrKey);