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