private static void PatchBeginInvoke(BaseMethodCompiler methodCompiler) { var nullOperand = Operand.GetNull(methodCompiler.TypeSystem); var context = new Context(CreateMethodStructure(methodCompiler, true)); context.AppendInstruction(IRInstruction.Return, null, nullOperand); context.AddBranchTarget(methodCompiler.BasicBlocks.EpilogueBlock); }