1 override of DeclarationOnly
Microsoft.AspNetCore.Razor.Language.UnitTests (1)
IntegrationTests\ComponentDeclarationIntegrationTest.cs (1)
22
internal override bool
DeclarationOnly
=> true;
5 references to DeclarationOnly
Microsoft.AspNetCore.Razor.Test.Common (5)
Language\IntegrationTests\RazorIntegrationTestBase.cs (5)
246
if (
DeclarationOnly
&& DesignTime)
248
throw new InvalidOperationException($"{nameof(
DeclarationOnly
)} cannot be used with {nameof(DesignTime)}.");
251
if (
DeclarationOnly
&& UseTwoPhaseCompilation)
253
throw new InvalidOperationException($"{nameof(
DeclarationOnly
)} cannot be used with {nameof(UseTwoPhaseCompilation)}.");
335
if (
DeclarationOnly
)