5 references to WithAllowUnsafe
Microsoft.CodeAnalysis.Scripting.UnitTests (5)
ScriptOptionsTests.cs (5)
199
Assert.True(ScriptOptions.Default.
WithAllowUnsafe
(true).AllowUnsafe);
200
Assert.False(ScriptOptions.Default.
WithAllowUnsafe
(false).AllowUnsafe);
209
var options = ScriptOptions.Default.
WithAllowUnsafe
(allowUnsafe);
210
Assert.Same(options, options.
WithAllowUnsafe
(allowUnsafe));
218
var scriptOptions = ScriptOptions.Default.
WithAllowUnsafe
(allowUnsafe);