From: Jeffrey Stedfast Date: Thu, 17 Apr 2014 20:05:39 +0000 (-0400) Subject: [Mono.Debugger.Soft] Throw a NotSupportedException if we encounter an unsupported... X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=0096790ae504fc74afa1f47e5b5aa248be96acb1;p=mono.git [Mono.Debugger.Soft] Throw a NotSupportedException if we encounter an unsupported IL opcode --- diff --git a/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/ILInterpreter.cs b/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/ILInterpreter.cs index 6e5ff7c0c98..ffcc6da52d2 100644 --- a/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/ILInterpreter.cs +++ b/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/ILInterpreter.cs @@ -73,6 +73,8 @@ namespace Mono.Debugger.Soft else res = stack [--sp]; break; + } else { + throw new NotSupportedException (); } ins = next; }