1 instantiation of SendAsyncSource
System.Threading.Tasks.Dataflow (1)
Base\DataflowBlock.cs (1)
325
source = new
SendAsyncSource
<TInput>(target, item, cancellationToken);
15 references to SendAsyncSource
System.Threading.Tasks.Dataflow (15)
Base\DataflowBlock.cs (15)
294
SendAsyncSource
<TInput> source;
344
[DebuggerTypeProxy(typeof(
SendAsyncSource
<>.DebugView))]
406
_cancellationCallback, new WeakReference<
SendAsyncSource
<TOutput>>(this));
437
try { ((
SendAsyncSource
<TOutput>)state!).TrySetResult(true); }
450
try { ((
SendAsyncSource
<TOutput>)state!).TrySetResult(false); }
462
var tuple = (Tuple<
SendAsyncSource
<TOutput>, Exception>)state!;
465
}, Tuple.Create<
SendAsyncSource
<TOutput>, Exception>(this, exception), runAsync);
474
SendAsyncSource
<TOutput> source = (
SendAsyncSource
<TOutput>)state!;
526
state => ((
SendAsyncSource
<TOutput>)state!).OfferToTarget(), this,
540
SendAsyncSource
<TOutput>? source = Common.UnwrapWeakReference<
SendAsyncSource
<TOutput>>(state!);
701
CancellationHandler(new WeakReference<
SendAsyncSource
<TOutput>>(this)); // same code as registered with the CancellationToken
734
private readonly
SendAsyncSource
<TOutput> _source;
738
public DebugView(
SendAsyncSource
<TOutput> source)