6 references to s_completedSentinel
System.Threading.Channels (6)
System\Threading\Channels\AsyncOperation.cs (6)
126internal bool IsCompleted => ReferenceEquals(_continuation, s_completedSentinel); 261if (!ReferenceEquals(prevContinuation, s_completedSentinel)) 383if (_continuation != null || Interlocked.CompareExchange(ref _continuation, s_completedSentinel, null) != null) 385Debug.Assert(_continuation != s_completedSentinel, $"The continuation was the completion sentinel."); 434_continuation = s_completedSentinel; 443thisRef._continuation = s_completedSentinel;