diff --git a/blocks/Instr.cs b/blocks/Instr.cs index 8250eb86..23c44bb6 100644 --- a/blocks/Instr.cs +++ b/blocks/Instr.cs @@ -209,8 +209,6 @@ namespace de4dot.blocks { break; case OperandType.InlineSwitch: - if (targets.Count == 0) - throw new ApplicationException("No targets!"); var switchTargets = new Instruction[targets.Count]; for (var i = 0; i < targets.Count; i++) switchTargets[i] = targets[i].Instruction;