notice of motion for judgment. Thereafter, before the hearing of the motion, the defendant’s counsel procured an order Ito show cause, returnable at the term for which the motion for judgment was noticed, why an order should not be made setting aside the order of reference and the report of the referee. The ground of the motion to set aside the order is that it is void under section ■1012 of the Code of Civil Procedure, which reads as follows: “ But a reference shall not be made, of course, upon the consent of the parties,, in an action to annul the marriage, or for a divorce or a separation; or an action against a corporation, to obtain a dissolution thereof, the appointment of a receiver of its property, or the distribution of its property, unless it is brought by the Attorney-General; or an action wherein a defendant, to be affected by the result of the trial, is an infant. In a case specified in' this section, where the parties consent to a reference, the court may, in its discretion, grant or refuse a reference; and, where a reference is granted,
the court must designate the referee.” The defendant’s attorney swears that after service of plaintiff’s motion for judgment, he discovered for the first time that the order referring the case to a referee designated in the stipulation was in violation of the statute, and there is no doubt that it was granted through inadvertence of the attorneys and of the court. It is to be regretted that the court cannot see its way clear to a denial of the motion to set aside the order. The referee was acceptable to the defendant, was competent and reliable, and no question has been raised as to his competency or his fairness, nor is it claimed that any injustice whatever has been done by reason of the reference to the person designated by the counsel. The defendant having proceeded without any dissent under the order until a report unlavorable to it was rendered, it would seem that it should, in equity, be estopped from assailing the validity of the order. But I am constrained, under the construction that has been given to the statute in- question, to hold that the order is void. In
Pratt v. Pratt, 2 App. Div. 534 , an order of reference was made, in an action for separation, to a referee agreed upon by the parties. Under this order the parties proceeded until the report of the referee, on which an application was made for judgment. The court then, on motion, vacated the order of reference, holding that it was void and not a mere irregularity. In Ives v. Ives, 80 Hun, 136 , the court also set aside an order of reference so far as it related to the person therein designated as referee, notwithstanding