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