(a) A shareholder is entitled to appraisal rights, and to obtain payment of the fair value of that shareholder's shares, in the event of any of the following corporate actions:
(1) Consummation of a merger to which the corporation is a party: (A) If shareholder approval is required for the merger by section one thousand one hundred four, article eleven of this chapter and the shareholder is entitled to vote on the merger, except that appraisal rights may not be available to any shareholder of the corporation with respect to shares of any class or series that remain outstanding after consummation of the merger; or (B) if the corporation is a subsidiary and the merger is governed by section one thousand one hundred five, article eleven of this chapter;