Implemented interface member:
property
IsEmpty
System.Collections.Concurrent.IProducerConsumerQueue<T>.IsEmpty
9 references to IsEmpty
System.Threading.Tasks.Dataflow (9)
Internal\SourceCore.cs (6)
233if (messageHeader.Id == _nextMessageId.Value && !_messages.IsEmpty) 260if (messageHeader.Id != _nextMessageId.Value || _messages.IsEmpty) throw new InvalidOperationException(SR.InvalidOperation_MessageNotReservedByTarget); 340if (!_messages.IsEmpty) 728if (_taskForOutputProcessing == null && _enableOffering && !_messages.IsEmpty) 741Debug.Assert(_taskForOutputProcessing == null && _enableOffering && !_messages.IsEmpty, 918if (_messages.IsEmpty || CanceledOrFaulted)
Internal\SpscTargetCore.cs (3)
234if (!_messages.IsEmpty && _exceptions == null && (messagesProcessed < maxMessagesToProcess)) 243if ((wasDecliningPermanently && _messages.IsEmpty) || _exceptions != null) 265if (!_messages.IsEmpty || // messages to be processed