52 references to IsEmpty
Aspire.Dashboard (1)
Components\Controls\SelectResourceOptions.razor.cs (1)
37if (values.IsEmpty)
Aspire.Hosting.Analyzers (1)
AppHostAnalyzer.DetectInvalidModelNames.cs (1)
15if (modelNameOperations.IsEmpty)
Metrics (2)
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
71Debug.Assert(instance.IsEmpty);
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
59public bool IsEmpty => _dictionary.IsEmpty;
Metrics.Legacy (2)
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
71Debug.Assert(instance.IsEmpty);
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
59public bool IsEmpty => _dictionary.IsEmpty;
Microsoft.AspNetCore.App.Analyzers (1)
RouteHandlers\DetectAmbiguousRoutes.cs (1)
24if (mapOperations.IsEmpty)
Microsoft.AspNetCore.SignalR.Core (1)
Internal\HubGroupList.cs (1)
34if (connections.TryRemove(connectionId, out var _) && connections.IsEmpty)
Microsoft.Build (4)
BackEnd\BuildManager\BuildManager.cs (1)
1380&& !ProjectCacheDescriptors.IsEmpty)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (2)
714if (_projectCachePlugins.IsEmpty) 807if (_projectCachePlugins.IsEmpty)
RegisteredTaskObjectCacheBase.cs (1)
98return (collection == null) || collection.IsEmpty;
Microsoft.Build.Engine.UnitTests (1)
ProjectCache\ProjectCacheTests.cs (1)
38_env.WithInvariant(new CustomConditionInvariant(() => BuildManager.ProjectCacheDescriptors.IsEmpty));
Microsoft.CodeAnalysis (1)
InternalUtilities\ConcurrentSet.cs (1)
63public bool IsEmpty => _dictionary.IsEmpty;
Microsoft.CodeAnalysis.Analyzers (2)
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
71Debug.Assert(instance.IsEmpty);
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
59public bool IsEmpty => _dictionary.IsEmpty;
Microsoft.CodeAnalysis.AnalyzerUtilities (2)
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
71Debug.Assert(instance.IsEmpty);
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
59public bool IsEmpty => _dictionary.IsEmpty;
Microsoft.CodeAnalysis.BannedApiAnalyzers (2)
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
71Debug.Assert(instance.IsEmpty);
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
59public bool IsEmpty => _dictionary.IsEmpty;
Microsoft.CodeAnalysis.CodeStyle (1)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
63public bool IsEmpty => _dictionary.IsEmpty;
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (2)
123if (!reducedNodesMap.IsEmpty || !reducedTokensMap.IsEmpty)
Microsoft.CodeAnalysis.PublicApiAnalyzers (2)
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
71Debug.Assert(instance.IsEmpty);
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
59public bool IsEmpty => _dictionary.IsEmpty;
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Host\SolutionAssetCache.cs (1)
124if (_assets.IsEmpty)
Microsoft.CodeAnalysis.ResxSourceGenerator (2)
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
71Debug.Assert(instance.IsEmpty);
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 (4)
Log\AbstractLogAggregator.cs (1)
37public bool IsEmpty => _map.IsEmpty;
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
63public bool IsEmpty => _dictionary.IsEmpty;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (2)
123if (!reducedNodesMap.IsEmpty || !reducedTokensMap.IsEmpty)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
63public bool IsEmpty => _dictionary.IsEmpty;
Microsoft.Extensions.FileProviders.Physical (4)
PhysicalFilesWatcher.cs (4)
412if (_filePathTokenLookup.IsEmpty && 413_wildcardTokenLookup.IsEmpty && 434if ((!_filePathTokenLookup.IsEmpty || !_wildcardTokenLookup.IsEmpty) &&
MSBuild (1)
RegisteredTaskObjectCacheBase.cs (1)
98return (collection == null) || collection.IsEmpty;
Roslyn.Diagnostics.Analyzers (2)
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
71Debug.Assert(instance.IsEmpty);
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
59public bool IsEmpty => _dictionary.IsEmpty;
System.Data.Odbc (3)
src\libraries\Common\src\System\Data\ProviderBase\DbConnectionPoolGroup.cs (3)
108if (!_poolCollection.IsEmpty) 235if (!_poolCollection.IsEmpty) 270if (_poolCollection.IsEmpty)
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\HttpConnectionPoolManager.cs (2)
53/// <see cref="ConcurrentDictionary{TKey,TValue}.IsEmpty"/> call. 493SetCleaningTimer(!_pools.IsEmpty ? _cleanPoolTimeout : Timeout.InfiniteTimeSpan);
System.Net.Security (1)
System\Net\Security\SslSessionsCache.cs (1)
108if (s_cachedCreds.IsEmpty)
System.Private.Windows.Core.TestUtilities (1)
NoAssertContext.cs (1)
79if (s_hooked && s_suppressedThreads.IsEmpty)
Test.Utilities (2)
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
71Debug.Assert(instance.IsEmpty);
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
59public bool IsEmpty => _dictionary.IsEmpty;
Text.Analyzers (2)
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentDictionary.cs (1)
71Debug.Assert(instance.IsEmpty);
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
59public bool IsEmpty => _dictionary.IsEmpty;