8 writes to State
System.Runtime.Caching (8)
System\Runtime\Caching\MemoryCacheEntry.cs (1)
243
State
= EntryState.Closed;
System\Runtime\Caching\MemoryCacheStore.cs (7)
114
entry.
State
= EntryState.RemovedFromCache;
191
toBeReleasedEntry.
State
= EntryState.RemovingFromCache;
197
entry.
State
= EntryState.AddingToCache;
270
entry.
State
= EntryState.RemovingFromCache;
317
entry.
State
= EntryState.RemovingFromCache;
347
existingEntry.
State
= EntryState.RemovingFromCache;
349
entry.
State
= EntryState.AddingToCache;
6 references to State
System.Runtime.Caching (6)
System\Runtime\Caching\CacheExpires.cs (2)
508
if ((cacheEntry.
State
& (EntryState.AddedToCache | EntryState.AddingToCache)) == 0)
536
if ((cacheEntry.
State
& (EntryState.AddedToCache | EntryState.AddingToCache)) == 0)
System\Runtime\Caching\MemoryCacheEntry.cs (2)
163
if (
State
> EntryState.AddedToCache)
231
if (
State
== EntryState.AddedToCache)
System\Runtime\Caching\MemoryCacheEntryChangeMonitor.cs (1)
93
if (entry.
State
!= EntryState.AddedToCache)
System\Runtime\Caching\MemoryCacheStore.cs (1)
112
Debug.Assert(entry.
State
== EntryState.RemovingFromCache, "entry.State = EntryState.RemovingFromCache");