@ -282,7 +282,13 @@ namespace ICSharpCode.Decompiler.CSharp
}
string label;
if (endContainerLabels.TryGetValue(container, out label)) {
if (isLoop) {
blockStatement.Add(new ContinueStatement());
blockStatement.Add(new LabelStatement { Label = label });
blockStatement.Add(new BreakStatement());
return blockStatement;
@ -44,11 +44,7 @@ namespace ICSharpCode.Decompiler.Tests
[Test]
public void NewtonsoftJson_net40()
{
try {
RunWithTest("Newtonsoft.Json-net40", "Newtonsoft.Json.dll", "Newtonsoft.Json.Tests.dll");
} catch (TestRunFailedException ex) {
Assert.Ignore(ex.Message);