6 references to s_completedSentinel
System.Threading.Channels (6)
System\Threading\Channels\AsyncOperation.cs (6)
143
internal bool IsCompleted => ReferenceEquals(Volatile.Read(ref _continuation),
s_completedSentinel
);
211
Interlocked.CompareExchange(ref _continuation,
s_completedSentinel
, null) is not null)
213
Debug.Assert(_continuation !=
s_completedSentinel
, $"The continuation was the completion sentinel.");
281
_continuation =
s_completedSentinel
;
292
thisRef._continuation =
s_completedSentinel
;
385
if (!ReferenceEquals(prevContinuation,
s_completedSentinel
))