4 references to WithWarningLevel
Microsoft.CodeAnalysis.Scripting.UnitTests (4)
ScriptOptionsTests.cs (4)
286Assert.Equal(ScriptOptions.Default.WithWarningLevel(warningLevel).WarningLevel, warningLevel); 298var options = ScriptOptions.Default.WithWarningLevel(warningLevel); 299Assert.Same(options, options.WithWarningLevel(warningLevel)); 310var scriptOptions = ScriptOptions.Default.WithWarningLevel(warningLevel);