|
|
|
@ -18,6 +18,7 @@
@@ -18,6 +18,7 @@
|
|
|
|
|
|
|
|
|
|
using System; |
|
|
|
|
using System.Collections.Generic; |
|
|
|
|
using System.Diagnostics; |
|
|
|
|
|
|
|
|
|
namespace ICSharpCode.Decompiler.IL |
|
|
|
|
{ |
|
|
|
@ -30,6 +31,12 @@ namespace ICSharpCode.Decompiler.IL
@@ -30,6 +31,12 @@ namespace ICSharpCode.Decompiler.IL
|
|
|
|
|
this.FalseInst = falseInst ?? new Nop(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
internal override void CheckInvariant() |
|
|
|
|
{ |
|
|
|
|
base.CheckInvariant(); |
|
|
|
|
Debug.Assert(condition.ResultType == StackType.I4); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override StackType ResultType { |
|
|
|
|
get { |
|
|
|
|
return CommonResultType(trueInst.ResultType, falseInst.ResultType); |
|
|
|
|