2 writes to WarningLevel
Microsoft.CodeAnalysis.Scripting (2)
ScriptOptions.cs (2)
176
WarningLevel
= warningLevel;
389
=> warningLevel == WarningLevel ? this : new ScriptOptions(this) {
WarningLevel
= warningLevel };
7 references to WarningLevel
Microsoft.CodeAnalysis.CSharp.Scripting (1)
CSharpScriptCompiler.cs (1)
65
warningLevel: script.Options.
WarningLevel
,
Microsoft.CodeAnalysis.Scripting (3)
ScriptOptions.cs (3)
192
warningLevel: other.
WarningLevel
,
386
/// Create a new <see cref="ScriptOptions"/> with the specific <see cref="
WarningLevel
"/>.
389
=> warningLevel ==
WarningLevel
? this : new ScriptOptions(this) { WarningLevel = warningLevel };
Microsoft.CodeAnalysis.Scripting.UnitTests (3)
ScriptOptionsTests.cs (3)
286
Assert.Equal(ScriptOptions.Default.WithWarningLevel(warningLevel).
WarningLevel
, warningLevel);
287
Assert.Equal(4, ScriptOptions.Default.
WarningLevel
);
312
Assert.Equal(scriptOptions.
WarningLevel
, compilation.Options.WarningLevel);