9[DebuggerDisplay(
"{DebuggerDisplayContent,nq}")]
69 private object DebuggerDisplayContent =>
$"{Common.GetNameForDebugger(this, _source.DataflowBlockOptions)}, InputCount={InputCountForDebugger}, OutputCount={OutputCountForDebugger}";
210 _target.SignalOneAsyncMessageCompleted();
214 _target.SignalOneAsyncMessageCompleted(-1);
259 _target.SignalOneAsyncMessageCompleted();
281 _target.ChangeBoundingCount(-1);
294 target.ChangeBoundingCount(-1);
312 bool value = flag.Value;
352 if (
_target.DataflowBlockOptions.MaxDegreeOfParallelism == 1)
365 bool flag = _target.DataflowBlockOptions.MaxDegreeOfParallelism == 1 ||
_reorderingBuffer !=
null;
375 _target.ChangeBoundingCount(1);
397 _target.ChangeBoundingCount(-1);
426 _target.ChangeBoundingCount(-1);
static bool IsCooperativeCancellation(Exception exception)
static TaskContinuationOptions GetContinuationOptions(TaskContinuationOptions toInclude=TaskContinuationOptions.None)
static string GetNameForDebugger(IDataflowBlock block, DataflowBlockOptions options=null)
static void WireCancellationToComplete(CancellationToken cancellationToken, Task completionTask, Action< object > completeAction, object completeState)
static int GetBlockId(IDataflowBlock block)
static readonly DataflowEtwProvider Log
void AddItem(long id, TOutput item, bool itemIsValid)
bool? AddItemIfNextAndTrusted(long id, TOutput item, bool isTrusted)
static TaskScheduler Default
void Fault(Exception exception)
static CancellationToken None