3 instantiations of CompilationOptions
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (1)
CSharpCompilerTest.cs (1)
284return new DependencyContextCompilationOptions(
Microsoft.Extensions.DependencyModel (2)
CompilationOptions.cs (1)
36public static CompilationOptions Default { get; } = new CompilationOptions(
DependencyContextJsonReader.cs (1)
332return new CompilationOptions(
35 references to CompilationOptions
installer.tasks (1)
GenerateTestSharedFrameworkDepsFile.cs (1)
80CompilationOptions.Default,
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (7)
CSharpCompiler.cs (7)
15using DependencyContextCompilationOptions = Microsoft.Extensions.DependencyModel.CompilationOptions; 89protected internal virtual DependencyContextCompilationOptions GetDependencyContextCompilationOptions() 101return DependencyContextCompilationOptions.Default; 109var dependencyContextOptions = GetDependencyContextCompilationOptions(); 122private EmitOptions GetEmitOptions(DependencyContextCompilationOptions dependencyContextOptions) 164DependencyContextCompilationOptions dependencyContextOptions) 211DependencyContextCompilationOptions dependencyContextOptions)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (19)
CSharpCompilerTest.cs (19)
10using DependencyContextCompilationOptions = Microsoft.Extensions.DependencyModel.CompilationOptions; 28var options = compiler.GetDependencyContextCompilationOptions(); 31Assert.Same(DependencyContextCompilationOptions.Default, options); 42var options = compiler.GetDependencyContextCompilationOptions(); 45Assert.Same(DependencyContextCompilationOptions.Default, options); 134var dependencyContextOptions = GetDependencyContextCompilationOptions("SOME_TEST_DEFINE"); 147var dependencyContextOptions = GetDependencyContextCompilationOptions(languageVersion: "7.1"); 161var dependencyContextOptions = GetDependencyContextCompilationOptions(debugType: "portable"); 176var dependencyContextOptions = GetDependencyContextCompilationOptions(debugType: "embedded"); 191var dependencyContextOptions = GetDependencyContextCompilationOptions(debugType: "none"); 204var dependencyContextOptions = GetDependencyContextCompilationOptions(allowUnsafe: true); 218var dependencyContextOptions = GetDependencyContextCompilationOptions(warningsAsErrors: true); 232var dependencyContextOptions = GetDependencyContextCompilationOptions(optimize: true); 246var dependencyContextOptions = GetDependencyContextCompilationOptions("MyDefine"); 261var dependencyContextOptions = GetDependencyContextCompilationOptions(define); 272private static DependencyContextCompilationOptions GetDependencyContextCompilationOptions( 301private readonly DependencyContextCompilationOptions _options; 306DependencyContextCompilationOptions options) 312protected internal override DependencyContextCompilationOptions GetDependencyContextCompilationOptions()
Microsoft.DotNet.SharedFramework.Sdk (1)
src\GenerateSharedFrameworkDepsFile.cs (1)
108CompilationOptions.Default,
Microsoft.Extensions.DependencyModel (7)
CompilationOptions.cs (1)
36public static CompilationOptions Default { get; } = new CompilationOptions(
DependencyContext.cs (2)
20CompilationOptions compilationOptions, 43public CompilationOptions CompilationOptions { get; }
DependencyContextJsonReader.cs (3)
138CompilationOptions? compilationOptions = null; 168compilationOptions ??= CompilationOptions.Default; 267private static CompilationOptions ReadCompilationOptions(ref Utf8JsonReader reader)
DependencyContextWriter.cs (1)
74private static void WriteCompilationOptions(CompilationOptions compilationOptions, Utf8JsonWriter jsonWriter)