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