34 references to IsEmpty
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
ConnectionDispatcherTests.cs (1)
54Assert.True(testLogger.Scopes.IsEmpty);
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Servers\Kestrel\Transport.Sockets\src\Internal\IOQueue.cs (1)
50if (_workItems.IsEmpty)
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (1)
Internal\IOQueue.cs (1)
50if (_workItems.IsEmpty)
Microsoft.AspNetCore.WebSockets.Tests (3)
BufferStream.cs (3)
142while (count > 0 && (_topBuffer.Count > 0 || !_bufferedData.IsEmpty)); 206while (count > 0 && (_topBuffer.Count > 0 || !_bufferedData.IsEmpty)); 295if (!_bufferedData.IsEmpty || _disposed)
Microsoft.Build (6)
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (1)
257if (!exceptions.IsEmpty)
BackEnd\Components\Logging\LoggingService.cs (3)
1293while (_eventQueue?.IsEmpty == false) 1388if (!completeAdding.IsCancellationRequested && eventQueue.IsEmpty) 1395} while (!eventQueue.IsEmpty || !completeAdding.IsCancellationRequested);
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
244ErrorUtilities.VerifyThrow(!_pendingResourceRequests.IsEmpty, "No pending resource requests");
Logging\ProfilerLogger.cs (1)
137while (!_profiledResults.IsEmpty)
Microsoft.CodeAnalysis (1)
Diagnostic\DiagnosticBag.cs (1)
51return bag == null || bag.IsEmpty;
Microsoft.CodeAnalysis.Features (2)
AddImport\AbstractAddImportFeatureService.cs (1)
266if (!allSymbolReferences.IsEmpty)
AddImport\SymbolReferenceFinder_PackageAssemblySearch.cs (1)
26if (!allReferences.IsEmpty)
Microsoft.Extensions.Http (1)
DefaultHttpClientFactory.cs (1)
310if (!_expiredHandlers.IsEmpty)
Microsoft.Extensions.Telemetry (1)
Buffering\GlobalBuffer.cs (1)
135for (int offset = 0; offset < numItemsToEmit && !tempBuffer.IsEmpty; offset += MaxBatchSize)
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.Net.Sockets (1)
System\Net\Sockets\SocketAsyncEngine.Unix.cs (1)
314UpdateEventQueueProcessingStage(eventQueue.IsEmpty);
System.Private.CoreLib (4)
src\libraries\Common\src\System\Collections\Concurrent\MultiProducerMultiConsumerQueue.cs (1)
26bool IProducerConsumerQueue<T>.IsEmpty => IsEmpty;
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"/>
System.Threading.Channels (7)
src\libraries\Common\src\System\Collections\Concurrent\MultiProducerMultiConsumerQueue.cs (1)
26bool IProducerConsumerQueue<T>.IsEmpty => IsEmpty;
System\Threading\Channels\UnboundedChannel.cs (6)
133if (parent._doneWriting != null && parent._items.IsEmpty) 147if (!_parent._items.IsEmpty) 159if (!parent._items.IsEmpty) 218completeTask = parent._items.IsEmpty; 332if (!_items.IsEmpty) 343Debug.Assert(_items.IsEmpty, "There are blocked/waiting readers, so there shouldn't be any data available.");
System.Threading.Tasks.Dataflow (1)
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)
323if ((exceptionQ != null) && (!exceptionQ.IsEmpty))