3 writes to SharedToken
Microsoft.Extensions.Caching.Hybrid (3)
Internal\DefaultHybridCache.StampedeState.cs (3)
50
SharedToken
= _sharedCancellation.Token;
54
SharedToken
= CancellationToken.None;
66
SharedToken
= token;
6 references to SharedToken
Microsoft.Extensions.Caching.Hybrid (6)
Internal\DefaultHybridCache.StampedeStateT.cs (6)
78
public override void SetCanceled() => _result?.TrySetCanceled(
SharedToken
);
180
result = await Cache.GetFromL2Async(Key.Key,
SharedToken
).ConfigureAwait(false);
193
catch (OperationCanceledException) when (
SharedToken
.IsCancellationRequested)
232
newValue = await _underlying!(_state!,
SharedToken
).ConfigureAwait(false);
243
if (ex is OperationCanceledException &&
SharedToken
.IsCancellationRequested)
305
await Cache.SetL2Async(Key.Key, in buffer, _options,
SharedToken
).ConfigureAwait(false);