private static IList<Instruction> GetTryCatchLeaveInstructions(ILProcessor processor, Instruction methodBodyReturnInstruction) { return new[] { processor.Create(OpCodes.Leave_S, methodBodyReturnInstruction) }; }