2 writes to _dependents
System.Runtime.Caching (2)
System\Runtime\Caching\MemoryCacheEntry.cs (2)
170
_fields.
_dependents
??= new Dictionary<MemoryCacheEntryChangeMonitor, MemoryCacheEntryChangeMonitor>();
256
_fields.
_dependents
= null;
7 references to _dependents
System.Runtime.Caching (7)
System\Runtime\Caching\MemoryCacheEntry.cs (7)
171
_fields.
_dependents
[dependent] = dependent;
251
if (_fields != null && _fields.
_dependents
!= null && _fields.
_dependents
.Count > 0)
253
deps = _fields.
_dependents
.Keys;
257
Debug.Assert(_fields.
_dependents
== null, "_fields._dependents == null");
284
if (_fields != null && _fields.
_dependents
!= null)
286
_fields.
_dependents
.Remove(dependent);