31 references to IsEmpty
Microsoft.AspNetCore.Diagnostics.Middleware (1)
Buffering\IncomingRequestLogBuffer.cs (1)
116for (int offset = 0; offset < numItemsToEmit && !tempBuffer.IsEmpty; offset += MaxBatchSize)
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (1)
Internal\IOQueue.cs (1)
50if (_workItems.IsEmpty)
Microsoft.Build (6)
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (1)
309if (!exceptions.IsEmpty)
BackEnd\Components\Logging\LoggingService.cs (3)
1405while (_eventQueue?.IsEmpty == false) 1510if (!completeAdding.IsCancellationRequested && eventQueue.IsEmpty) 1517} while (!eventQueue.IsEmpty || !completeAdding.IsCancellationRequested);
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
247Assumed.False(_pendingResourceRequests.IsEmpty, "No pending resource requests");
Logging\ProfilerLogger.cs (1)
137while (!_profiledResults.IsEmpty)
Microsoft.CodeAnalysis (1)
Diagnostic\DiagnosticBag.cs (1)
52return bag == null || bag.IsEmpty;
Microsoft.CodeAnalysis.Features (2)
AddImport\AbstractAddImportFeatureService.cs (1)
268if (!allSymbolReferences.IsEmpty)
AddImport\SymbolReferenceFinder_PackageAssemblySearch.cs (1)
33if (!allReferences.IsEmpty)
Microsoft.Extensions.Http (1)
DefaultHttpClientFactory.cs (1)
310if (!_expiredHandlers.IsEmpty)
Microsoft.ML.Core (1)
Data\ProgressReporter.cs (1)
473while (!_pendingEvents.IsEmpty)
System.Data.Odbc (2)
Common\System\Data\ProviderBase\DbConnectionPool.cs (2)
661} while (!_pendingOpens.IsEmpty); 932if (!_pendingOpens.IsEmpty && _pendingOpensWaiting == 0)
System.Data.OleDb (1)
System\Data\ProviderBase\DbConnectionPool.cs (1)
1406if (!_pendingOpens.IsEmpty && _pendingOpensWaiting == 0)
System.Private.CoreLib (5)
src\runtime\src\libraries\Common\src\System\Collections\Concurrent\MultiProducerMultiConsumerQueue.cs (1)
26bool IProducerConsumerQueue<T>.IsEmpty => IsEmpty;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentQueue.cs (3)
211/// that another thread will modify the collection after <see cref="IsEmpty"/> returns, thus invalidating 252/// For determining whether the collection contains any items, use of the <see cref="IsEmpty"/> 748/// For determining whether the collection contains any items, use of the <see cref="IsEmpty"/>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolWorkQueue.cs (1)
760else if (!highPriorityWorkItems.IsEmpty &&
System.Threading.Channels (8)
src\runtime\src\libraries\Common\src\System\Collections\Concurrent\MultiProducerMultiConsumerQueue.cs (1)
26bool IProducerConsumerQueue<T>.IsEmpty => IsEmpty;
System\Threading\Channels\UnboundedChannel.cs (7)
129if (parent._doneWriting is not null && parent._items.IsEmpty) 143if (!_parent._items.IsEmpty) 155if (!parent._items.IsEmpty) 208completeTask = parent._items.IsEmpty; 239if (!completeTask && parent._items.IsEmpty) 347if (!_items.IsEmpty) 359Debug.Assert(_items.IsEmpty, "There are blocked/waiting readers, so there shouldn't be any data available.");
System.Threading.Tasks.Dataflow (1)
src\runtime\src\libraries\Common\src\System\Collections\Concurrent\MultiProducerMultiConsumerQueue.cs (1)
26bool IProducerConsumerQueue<T>.IsEmpty => IsEmpty;
System.Threading.Tasks.Parallel (1)
System\Threading\Tasks\Parallel.cs (1)
320if ((exceptionQ != null) && (!exceptionQ.IsEmpty))