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