1 write to _completion
System.Threading.Channels (1)
System\Threading\Channels\UnboundedPriorityChannel.cs (1)
40_completion = new TaskCompletionSource(runContinuationsAsynchronously ? TaskCreationOptions.RunContinuationsAsynchronously : TaskCreationOptions.None);
5 references to _completion
System.Threading.Channels (5)
System\Threading\Channels\UnboundedPriorityChannel.cs (5)
61public override Task Completion => _parent._completion.Task; 146ChannelUtilities.Complete(parent._completion, parent._doneWriting); 233ChannelUtilities.Complete(parent._completion, error); 344Debug.Assert(!_completion.Task.IsCompleted, "We still have data available, so shouldn't be completed."); 350if (_completion.Task.IsCompleted)