8 writes to State
System.Runtime.Caching (8)
System\Caching\MemoryCacheEntry.cs (1)
203
State
= EntryState.Closed;
System\Caching\MemoryCacheStore.cs (7)
93
entry.
State
= EntryState.RemovedFromCache;
157
toBeReleasedEntry.
State
= EntryState.RemovingFromCache;
162
entry.
State
= EntryState.AddingToCache;
224
entry.
State
= EntryState.RemovingFromCache;
265
entry.
State
= EntryState.RemovingFromCache;
289
existingEntry.
State
= EntryState.RemovingFromCache;
291
entry.
State
= EntryState.AddingToCache;
4 references to State
System.Runtime.Caching (4)
System\Caching\MemoryCacheEntry.cs (2)
136
if (
State
> EntryState.AddedToCache) {
197
if (
State
== EntryState.AddedToCache) {
System\Caching\MemoryCacheEntryChangeMonitor.cs (1)
78
if (entry.
State
!= EntryState.AddedToCache) {
System\Caching\MemoryCacheStore.cs (1)
91
Dbg.Assert(entry.
State
== EntryState.RemovingFromCache, "entry.State = EntryState.RemovingFromCache");