2 writes to _coherentState
Microsoft.Extensions.Caching.Memory (2)
MemoryCache.cs (2)
55
_coherentState
= new CoherentState();
300
CoherentState oldState = Interlocked.Exchange(ref
_coherentState
, new CoherentState());
10 references to _coherentState
Microsoft.Extensions.Caching.Memory (10)
MemoryCache.cs (10)
78
public int Count =>
_coherentState
.Count;
87
foreach (KeyValuePair<object, CacheEntry> pairs in
_coherentState
._entries)
100
internal long Size =>
_coherentState
.Size;
143
CoherentState coherentState =
_coherentState
; // Clear() can update the reference in the meantime
219
CoherentState coherentState =
_coherentState
; // Clear() can update the reference in the meantime
278
CoherentState coherentState =
_coherentState
; // Clear() can update the reference in the meantime
332
_coherentState
.RemoveEntry(entry, _options);
424
CoherentState coherentState =
_coherentState
; // Clear() can update the reference in the meantime
505
CoherentState coherentState =
_coherentState
; // Clear() can update the reference in the meantime
534
CoherentState coherentState =
_coherentState
; // Clear() can update the reference in the meantime