7 references to s_availableSentinel
System.Threading.Channels (7)
System\Threading\Channels\AsyncOperation.cs (7)
85_continuation = pooled ? s_availableSentinel : null; 148Volatile.Write(ref _continuation, s_availableSentinel); // only after fetching all needed data 174Volatile.Write(ref _continuation, s_availableSentinel); // only after fetching all needed data 185if (ReferenceEquals(Interlocked.CompareExchange(ref _continuation, null, s_availableSentinel), s_availableSentinel)) 263Debug.Assert(prevContinuation != s_availableSentinel, "Continuation was the available sentinel."); 386Debug.Assert(_continuation != s_availableSentinel, $"The continuation was the available sentinel.");