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