2 writes to CheckOverflow
Microsoft.CodeAnalysis.Scripting (2)
ScriptOptions.cs (2)
174CheckOverflow = checkOverflow; 383=> checkOverflow == CheckOverflow ? this : new ScriptOptions(this) { CheckOverflow = checkOverflow };
8 references to CheckOverflow
Microsoft.CodeAnalysis.CSharp.Scripting (1)
CSharpScriptCompiler.cs (1)
62checkOverflow: script.Options.CheckOverflow,
Microsoft.CodeAnalysis.Scripting (2)
ScriptOptions.cs (2)
190checkOverflow: other.CheckOverflow, 383=> checkOverflow == CheckOverflow ? this : new ScriptOptions(this) { CheckOverflow = checkOverflow };
Microsoft.CodeAnalysis.Scripting.UnitTests (4)
ScriptOptionsTests.cs (4)
226Assert.True(ScriptOptions.Default.WithCheckOverflow(true).CheckOverflow); 227Assert.False(ScriptOptions.Default.WithCheckOverflow(false).CheckOverflow); 228Assert.False(ScriptOptions.Default.CheckOverflow); 247Assert.Equal(scriptOptions.CheckOverflow, compilation.Options.CheckOverflow);
Microsoft.CodeAnalysis.VisualBasic.Scripting (1)
VisualBasicScriptCompiler.vb (1)
88checkOverflow:=script.Options.CheckOverflow,