Browse Source

Fix typo in IsBranchOrLeave()

pull/863/head
Daniel Grunwald 8 years ago
parent
commit
259e322e26
  1. 2
      ICSharpCode.Decompiler/IL/ControlFlow/ConditionDetection.cs

2
ICSharpCode.Decompiler/IL/ControlFlow/ConditionDetection.cs

@ -337,7 +337,7 @@ namespace ICSharpCode.Decompiler.IL.ControlFlow @@ -337,7 +337,7 @@ namespace ICSharpCode.Decompiler.IL.ControlFlow
return true;
case Leave leave:
// only void returns are supported as 'exit points'
return !leave.Value.MatchNop();
return leave.Value.MatchNop();
default:
return false;
}

Loading…
Cancel
Save