We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6d2595 commit dba4099Copy full SHA for dba4099
.nuget/nuget.config
CSharpRepl/Eval/ScriptExecutionContext.cs
@@ -8,6 +8,7 @@
8
using System.Reflection;
9
using System.Runtime.CompilerServices;
10
using AngouriMath;
11
+using Microsoft.CodeAnalysis;
12
13
namespace CSDiscordService.Eval
14
{
@@ -68,6 +69,7 @@ public class ScriptExecutionContext
68
69
public ScriptOptions Options =>
70
ScriptOptions.Default
71
.WithLanguageVersion(LanguageVersion.Preview)
72
+ .WithOptimizationLevel(OptimizationLevel.Release)
73
.WithImports(Imports)
74
.WithReferences(References);
75
0 commit comments