93 references to IsEmpty
aspire (2)
Backchannel\AuxiliaryBackchannelMonitor.cs (2)
239if (connectionsForHash.IsEmpty) 424if (connectionsForHash.IsEmpty)
Aspire.Cli.Tests (1)
TestServices\TestAuxiliaryBackchannelMonitor.cs (1)
110if (connectionsDict.IsEmpty)
Aspire.Dashboard (2)
Components\Controls\SelectResourceOptions.razor.cs (1)
50if (values.IsEmpty)
Components\Pages\ConsoleLogs.razor.cs (1)
567if (_consoleLogsSubscriptions.IsEmpty)
Aspire.Hosting (3)
Pipelines\PipelineActivityReporter.cs (1)
282if (_steps.IsEmpty)
Pipelines\ReportingStep.cs (1)
77if (_tasks.IsEmpty)
Utils\FileSystemService.cs (1)
107if (_allocatedItems.IsEmpty)
Aspire.Hosting.Analyzers (1)
AppHostAnalyzer.DetectInvalidModelNames.cs (1)
15if (modelNameOperations.IsEmpty)
dotnet (1)
Commands\Test\MTP\MicrosoftTestingPlatformTestCommand.Help.cs (1)
27if (_commandLineOptionNameToModuleNames.IsEmpty)
GenerateDocumentationAndConfigFiles (6)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
63public bool IsEmpty => _dictionary.IsEmpty;
src\roslyn\src\Dependencies\PooledObjects\PoolTracker.cs (1)
133internal bool HasLeaks => !_outstanding.IsEmpty;
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
72Debug.Assert(instance.IsEmpty);
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
59public bool IsEmpty => _dictionary.IsEmpty;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (2)
123if (!reducedNodesMap.IsEmpty || !reducedTokensMap.IsEmpty)
Microsoft.AspNetCore.App.Analyzers (1)
RouteHandlers\DetectAmbiguousRoutes.cs (1)
24if (mapOperations.IsEmpty)
Microsoft.AspNetCore.Razor.Utilities.Shared (1)
src\roslyn\src\Dependencies\PooledObjects\PoolTracker.cs (1)
133internal bool HasLeaks => !_outstanding.IsEmpty;
Microsoft.AspNetCore.SignalR.Core (1)
Internal\HubGroupList.cs (1)
34if (connections.TryRemove(connectionId, out var _) && connections.IsEmpty)
Microsoft.Build (6)
BackEnd\BuildManager\BuildManager.cs (1)
1658&& !ProjectCacheDescriptors.IsEmpty)
BackEnd\Components\Caching\ConfigCache.cs (1)
182Assumed.False(configurations.ById.IsEmpty, "No configurations exist from which to obtain the smallest configuration id.");
BackEnd\Components\ProjectCache\ProjectCacheService.cs (2)
814if (_projectCachePlugins.IsEmpty) 950if (_projectCachePlugins.IsEmpty)
Evaluation\ParserIgnoreConfiguration.cs (1)
144if (_skippedItems.IsEmpty)
src\msbuild\src\Shared\RegisteredTaskObjectCacheBase.cs (1)
97return (collection == null) || collection.IsEmpty;
Microsoft.CodeAnalysis (3)
DiagnosticAnalyzer\SuppressMessageAttributeState.cs (1)
58Debug.Assert(_lazyResolvedSuppressionsById.IsEmpty);
InternalUtilities\ConcurrentSet.cs (1)
63public bool IsEmpty => _dictionary.IsEmpty;
src\roslyn\src\Dependencies\PooledObjects\PoolTracker.cs (1)
133internal bool HasLeaks => !_outstanding.IsEmpty;
Microsoft.CodeAnalysis.Analyzers (6)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
63public bool IsEmpty => _dictionary.IsEmpty;
src\roslyn\src\Dependencies\PooledObjects\PoolTracker.cs (1)
133internal bool HasLeaks => !_outstanding.IsEmpty;
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
72Debug.Assert(instance.IsEmpty);
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
59public bool IsEmpty => _dictionary.IsEmpty;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (2)
123if (!reducedNodesMap.IsEmpty || !reducedTokensMap.IsEmpty)
Microsoft.CodeAnalysis.AnalyzerUtilities (4)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
63public bool IsEmpty => _dictionary.IsEmpty;
src\roslyn\src\Dependencies\PooledObjects\PoolTracker.cs (1)
133internal bool HasLeaks => !_outstanding.IsEmpty;
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
72Debug.Assert(instance.IsEmpty);
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
59public bool IsEmpty => _dictionary.IsEmpty;
Microsoft.CodeAnalysis.CodeStyle (2)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
63public bool IsEmpty => _dictionary.IsEmpty;
src\roslyn\src\Dependencies\PooledObjects\PoolTracker.cs (1)
133internal bool HasLeaks => !_outstanding.IsEmpty;
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (2)
123if (!reducedNodesMap.IsEmpty || !reducedTokensMap.IsEmpty)
Microsoft.CodeAnalysis.Extensions.Package (1)
src\roslyn\src\Dependencies\PooledObjects\PoolTracker.cs (1)
133internal bool HasLeaks => !_outstanding.IsEmpty;
Microsoft.CodeAnalysis.NetAnalyzers (6)
Microsoft.NetCore.Analyzers\InteropServices\PlatformCompatibilityAnalyzer.cs (1)
344if (platformSpecificOperations.IsEmpty ||
Microsoft.NetCore.Analyzers\Performance\PreferHashDataOverComputeHash.cs (2)
647if (_localReferenceMap.IsEmpty || _computeHashMap.IsEmpty)
Microsoft.NetCore.Analyzers\Runtime\UseAsyncMethodInAsyncContext.cs (1)
79if (syncBlockingTypes.IsEmpty)
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
70Debug.Assert(instance.IsEmpty);
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
58public bool IsEmpty => _dictionary.IsEmpty;
Microsoft.CodeAnalysis.ResxSourceGenerator (4)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
63public bool IsEmpty => _dictionary.IsEmpty;
src\roslyn\src\Dependencies\PooledObjects\PoolTracker.cs (1)
133internal bool HasLeaks => !_outstanding.IsEmpty;
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
72Debug.Assert(instance.IsEmpty);
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
59public bool IsEmpty => _dictionary.IsEmpty;
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\EmbeddedSymbols\EmbeddedSymbolManager.SymbolsCollection.vb (1)
106Return (_symbols IsNot Nothing) AndAlso Not _symbols.IsEmpty
Microsoft.CodeAnalysis.Workspaces (5)
Log\AbstractLogAggregator.cs (1)
37public bool IsEmpty => _map.IsEmpty;
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
63public bool IsEmpty => _dictionary.IsEmpty;
src\roslyn\src\Dependencies\PooledObjects\PoolTracker.cs (1)
133internal bool HasLeaks => !_outstanding.IsEmpty;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (2)
123if (!reducedNodesMap.IsEmpty || !reducedTokensMap.IsEmpty)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
63public bool IsEmpty => _dictionary.IsEmpty;
Microsoft.Extensions.FileProviders.Physical (10)
PhysicalFilesWatcher.cs (10)
570if ((!_filePathTokenLookup.IsEmpty || !_wildcardTokenLookup.IsEmpty) && Directory.Exists(_root)) 581if (_filePathTokenLookup.IsEmpty && _wildcardTokenLookup.IsEmpty) 605if (_filePathTokenLookup.IsEmpty && 606_wildcardTokenLookup.IsEmpty && 626_filePathTokenLookup.IsEmpty && 627_wildcardTokenLookup.IsEmpty) 654if (!_filePathTokenLookup.IsEmpty || !_wildcardTokenLookup.IsEmpty)
Microsoft.TestPlatform.CrossPlatEngine (3)
Client\Parallel\DiscoveryDataAggregator.cs (2)
54if (_metricsAggregator == null || _metricsAggregator.IsEmpty) 167=> _sourcesWithDiscoveryStatus.IsEmpty
Client\Parallel\ParallelRunDataAggregator.cs (1)
106if (_metricsAggregator == null || _metricsAggregator.IsEmpty)
MSBuild (1)
src\msbuild\src\Shared\RegisteredTaskObjectCacheBase.cs (1)
97return (collection == null) || collection.IsEmpty;
Roslyn.Diagnostics.Analyzers (6)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
63public bool IsEmpty => _dictionary.IsEmpty;
src\roslyn\src\Dependencies\PooledObjects\PoolTracker.cs (1)
133internal bool HasLeaks => !_outstanding.IsEmpty;
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
72Debug.Assert(instance.IsEmpty);
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
59public bool IsEmpty => _dictionary.IsEmpty;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (2)
123if (!reducedNodesMap.IsEmpty || !reducedTokensMap.IsEmpty)
System.Data.Odbc (3)
src\runtime\src\libraries\Common\src\System\Data\ProviderBase\DbConnectionPoolGroup.cs (3)
108if (!_poolCollection.IsEmpty) 235if (!_poolCollection.IsEmpty) 270if (_poolCollection.IsEmpty)
System.Data.OleDb (3)
System\Data\ProviderBase\DbConnectionPoolGroup.cs (3)
132if (!_poolCollection.IsEmpty) 269if (!_poolCollection.IsEmpty) 312if (_poolCollection.IsEmpty)
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\HttpConnectionPoolManager.cs (2)
51/// <see cref="ConcurrentDictionary{TKey,TValue}.IsEmpty"/> call. 535SetCleaningTimer(!_pools.IsEmpty ? _cleanPoolTimeout : Timeout.InfiniteTimeSpan);
System.Net.Http.WinHttpHandler (3)
System\Net\Http\WinHttpHandler.cs (3)
1761ChangeCleanerTimer(_cachedCertificates.IsEmpty ? Timeout.InfiniteTimeSpan : s_cleanCachedCertificateTimeout); 1775if (!_cachedCertificates.IsEmpty && !_isTimerRunning) 1786if (_cachedCertificates.IsEmpty && _isTimerRunning)
System.Net.Security (1)
System\Net\Security\SslSessionsCache.cs (1)
117if (s_cachedCreds.IsEmpty)
System.Private.Windows.Core.TestUtilities (1)
NoAssertContext.cs (1)
88if (s_hooked && s_suppressedThreads.IsEmpty)