[Mono.Debugger.Soft] Throw a NotSupportedException if we encounter an unsupported...
authorJeffrey Stedfast <jeff@xamarin.com>
Thu, 17 Apr 2014 20:05:39 +0000 (16:05 -0400)
committerJeffrey Stedfast <jeff@xamarin.com>
Thu, 17 Apr 2014 20:05:39 +0000 (16:05 -0400)
mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/ILInterpreter.cs

index 6e5ff7c0c98c09310241ad554429b9ddba3759c7..ffcc6da52d2ee557eb73f568b14f00b74d9b1024 100644 (file)
@@ -73,6 +73,8 @@ namespace Mono.Debugger.Soft
                                        else
                                                res = stack [--sp];
                                        break;
+                               } else {
+                                       throw new NotSupportedException ();
                                }
                                ins = next;
                        }