5 references to WithCheckOverflow
Microsoft.CodeAnalysis.Scripting.UnitTests (5)
ScriptOptionsTests.cs (5)
226
Assert.True(ScriptOptions.Default.
WithCheckOverflow
(true).CheckOverflow);
227
Assert.False(ScriptOptions.Default.
WithCheckOverflow
(false).CheckOverflow);
236
var options = ScriptOptions.Default.
WithCheckOverflow
(checkOverflow);
237
Assert.Same(options, options.
WithCheckOverflow
(checkOverflow));
245
var scriptOptions = ScriptOptions.Default.
WithCheckOverflow
(checkOverflow);