1 write to _weakReferenceItemCollection
System.Data.Entity (1)
System\Data\Metadata\MetadataCache.cs (1)
434
_weakReferenceItemCollection
= new WeakReference(null);
6 references to _weakReferenceItemCollection
System.Data.Entity (6)
System\Data\Metadata\MetadataCache.cs (6)
454
_weakReferenceItemCollection
.Target = itemCollection;
491
else if (!
_weakReferenceItemCollection
.IsAlive)
523
ItemCollection itemCollection = (ItemCollection)
_weakReferenceItemCollection
.Target;
549
Debug.Assert(
_weakReferenceItemCollection
.IsAlive, "Since the strong reference is still there, weak reference must also be alive");
554
if (
_weakReferenceItemCollection
.IsAlive)
585
Debug.Assert(
_weakReferenceItemCollection
.IsAlive, "Weak reference to item collection must be alive");