29 references to IsEmpty
Microsoft.AspNetCore.Razor.Language.UnitTests (14)
IntegrationTests\ComponentDiscoveryIntegrationTest.cs (2)
232Assert.Single(contributions, c => !c.ContributedTagHelpers.IsEmpty); 233Assert.Single(contributions, c => c.ContributedTagHelpers.IsEmpty);
TagHelperCollectionTest.cs (12)
46Assert.True(collection.IsEmpty); 112Assert.False(collection.IsEmpty); 130Assert.False(collection.IsEmpty); 232Assert.False(collection.IsEmpty); 251Assert.False(collection.IsEmpty); 366Assert.False(collection.IsEmpty); 399Assert.False(collection.IsEmpty); 1089Assert.True(TagHelperCollection.Empty.IsEmpty); 1099Assert.False(collection.IsEmpty); 1760Assert.False(merged.IsEmpty); 1787Assert.False(merged.IsEmpty); 2296var collections = baseCollections.Where(c => !c.IsEmpty);
Microsoft.CodeAnalysis.Razor.Compiler (10)
Language\TagHelperCollection.cs (2)
253if (IsEmpty) 328if (IsEmpty)
Language\TagHelperCollection_Factories.cs (3)
204if (!collection.IsEmpty && checksums.Add(collection.Checksum)) 318if (first.IsEmpty) 323if (second.IsEmpty)
Language\TagHelperDiscoveryService.cs (2)
50if (!collection.IsEmpty) 63if (!collection.IsEmpty)
SourceGenerators\RazorSourceGenerator.cs (1)
227if (!collection.IsEmpty)
SourceGenerators\SourceGeneratorProjectEngine.cs (2)
141if (first.IsEmpty) 146if (second.IsEmpty)
Microsoft.CodeAnalysis.Razor.Workspaces (5)
Completion\DirectiveAttributeCompletionItemProvider.cs (1)
100if (tagHelpersForTag.IsEmpty)
Completion\TagHelperCompletionService.cs (2)
45if (tagHelpersForTag.IsEmpty) 315if (tagHelpersForTag.IsEmpty)
TagHelperFacts.cs (2)
81if (documentContext.TagHelpers.IsEmpty) 118if (documentContext.TagHelpers.IsEmpty)