3 writes to _ownerApps
PresentationFramework (3)
System\Windows\ResourceDictionary.cs (3)
1494
_ownerApps
= new WeakReferenceList(1);
1567
_ownerApps
= null;
1965
mergedDictionary.
_ownerApps
= new WeakReferenceList(_ownerApps.Count);
22 references to _ownerApps
PresentationFramework (22)
System\Windows\ResourceDictionary.cs (22)
1492
if (
_ownerApps
== null)
1496
else if (
_ownerApps
.Contains(app) && ContainsCycle(this))
1507
_ownerApps
.Add(app);
1561
if (
_ownerApps
!= null)
1563
_ownerApps
.Remove(app);
1565
if (
_ownerApps
.Count == 0)
1603
return (
_ownerApps
!= null &&
_ownerApps
.Contains(app));
1676
if (
_ownerApps
!= null)
1678
foreach (Object o in
_ownerApps
)
1738
if (
_ownerApps
!= null)
1959
if (
_ownerApps
!= null)
1961
Invariant.Assert(
_ownerApps
.Count > 0);
1963
if (mergedDictionary.
_ownerApps
== null)
1965
mergedDictionary._ownerApps = new WeakReferenceList(
_ownerApps
.Count);
1968
foreach (object o in
_ownerApps
)
2008
if (
_ownerApps
!= null)
2010
Invariant.Assert(
_ownerApps
.Count > 0);
2012
foreach (Object o in
_ownerApps
)
2049
get { return
_ownerApps
; }
2245
Debug.Assert(IsThemeDictionary ||
_ownerApps
!= null || IsReadOnly, "This must be an App/Theme/Style/Template ResourceDictionary");
2276
if (IsThemeDictionary ||
_ownerApps
!= null || IsReadOnly)