29 references to VoidResult
System.Threading.Tasks.Dataflow (29)
Base\DataflowBlock.cs (3)
1771return ChooseCore<T1, T2, VoidResult>(source1, action1, source2, action2, null, null, dataflowBlockOptions); 2540return Common.CreateTaskFromException<VoidResult>(exc); 2723get { return LazyInitializer.EnsureInitialized(ref _completion, static () => new TaskCompletionSource<VoidResult>().Task); }
Blocks\BatchBlock.cs (3)
246private readonly TaskCompletionSource<VoidResult> _completionTask = new TaskCompletionSource<VoidResult>(); 549targetCore._completionTask.TrySetResult(default(VoidResult));
Blocks\BroadcastBlock.cs (3)
504private readonly TaskCompletionSource<VoidResult> _completionTask = new TaskCompletionSource<VoidResult>(TaskCreationOptions.RunContinuationsAsynchronously); 996_completionTask.TrySetResult(default(VoidResult));
Blocks\JoinBlock.cs (3)
491private readonly TaskCompletionSource<VoidResult> _completionTask = new TaskCompletionSource<VoidResult>(); 822_completionTask.TrySetResult(default(VoidResult));
Blocks\WriteOnceBlock.cs (5)
34private TaskCompletionSource<VoidResult>? _lazyCompletionTaskSource; 83_lazyCompletionTaskSource = new TaskCompletionSource<VoidResult>(TaskCreationOptions.RunContinuationsAsynchronously); 195_lazyCompletionTaskSource.TrySetResult(default(VoidResult)); 493private TaskCompletionSource<VoidResult> CompletionTaskSource 502Interlocked.CompareExchange(ref _lazyCompletionTaskSource, new TaskCompletionSource<VoidResult>(TaskCreationOptions.RunContinuationsAsynchronously), null);
Internal\Common.cs (2)
40internal static readonly TaskCompletionSource<VoidResult> CompletedVoidResultTaskCompletionSource = CreateCachedTaskCompletionSource<VoidResult>();
Internal\SourceCore.cs (3)
36private readonly TaskCompletionSource<VoidResult> _completionTask = new TaskCompletionSource<VoidResult>(TaskCreationOptions.RunContinuationsAsynchronously); 970_completionTask.TrySetResult(default(VoidResult));
Internal\SpscTargetCore.cs (4)
68private TaskCompletionSource<VoidResult>? _completionTask; 339result = CompletionSource.TrySetResult(default(VoidResult)); 358private TaskCompletionSource<VoidResult> CompletionSource 360get { return LazyInitializer.EnsureInitialized(ref _completionTask, static () => new TaskCompletionSource<VoidResult>()); }
Internal\TargetCore.cs (3)
58private readonly TaskCompletionSource<VoidResult> _completionSource = new TaskCompletionSource<VoidResult>(); 791_completionSource.TrySetResult(default(VoidResult));