2 instantiations of CompiledCSharpCode
Microsoft.AspNetCore.Razor.Test.Common (2)
28 references to CompiledCSharpCode
Microsoft.AspNetCore.Mvc.Razor.Extensions.UnitTests (21)
Microsoft.AspNetCore.Razor.Language.UnitTests (2)
Microsoft.AspNetCore.Razor.Test.Common (5)
Language\IntegrationTests\IntegrationTestBase.cs (5)
224protected CompiledCSharpCode CompileToCSharp(string text, string path = "test.cshtml", bool? designTime = null, string? cssScope = null, [CallerMemberName] string testName = "")
230protected CompiledCSharpCode CompileToCSharp(RazorProjectItem projectItem, bool? designTime = null)
243var compiled = CompileToCSharp(text, path, designTime);
249var compiled = CompileToCSharp(projectItem, designTime);
253protected CompiledAssembly CompileToAssembly(CompiledCSharpCode code, bool throwOnFailure = true, bool ignoreRazorDiagnostics = false)