iation, the corporation or association having failed to enforce a right which may properly be asserted by it, the complaint shall allege that the plaintiff was a shareholder or member at the time of the transaction of which the plaintiff complains or that the plaintiff's share or membership thereafter devolved on the plaintiff by operation of law.