(a) Fixing of Allowances. The court in making allowances to receivers shall consider the extent and value of the actual services rendered and the pains, trouble and risk incurred by them in the discharge of their duties relative to the conduct and settlement of the receivership, having regard also to the avails secured for the trust estate. In making allowances to attorneys, the court shall consider the extent and value of their actual services to the receiver, having regard to the avails secured for the receiver through their efforts. The court may examine the receiver or attorney on oath or otherwise, to ascertain the facts upon which the allowances should be made to depend.
(b) Sharing of Compensation. A receiver, attorney for receiver, appraiser, auctioneer or accountant appointed by the court in connection with dissolution, liquidation or insolvency proceedings, who seeks or received compensation for services rendered therein, shall file with the court an affidavit stating that the applicant shall not in any form or guise share and has not agreed to share any compensation with any person or firm, other than with partners and persons regularly employed by the applicant or by the firm by which the applicant is employed, without express approval of the court. If there is such an agreement or understanding as to such a sharing requiring such approval, the applicant shall set forth in the petition for allowance the name or names of the person or persons to share in the compensation and the general nature of the contributing services rendered.