6 instantiations of State
Microsoft.Extensions.Caching.Memory (6)
CacheEntry.ExpirationTokensList.cs (6)
25
private static readonly State s_empty = new
State
(Array.Empty<IChangeToken>(), 0);
28
private volatile State _state = new
State
(Array.Empty<IChangeToken>(), 0);
88
_state = new
State
(items, count);
153
_state = new
State
(items, updatedCount);
271
state = new
State
(items, count);
331
_state = new
State
(items, updatedCount);
21 references to State
Microsoft.Extensions.Caching.Memory (21)
CacheEntry.ExpirationTokensList.cs (21)
25
private static readonly
State
s_empty = new State(Array.Empty<IChangeToken>(), 0);
28
private volatile
State
_state = new State(Array.Empty<IChangeToken>(), 0);
43
State
state = _state;
52
State
state = _state;
63
State
state = _state;
72
State
state = _state;
97
State
state = _state;
115
State
state = _state;
128
State
state = _state;
161
State
state = _state;
183
State
state = _state;
200
State
state = _state;
224
State
state = _state;
230
State
state = _state;
236
State
state = _state;
260
private
State
EnsureCapacity(
State
state, int count, int requiredCapacity)
281
private void SetCount(
State
state, int count)
304
private static void GrowBuilder(
State
state, int requiredCapacity)
311
private static void RemoveAtBuilder(
State
state, int index)
319
private void RemoveAtConcurrent(
State
state, int count, int index)