1 write to _result
Microsoft.Extensions.Caching.Hybrid (1)
Internal\DefaultHybridCache.StampedeStateT.cs (1)
34
_result
= new(TaskCreationOptions.RunContinuationsAsynchronously);
11 references to _result
Microsoft.Extensions.Caching.Hybrid (11)
Internal\DefaultHybridCache.StampedeStateT.cs (11)
29
=>
_result
?.TrySetResult(value);
78
public override void SetCanceled() =>
_result
?.TrySetCanceled(SharedToken);
126
Debug.Assert(
_result
is not null, "result should be assigned");
127
return
_result
is null ? InvalidAsync() :
_result
.Task;
358
if (
_result
is not null)
361
_ =
_result
.TrySetException(ex);
368
if (
_result
is not null)
371
_ =
_result
.TrySetResult(ImmutableCacheItem<T>.GetReservedShared());
468
if (
_result
is not null)
471
_ =
_result
.TrySetResult(value);