(a) The court in an appraisal proceeding commenced under section 13.30 shall determine all costs of the proceeding, including the reasonable compensation and expenses of appraisers appointed by the court. The court shall assess the costs against the corporation, except that the court may assess cost against all or some of the shareholders demanding appraisal, in amounts the court finds equitable, to the extent the court finds such shareholders acted arbitrarily, vexatiously, or not in good faith with respect to the rights provided by this chapter.
(b) The court in an appraisal proceeding may also assess the fees and expenses of counsel and experts for the respective parties, in amounts the court finds equitable:
(1) against the corporation and in favor of any or all shareholders demanding appraisal if the court finds the corporation did not substantially comply with the requirements of sections 13.20, 13.22, 13.24 or 13.25; or
(2) against either the corporation or a shareholder demanding appraisal, in favor of any other party, if the court finds that the party against whom the fees and expenses are assessed acted arbitrarily, vexatiously, or not in good faith with respect to the rights provided by this chapter.
(c) If the court in an appraisal proceeding finds that the services of counsel for any shareholder were of substantial benefit to other shareholders similarly situated, and that the fees for those services should not be assessed against the corporation, the court may award to such counsel reasonable fees to be paid out of the amounts awarded the shareholders who were benefited.
(d) To the extent the corporation fails to make a required payment pursuant to sections 13.24, 13.25, or 13.26, the shareholder may sue directly for the amount owed and, to the extent successful, shall be entitled to recover from the corporation all costs and expenses of the suit, including counsel fees.