From 9f21e6a2b2a184d16a1fed8ca8a3ba062c032253 Mon Sep 17 00:00:00 2001 From: Chicken-Bones Date: Wed, 25 Jul 2018 22:14:01 +1000 Subject: [PATCH] Increase max values per switch section --- ICSharpCode.Decompiler/IL/ControlFlow/SwitchDetection.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ICSharpCode.Decompiler/IL/ControlFlow/SwitchDetection.cs b/ICSharpCode.Decompiler/IL/ControlFlow/SwitchDetection.cs index 72aa86ef2..d826be31b 100644 --- a/ICSharpCode.Decompiler/IL/ControlFlow/SwitchDetection.cs +++ b/ICSharpCode.Decompiler/IL/ControlFlow/SwitchDetection.cs @@ -170,7 +170,7 @@ namespace ICSharpCode.Decompiler.IL.ControlFlow } } - const ulong MaxValuesPerSection = 50; + const ulong MaxValuesPerSection = 100; /// /// Tests whether we should prefer a switch statement over an if statement.