6 references to s_completedSentinel
System.Threading.Channels (6)
System\Threading\Channels\AsyncOperation.cs (6)
142internal bool IsCompleted => ReferenceEquals(_continuation, s_completedSentinel); 207if (_continuation is not null || Interlocked.CompareExchange(ref _continuation, s_completedSentinel, null) is not null) 209Debug.Assert(_continuation != s_completedSentinel, $"The continuation was the completion sentinel."); 273_continuation = s_completedSentinel; 282thisRef._continuation = s_completedSentinel; 358if (!ReferenceEquals(prevContinuation, s_completedSentinel))