diff --git a/Bot/Sharp/Decompilation/CSharpDecompiler.cs b/Bot/Sharp/Decompilation/CSharpDecompiler.cs index b63ff02..7a77b24 100644 --- a/Bot/Sharp/Decompilation/CSharpDecompiler.cs +++ b/Bot/Sharp/Decompilation/CSharpDecompiler.cs @@ -28,6 +28,18 @@ public CSharpDecompiler(IOptions options) private static readonly DecompilerSettings _settings = new(LanguageVersion.CSharp1) { + ArrayInitializers = false, + AutomaticEvents = false, + DecimalConstants = false, + DoWhileStatement = false, + FixedBuffers = false, + ForEachStatement = false, + ForStatement = false, + FunctionPointers = true, + LockStatement = false, + SparseIntegerSwitch = false, + StringConcat = false, + SwitchStatementOnString = false, UseRefLocalsForAccurateOrderOfEvaluation = true, UsingStatement = false, FileScopedNamespaces = true,