21 references to Id
System.Threading.Tasks.Dataflow (21)
Base\DataflowBlock.cs (3)
658
bool validMessage = (messageHeader.
Id
== Common.SINGLE_MESSAGE_ID);
697
bool reservable = (messageHeader.
Id
== Common.SINGLE_MESSAGE_ID);
711
if (messageHeader.
Id
!= Common.SINGLE_MESSAGE_ID)
Base\DataflowMessageHeader.cs (5)
69
return (int)
Id
;
78
return left.
Id
== right.
Id
;
87
return left.
Id
!= right.
Id
;
Blocks\BroadcastBlock.cs (3)
1056
if (messageHeader.
Id
!= _nextMessageId)
1098
if (messageHeader.
Id
== _nextMessageId)
1126
if (messageHeader.
Id
!= _nextMessageId) throw new InvalidOperationException(SR.InvalidOperation_MessageNotReservedByTarget);
Blocks\WriteOnceBlock.cs (6)
395
if (_header.
Id
== messageHeader.
Id
)
417
return _header.
Id
== messageHeader.
Id
;
428
if (_header.
Id
!= messageHeader.
Id
) throw new InvalidOperationException(SR.InvalidOperation_MessageNotReservedByTarget);
Internal\SourceCore.cs (4)
190
if (messageHeader.
Id
!= _nextMessageId.Value ||
233
if (messageHeader.
Id
== _nextMessageId.Value && !_messages.IsEmpty)
260
if (messageHeader.
Id
!= _nextMessageId.Value || _messages.IsEmpty) throw new InvalidOperationException(SR.InvalidOperation_MessageNotReservedByTarget);
625
if (_nextMessageId.Value != header.
Id
||