3 overrides of DesignTime
Microsoft.AspNetCore.Razor.Language.UnitTests (3)
IntegrationTests\ComponentCodeGenerationTestBase.cs (1)
33internal override bool DesignTime => designTime;
IntegrationTests\ComponentPreprocessorDirectiveTest.cs (1)
20internal override bool DesignTime => designTime;
IntegrationTests\ComponentTypingTest.cs (1)
14internal override bool DesignTime => true;
6 references to DesignTime
Microsoft.AspNetCore.Razor.Test.Common (6)
Language\IntegrationTests\RazorBaselineIntegrationTestBase.cs (1)
157if (DesignTime)
Language\IntegrationTests\RazorIntegrationTestBase.cs (5)
246if (DeclarationOnly && DesignTime) 248throw new InvalidOperationException($"{nameof(DeclarationOnly)} cannot be used with {nameof(DesignTime)}."); 306codeDocument = DesignTime ? projectEngine.ProcessDesignTime(item) : projectEngine.Process(item); 316codeDocument = DesignTime ? projectEngine.ProcessDesignTime(projectItem) : projectEngine.Process(projectItem); 339else if (DesignTime)