int EmulateBrtrue(int instrIndex) { var val1 = instructionEmulator.Pop(); var instr = methodToInline.Body.Instructions[instrIndex]; var instrTrue = (Instruction)instr.Operand; var instrFalse = methodToInline.Body.Instructions[instrIndex + 1]; if (val1.IsInt32()) { return(EmulateBranch(1, Int32Value.CompareTrue((Int32Value)val1), instrTrue, instrFalse)); } return(-1); }