6 references to s_completedSentinel
System.Threading.Channels (6)
System\Threading\Channels\AsyncOperation.cs (6)
142internal bool IsCompleted => ReferenceEquals(Volatile.Read(ref _continuation), s_completedSentinel); 210Interlocked.CompareExchange(ref _continuation, s_completedSentinel, null) is not null) 212Debug.Assert(_continuation != s_completedSentinel, $"The continuation was the completion sentinel."); 280_continuation = s_completedSentinel; 291thisRef._continuation = s_completedSentinel; 384if (!ReferenceEquals(prevContinuation, s_completedSentinel))