2 writes to _coherentState
Microsoft.Extensions.Caching.Memory (2)
MemoryCache.cs (2)
57
_coherentState
= new CoherentState();
348
CoherentState oldState = Interlocked.Exchange(ref
_coherentState
, new CoherentState());
11 references to _coherentState
Microsoft.Extensions.Caching.Memory (11)
MemoryCache.cs (11)
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
210
CoherentState coherentState =
_coherentState
; // Clear() can update the reference in the meantime
227
CoherentState coherentState =
_coherentState
; // Clear() can update the reference in the meantime
325
CoherentState coherentState =
_coherentState
; // Clear() can update the reference in the meantime
380
_coherentState
.RemoveEntry(entry, _options);
472
CoherentState coherentState =
_coherentState
; // Clear() can update the reference in the meantime
552
CoherentState coherentState =
_coherentState
; // Clear() can update the reference in the meantime
581
CoherentState coherentState =
_coherentState
; // Clear() can update the reference in the meantime