1 instantiation of SendAsyncSource
System.Threading.Tasks.Dataflow (1)
Base\DataflowBlock.cs (1)
349
source = new
SendAsyncSource
<TInput>(target, item, cancellationToken);
15 references to SendAsyncSource
System.Threading.Tasks.Dataflow (15)
Base\DataflowBlock.cs (15)
318
SendAsyncSource
<TInput> source;
368
[DebuggerTypeProxy(typeof(
SendAsyncSource
<>.DebugView))]
430
_cancellationCallback, new WeakReference<
SendAsyncSource
<TOutput>>(this));
461
try { ((
SendAsyncSource
<TOutput>)state!).TrySetResult(true); }
474
try { ((
SendAsyncSource
<TOutput>)state!).TrySetResult(false); }
486
var tuple = (Tuple<
SendAsyncSource
<TOutput>, Exception>)state!;
489
}, Tuple.Create<
SendAsyncSource
<TOutput>, Exception>(this, exception), runAsync);
498
SendAsyncSource
<TOutput> source = (
SendAsyncSource
<TOutput>)state!;
550
state => ((
SendAsyncSource
<TOutput>)state!).OfferToTarget(), this,
564
SendAsyncSource
<TOutput>? source = Common.UnwrapWeakReference<
SendAsyncSource
<TOutput>>(state!);
725
CancellationHandler(new WeakReference<
SendAsyncSource
<TOutput>>(this)); // same code as registered with the CancellationToken
758
private readonly
SendAsyncSource
<TOutput> _source;
762
public DebugView(
SendAsyncSource
<TOutput> source)