1 write to parent
System.ServiceModel.Internals (1)
System\Runtime\Collections\ObjectCache.cs (1)
340
this.
parent
= parent;
10 references to parent
System.ServiceModel.Internals (10)
System\Runtime\Collections\ObjectCache.cs (10)
383
if (this.
parent
== null || this.referenceCount == -1)
390
lock (this.
parent
.ThisLock)
396
else if (this.referenceCount == 0 && this.
parent
.ShouldPurgeItem(this, DateTime.UtcNow))
401
this.
parent
.cacheItems.Remove(this.key);
407
Fx.Assert(this.
parent
.cacheItems.ContainsValue(this), "should have a valid value");
426
if (this.
parent
== null)
434
lock (this.
parent
.ThisLock)
445
disposeItem = this.
parent
.Return(this.key, this);
480
if (this.
parent
!= null)
483
localDisposeItemCallback = this.
parent
.DisposeItemCallback;