3 writes to _fields
System.Runtime.Caching (3)
System\Caching\MemoryCacheEntry.cs (3)
128
_fields
= new SeldomUsedFields();
140
_fields
= new SeldomUsedFields();
182
_fields
= new SeldomUsedFields();
31 references to _fields
System.Runtime.Caching (31)
System\Caching\MemoryCacheEntry.cs (31)
129
_fields
._dependencies = dependencies;
130
_fields
._cache = cache;
139
if (
_fields
== null) {
142
if (
_fields
._cache == null) {
143
_fields
._cache = cache;
145
if (
_fields
._dependents == null) {
146
_fields
._dependents = new Dictionary<MemoryCacheEntryChangeMonitor, MemoryCacheEntryChangeMonitor>();
148
_fields
._dependents[dependent] = dependent;
166
if (
_fields
!= null &&
_fields
._dependencies != null) {
167
foreach (ChangeMonitor monitor in
_fields
._dependencies) {
181
if (
_fields
== null) {
184
_fields
._updateSentinel = Tuple.Create(sentinelStore, sentinelEntry);
198
_fields
._cache.RemoveEntry(this.Key, this, CacheEntryRemovedReason.ChangeMonitorChanged);
210
if (
_fields
!= null &&
_fields
._dependents != null &&
_fields
._dependents.Count > 0) {
211
deps =
_fields
._dependents.Keys;
214
_fields
._dependents = null;
215
Dbg.Assert(
_fields
._dependents == null, "_fields._dependents == null");
229
if (
_fields
!= null &&
_fields
._dependencies != null) {
230
foreach (ChangeMonitor monitor in
_fields
._dependencies) {
238
if (
_fields
!= null &&
_fields
._dependents != null) {
239
_fields
._dependents.Remove(dependent);
255
SeldomUsedFields fields =
_fields
;
273
if (
_fields
!= null &&
_fields
._dependencies != null) {
274
foreach (ChangeMonitor monitor in
_fields
._dependencies) {
280
MemoryCacheStore store = e.
_fields
._cache.GetStore(e);