diff --git a/ICSharpCode.Decompiler/Disassembler/MethodBodyDisassembler.cs b/ICSharpCode.Decompiler/Disassembler/MethodBodyDisassembler.cs index bd03f69e6..d0ba6a499 100644 --- a/ICSharpCode.Decompiler/Disassembler/MethodBodyDisassembler.cs +++ b/ICSharpCode.Decompiler/Disassembler/MethodBodyDisassembler.cs @@ -234,8 +234,10 @@ namespace ICSharpCode.Decompiler.Disassembler case ILStructureType.Handler: switch (s.ExceptionHandler.Kind) { - case ExceptionRegionKind.Catch: case ExceptionRegionKind.Filter: + // handler block of filter block has no header + break; + case ExceptionRegionKind.Catch: output.Write("catch"); if (!s.ExceptionHandler.CatchType.IsNil) {