1 write to _result
Microsoft.Extensions.Caching.Hybrid (1)
Internal\DefaultHybridCache.StampedeStateT.cs (1)
36
_result
= new(TaskCreationOptions.RunContinuationsAsynchronously);
11 references to _result
Microsoft.Extensions.Caching.Hybrid (11)
Internal\DefaultHybridCache.StampedeStateT.cs (11)
31
=>
_result
?.TrySetResult(value);
80
public override void SetCanceled() =>
_result
?.TrySetCanceled(SharedToken);
128
Debug.Assert(
_result
is not null, "result should be assigned");
129
return
_result
is null ? InvalidAsync() :
_result
.Task;
427
if (
_result
is not null)
430
_ =
_result
.TrySetException(ex);
437
if (
_result
is not null)
440
_ =
_result
.TrySetResult(ImmutableCacheItem<T>.GetReservedShared());
539
if (
_result
is not null)
542
_ =
_result
.TrySetResult(value);