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