6 references to IsEmpty
Microsoft.CodeAnalysis.Workspaces (6)
src\Compilers\Core\Portable\InternalUtilities\EnumerableExtensions.cs (2)
323
/// This method is necessary to avoid an ambiguity between <see cref="
IsEmpty
{T}(IReadOnlyCollection{T})"/> and <see cref="IsEmpty{T}(ICollection{T})"/>.
331
/// This method is necessary to avoid an ambiguity between <see cref="
IsEmpty
{T}(IReadOnlyCollection{T})"/> and <see cref="IsEmpty{T}(ICollection{T})"/>.
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (1)
189
if (collection.
IsEmpty
())
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (1)
235
if (declarationList.
IsEmpty
())
Workspace\Solution\ProjectDependencyGraph.cs (1)
154
var referencedProjectIds = projectReferences.
IsEmpty
() ? [] :
Workspace\Solution\SolutionCompilationState.cs (1)
639
if (!oldDocumentStates.Ids.
IsEmpty
())