2 writes to _coherentState
Microsoft.Extensions.Caching.Memory (2)
MemoryCache.cs (2)
57
_coherentState
= new CoherentState();
295
CoherentState oldState = Interlocked.Exchange(ref
_coherentState
, new CoherentState());
10 references to _coherentState
Microsoft.Extensions.Caching.Memory (10)
MemoryCache.cs (10)
80
public int Count =>
_coherentState
.Count;
86
=>
_coherentState
.GetAllKeys();
94
internal long Size =>
_coherentState
.Size;
137
CoherentState coherentState =
_coherentState
; // Clear() can update the reference in the meantime
213
CoherentState coherentState =
_coherentState
; // Clear() can update the reference in the meantime
272
CoherentState coherentState =
_coherentState
; // Clear() can update the reference in the meantime
327
_coherentState
.RemoveEntry(entry, _options);
419
CoherentState coherentState =
_coherentState
; // Clear() can update the reference in the meantime
499
CoherentState coherentState =
_coherentState
; // Clear() can update the reference in the meantime
528
CoherentState coherentState =
_coherentState
; // Clear() can update the reference in the meantime