3 writes to _reorderingBuffer
System.Threading.Tasks.Dataflow (3)
Blocks\TransformManyBlock.cs (2)
71
Initialize(messageWithId => ProcessMessage(transform, messageWithId), dataflowBlockOptions, ref _source, ref _target, ref
_reorderingBuffer
, TargetCoreOptions.None);
95
Initialize(messageWithId => ProcessMessageWithTask(transform, messageWithId), dataflowBlockOptions, ref _source, ref _target, ref
_reorderingBuffer
, TargetCoreOptions.UsesAsyncCompletion);
Blocks\TransformManyBlock.IAsyncEnumerable.cs (1)
45
}, dataflowBlockOptions, ref _source, ref _target, ref
_reorderingBuffer
, TargetCoreOptions.UsesAsyncCompletion);
15 references to _reorderingBuffer
System.Threading.Tasks.Dataflow (15)
Blocks\TransformManyBlock.cs (9)
132
target = new TargetCore<TInput>(this, processMessageAction,
_reorderingBuffer
, dataflowBlockOptions, targetCoreOptions);
218
if (
_reorderingBuffer
!= null)
314
if (
_reorderingBuffer
!= null)
350
Debug.Assert(
_reorderingBuffer
!= null, "Expected a reordering buffer");
360
_reorderingBuffer
.AddItem(id, null, false);
378
bool? isNextNullable =
_reorderingBuffer
.AddItemIfNextAndTrusted(id, itemAsTrustedList, itemAsTrustedList != null);
427
_reorderingBuffer
.AddItem(id, itemCopy, itemIsValid: itemCopy != null);
438
Debug.Assert(
_reorderingBuffer
== null, "Expected not to have a reordering buffer");
469
_reorderingBuffer
!= null;
Blocks\TransformManyBlock.IAsyncEnumerable.cs (6)
96
if (
_reorderingBuffer
is not null)
122
Debug.Assert(
_reorderingBuffer
is not null, "Expected a reordering buffer");
132
_reorderingBuffer
.AddItem(id, null, false);
147
if (
_reorderingBuffer
.IsNext(id))
187
_reorderingBuffer
.AddItem(id, itemCopy, itemIsValid: itemCopy is not null);
205
_reorderingBuffer
is not null;