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