3 writes to _ownerApps
PresentationFramework (3)
src\Framework\System\Windows\ResourceDictionary.cs (3)
1528
_ownerApps
= new WeakReferenceList(1);
1601
_ownerApps
= null;
1999
mergedDictionary.
_ownerApps
= new WeakReferenceList(_ownerApps.Count);
22 references to _ownerApps
PresentationFramework (22)
src\Framework\System\Windows\ResourceDictionary.cs (22)
1526
if (
_ownerApps
== null)
1530
else if (
_ownerApps
.Contains(app) && ContainsCycle(this))
1541
_ownerApps
.Add(app);
1595
if (
_ownerApps
!= null)
1597
_ownerApps
.Remove(app);
1599
if (
_ownerApps
.Count == 0)
1637
return (
_ownerApps
!= null &&
_ownerApps
.Contains(app));
1710
if (
_ownerApps
!= null)
1712
foreach (Object o in
_ownerApps
)
1772
if (
_ownerApps
!= null)
1993
if (
_ownerApps
!= null)
1995
Invariant.Assert(
_ownerApps
.Count > 0);
1997
if (mergedDictionary.
_ownerApps
== null)
1999
mergedDictionary._ownerApps = new WeakReferenceList(
_ownerApps
.Count);
2002
foreach (object o in
_ownerApps
)
2042
if (
_ownerApps
!= null)
2044
Invariant.Assert(
_ownerApps
.Count > 0);
2046
foreach (Object o in
_ownerApps
)
2083
get { return
_ownerApps
; }
2279
Debug.Assert(IsThemeDictionary ||
_ownerApps
!= null || IsReadOnly, "This must be an App/Theme/Style/Template ResourceDictionary");
2310
if (IsThemeDictionary ||
_ownerApps
!= null || IsReadOnly)