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