16 references to ChangeBoundingCount
System.Threading.Tasks.Dataflow (16)
Blocks\ActionBlock.cs (1)
150
if (_defaultTarget.IsBounded) _defaultTarget.
ChangeBoundingCount
(-1);
Blocks\TransformBlock.cs (3)
109
onItemsRemoved = static (owningSource, count) => ((TransformBlock<TInput, TOutput>)owningSource)._target.
ChangeBoundingCount
(-count);
193
if (!itemIsValid) _target.
ChangeBoundingCount
(-1);
302
if (!gotOutputItem && isBounded) _target.
ChangeBoundingCount
(-1);
Blocks\TransformManyBlock.cs (7)
115
onItemsRemoved = static (owningSource, count) => ((TransformManyBlock<TInput, TOutput>)owningSource)._target.
ChangeBoundingCount
(-count);
339
_target.
ChangeBoundingCount
(count: -1);
361
if (isBounded) target.
ChangeBoundingCount
(count: -1);
484
if (outputFirstItem) _target.
ChangeBoundingCount
(count: 1);
502
if (!outputFirstItem) _target.
ChangeBoundingCount
(count: -1);
539
if (count > 1) _target.
ChangeBoundingCount
(count - 1);
540
else if (count == 0) _target.
ChangeBoundingCount
(-1);
Blocks\TransformManyBlock.IAsyncEnumerable.cs (4)
111
_target.
ChangeBoundingCount
(count: -1);
135
target.
ChangeBoundingCount
(count: -1);
222
_target.
ChangeBoundingCount
(count: 1);
243
_target.
ChangeBoundingCount
(count: -1);
Internal\TargetCore.cs (1)
695
ChangeBoundingCount
(-1);