1 write to _dataflowBlockOptions
System.Threading.Tasks.Dataflow (1)
Internal\TargetCore.cs (1)
122
_dataflowBlockOptions
= dataflowBlockOptions;
15 references to _dataflowBlockOptions
System.Threading.Tasks.Dataflow (15)
Internal\TargetCore.cs (15)
127
if (
_dataflowBlockOptions
.BoundedCapacity != System.Threading.Tasks.Dataflow.DataflowBlockOptions.Unbounded)
129
Debug.Assert(
_dataflowBlockOptions
.BoundedCapacity > 0, "Positive bounding count expected; should have been verified by options ctor");
130
_boundingState = new BoundingStateWithPostponed<TInput>(
_dataflowBlockOptions
.BoundedCapacity);
302
return (_numberOfOutstandingOperations - _numberOfOutstandingServiceTasks) <
_dataflowBlockOptions
.ActualMaxDegreeOfParallelism;
331
_numberOfOutstandingServiceTasks <
_dataflowBlockOptions
.ActualMaxDegreeOfParallelism;
384
Exception? exception = Common.StartTaskSafe(taskForInputProcessing,
_dataflowBlockOptions
.TaskScheduler);
407
int maxMessagesPerTask =
_dataflowBlockOptions
.ActualMaxMessagesPerTask;
426
&& _boundingState.OutstandingTransfers <=
_dataflowBlockOptions
.ActualMaxDegreeOfParallelism,
446
if (
_dataflowBlockOptions
.MaxDegreeOfParallelism != 1) break;
616
_dataflowBlockOptions
.BoundedCapacity !=
708
return
_dataflowBlockOptions
.CancellationToken.IsCancellationRequested || Volatile.Read(ref _exceptions) != null;
784
else if (
_dataflowBlockOptions
.CancellationToken.IsCancellationRequested)
786
_completionSource.TrySetCanceled(
_dataflowBlockOptions
.CancellationToken);
837
internal ExecutionDataflowBlockOptions DataflowBlockOptions { get { return
_dataflowBlockOptions
; } }
868
internal ExecutionDataflowBlockOptions DataflowBlockOptions { get { return _target.
_dataflowBlockOptions
; } }