2 writes to _coherentState
Microsoft.Extensions.Caching.Memory (2)
MemoryCache.cs (2)
57_coherentState = new CoherentState(); 348CoherentState oldState = Interlocked.Exchange(ref _coherentState, new CoherentState());
11 references to _coherentState
Microsoft.Extensions.Caching.Memory (11)
MemoryCache.cs (11)
80public int Count => _coherentState.Count; 86=> _coherentState.GetAllKeys(); 94internal long Size => _coherentState.Size; 137CoherentState coherentState = _coherentState; // Clear() can update the reference in the meantime 210CoherentState coherentState = _coherentState; // Clear() can update the reference in the meantime 227CoherentState coherentState = _coherentState; // Clear() can update the reference in the meantime 325CoherentState coherentState = _coherentState; // Clear() can update the reference in the meantime 380_coherentState.RemoveEntry(entry, _options); 472CoherentState coherentState = _coherentState; // Clear() can update the reference in the meantime 552CoherentState coherentState = _coherentState; // Clear() can update the reference in the meantime 581CoherentState coherentState = _coherentState; // Clear() can update the reference in the meantime