4 references to WithOptimizationLevel
Microsoft.CodeAnalysis.Scripting.UnitTests (4)
ScriptOptionsTests.cs (4)
255
Assert.Equal(ScriptOptions.Default.
WithOptimizationLevel
(optimizationLevel).OptimizationLevel, optimizationLevel);
264
var options = ScriptOptions.Default.
WithOptimizationLevel
(optimizationLevel);
265
Assert.Same(options, options.
WithOptimizationLevel
(optimizationLevel));
273
var scriptOptions = ScriptOptions.Default.
WithOptimizationLevel
(optimizationLevel);