1 write to _completion
System.Threading.Channels (1)
System\Threading\Channels\UnboundedChannel.cs (1)
35_completion = new TaskCompletionSource(runContinuationsAsynchronously ? TaskCreationOptions.RunContinuationsAsynchronously : TaskCreationOptions.None);
5 references to _completion
System.Threading.Channels (5)
System\Threading\Channels\UnboundedChannel.cs (5)
55public override Task Completion => _parent._completion.Task; 136ChannelUtilities.Complete(parent._completion, parent._doneWriting); 228ChannelUtilities.Complete(parent._completion, error); 339Debug.Assert(!_completion.Task.IsCompleted, "We still have data available, so shouldn't be completed."); 345if (_completion.Task.IsCompleted)