3 writes to _fields
System.Runtime.Caching (3)
System\Runtime\Caching\MemoryCacheEntry.cs (3)
153
_fields
= new SeldomUsedFields();
168
_fields
??= new SeldomUsedFields();
214
_fields
??= new SeldomUsedFields();
27 references to _fields
System.Runtime.Caching (27)
System\Runtime\Caching\MemoryCacheEntry.cs (27)
154
_fields
._dependencies = dependencies;
155
_fields
._cache = cache;
169
_fields
._cache ??= cache;
170
_fields
._dependents ??= new Dictionary<MemoryCacheEntryChangeMonitor, MemoryCacheEntryChangeMonitor>();
171
_fields
._dependents[dependent] = dependent;
194
if (
_fields
!= null &&
_fields
._dependencies != null)
196
foreach (ChangeMonitor monitor in
_fields
._dependencies)
215
_fields
._updateSentinel = Tuple.Create(sentinelStore, sentinelEntry);
237
_fields
._cache.RemoveEntry(this.Key, this, CacheEntryRemovedReason.ChangeMonitorChanged);
251
if (
_fields
!= null &&
_fields
._dependents != null &&
_fields
._dependents.Count > 0)
253
deps =
_fields
._dependents.Keys;
256
_fields
._dependents = null;
257
Debug.Assert(
_fields
._dependents == null, "_fields._dependents == null");
271
if (
_fields
!= null &&
_fields
._dependencies != null)
273
foreach (ChangeMonitor monitor in
_fields
._dependencies)
284
if (
_fields
!= null &&
_fields
._dependents != null)
286
_fields
._dependents.Remove(dependent);
306
SeldomUsedFields fields =
_fields
;
328
if (
_fields
!= null &&
_fields
._dependencies != null)
330
foreach (ChangeMonitor monitor in
_fields
._dependencies)
339
MemoryCacheStore store = e.
_fields
._cache.GetStore(e);