127.2. For the purposes of this division, the following rules apply in determining whether persons are related to each other and whether a corporation not resident in Canada is a controlled foreign affiliate of a corporation resident in Canada at any time:(a) each member of a partnership is deemed to own that proportion of the number of shares of a class of the capital stock of a corporation that are owned by the partnership at that time that the fair market value at that time of the member’s interest in the partnership is of the fair market value at that time of the interests of all members in the partnership; and
(b) each beneficiary of a non-discretionary trust is deemed to own that proportion of the number of shares of a class of the capital stock of a corporation that are owned by the trust at that time that the fair market value at that time of the beneficiary’s beneficial interest in the trust is of the fair market value at that time of all the beneficial interests in the trust.