OPINION' OP THE COURT.
PARKER, J.The appellant, with leave of the court, filed a petition of intervention and answer in the case of Baca v. Unknown Heirs of Jacinto Palaez et al., the same being a suit to partition the La Majada grant. Prior to the filing of said petition of intervention and answer by appellant this court had dismissed the appeal of certain appellees in the partition suit. 20 N. M. 1, 145 Pac. 945. The petition of intervention set up facts tending to show that the appellant was the owner in fee of a segregated tract of land within the grant, and that1 he and his predecessors in title had been in possession thereof for more than 50 years. Certain plaintiffs and defendants represented by A. B. McMillen, Esq., filed in said cause what has been consistently called a motion to dismiss the petition of intervention. This so-called motion was based upon the ground that the report of the referee and the decree approving the same, filed in the partition suit, concluded the appellant upon all questions raised by him in his petition of intervention. Subsequent to the filing of the motion an affidavit supporting the motion was filed. It stated facts tending to show that the appellant was a party defendant in the partition suit, litigated his rights in the premises, and had full opportunity to prove whatever right he possessed in any of the lands in said grant. After argument of counsel the trial court struck the petition of intervention and answer of appellant from the files, and it is from that action that this appeal has been perfected.
To avoid confusion and possible misunderstanding we shall state the substance of the contentions of the parties to this appeal. The appellant contends that: (1) The defense of res adjudicata cannot be raised by motion to strike, but must be pleaded in bar, where the facts and the nature of the'prior adjudication do not appear upon the face of the pleadings; (2) that the motion contains no grounds authorized by statute for the filing of a motion to strike; (3) that the plea of res ad-judicata cannot be founded upon an interlocutory judgment; (4) that section 4382, Code 1915, authorized the filing of the petition of intervention and answer; (5) that appellant claims title to segregated lands within the grant, and, not having been served with process nor brought into court by virtue of the service by publication upon unknown owners or heirs, appellant having been in actual possession of said land, he was authorized to intervene and haye determined his right to such segregated land; (6) that the ruling of the trial court deprived him of certain rights of property guaranteed under the "Constitution of the United States and under the Constitution of the state; and (7) that, after leave had been granted to file the petition, an attack thereon could have been made only by demurrer. The appellant also contends that the motion to strike raised a question upon which he was entitled to a jury trial.
The brief of appellees is devoted to the following propositions: (1) That the action of the trial court will be presumed to be correct, unless the contrary is clearly shown by record; (2) that the matters stated in the motion and affidavit must be considered to be true in the absence of anything in the record disputing same; (3) that no proper exceptions were taken by appellant to the report of the referee; (4) that appellant’s failure to assert title to his segregated lands in the partition suit precludes him from setting it up now; (5) that the procedure adopted by appellees to determine the appellant’s right to litigate the issue presented by the petition was correct; (6) that the trial court will take judicial notice of its record and the proceedings in a case before it; and (7) that appellees did not plead nor attempt to raise the defense of res adjudieata. Other portions of said brief disclose that the trial court concluded that a .party to a cause had no right to intervene therein and set up rights which he could have asserted in the first instance but did not assert.
[1] Section 4382, Code 1915, provides:
“During tlie pendency of such suit or proceeding any person claiming to he interested in the premises may appear and answer the complaint and assert his right by way of intervention, whether such interest be derived or claimed under the common source of • title or otherwise, and the court shall' decide upon their rights as though they had been made parties in the first instance.”
Tbe statute itself is sufficient authority for tbe statement that the right of intervention is given to one claiming to be interested in the preinises who is not a party to the main suit and was not intended to operate in favor of a party thereto. The statute was referred to in Baca et al. v. Anaya et al., 14 N. M. 382, 387, 94 Pac. 1017, and Montoya v. Unknown Heirs et al., 16 N. M. 349, 386, 120 Pac. 676. In the Baca-Anaya case the court said:
“This language is plain, and prima facie needs no construction.”
A person made a party defendant to a partition suit is afforded ample opportunity to defend and assert his right by way of answer, and there is no occasion for such a party to plead by way of intervention. In other words, the statute applies to those claiming an interest in the premises who are not parties to the cause, but who may take advantage of the statute and become parties and entitled to litigate their rights by filing a petition of intervention.
[2] The inquiry, therefore, is, Was appellant a formal party to the partition suit 1 The record on this appeal discloses that he was nqt. The formal parties were the unknown heirs of certain designated persons, unknown owners, and unknown claimants of interest adverse to plaintiffs. The appellant, the owner of a segregated tract of land within the grant and in possession thereof, was not affected by such suit if not a party thereto, and cannot be held to have been made a party under the designation of unknown owners and claimants. Rodriguez et al. v. La Cueva Ranch Co., 17 N. M. 246, 134 Pac. 228. From a consideration of the question thus far it is apparent that appellant, not being, or having become, a formal party to the partition suit, was entitled to intervene and litigate his rights in the premises, unless he otherwise became a party.
[3] If a person, not made a formal party tó a cause, enters upon the trial of the issues made by the formal parties thereto and litigates his rights therein and is decreed relief, in whole or in part, he cannot be heard to assert that he may further litigate his rights by way of petition of intervention, providing the court had jurisdiction of the subject-matter in the first instance. In such cases the voluntary act of the party in contesting with others the issues in the case and asserting his rights and receiving benefits under the decree operates as effectually against him as though he were made a formal party in the first instance and assisted in making up the issues by a formal answer to the complaint. In 2 Enc. P. & P. 643, it is said :
“A person who is not named in the complaint nor served with summons, if he has an interest in the matter in litigation, makes himself a party hy a general appearance.”
In Thompson v. Schuyler et al., Gilman (Ill.) 271, an action in ejectment against Brewer, it was held that Thompson became a party to the cause by appearing and defending the same at every step until final judgment was rendered. In Denver & Rio Grande R. Co. v. Loveland, 16 Colo. App. 146, 64 Pac. 381, it was held that the trial court erred in substituting the Denver & Rio Grande Railroad Company as defendant in lieu of the named defendant, the Denver & Rio Grande Railway Co., but that the error was waived by the appearance of the latter company. From that holding, though the same may not be directly in point in this case, we infer that such appearance on the part of the last-named company’ conferred jurisdiction of it in that cause the same as though it had been made a formal party thereto. See, also, Buerk v. Imhaeuser (C. C.) 8 Fed. 457; Moore v. Bruce et al., 85 Va. 139, 143, 7 S. E. 195; Moyer v. McCullough, 1 Ind., 340; Wilkins et al. v. Wilkins, 4 Port. (Ala.) 245. In Tyrrell v. Baldwin, 67 Cal. 1, 4, 6 Pac. 867, it was held that a person not named in the complaint, but who might have intervened, was bound by a decree rendered against him, where he had obtruded himself into the action by filing an answer. The court said that, though he was not named in the complaint, he availed himself of the rights and privileges of a defendant. In re Heldman’s Estate, 153 App. Div. 583, 138 N. Y. Supp. 59, it was held that a person appearing before a referee became a party to the proceedings. He was not a formal party, nor was he served with process or allowed to intervene. The court said: ,,
“The report of the referee also recites that Troppman appeared by this attorney. Such an appearance by attorney in open court without objection by any other party was effectual to make him a party to the proceedings.”
Several cases seemingly holding to the contrary of this doctrine may be distinguished on the ground that the court acquires no jurisdiction to render a judgment against an intruder against whom no cause of action is stated in the complaint. See Garvey v. Falk, 58 Misc. Rep. 367, 111 N. Y. Supp. 175, and Bland v. Stewart, 35 W. Va. 518, 14 S. E. 215. This general doctrine was not discussed by either of the parties to this cause, but mention of it becomes necessary for the reason that the question of the right of the appellant to intervene in the, partition suit may have been determined by the trial court upon the record of the proceedings before the referee, to whom the trial of this cause was referred, and therefore entirely independent of any reference to the record proper.
'[4] The appellant has restricted the consideration of the question to the record proper, although, as we have shown, he may have become a party to the partition suit by appearing before the referee and there lit-¡¡.gating bis rights in the premises, and this be might have done notwithstanding that he was not named as a formal defendant nor had entered a formal appearance in the canse. The question now turns upon the sufficiency of the record of this case on appeal, for, conceding, as we must, that the trial court may have determined that the appellant had no right to intervene, in that he became a party to the cause by participation in the trial and the contesting of his rights therein, we cannot determine the correctness of the action of the trial court, in the absence of a record of the proceedings had before the referee. In the former appeal of this case, reported in 20 N. M. 1, 145 Pac. 945, we held that the record on appeal must show all of the record of the trial court necessary for a consideration of the questions presented for review, and that this duty devolved upon the appellant or plaintiff in error. In the case at bar the praecipe calls for the following, among other designated papers not material to this discussion:
“AH pleadings, motions, petitions, or .other papers filed by C. C. Catron as a party to said cause in the office of the clerk of the court, and all orders or motions based tbereon or affecting the same.”
The transcript of record, according to the certificate of the clerk, was prepared in accordance with the prae-cipe. Not only does the pracipe fall short of calling for all of the'record of the trial court essential to a review of the questions on appeal, but the record itself fails in that regard. The record on appeal is insufficient to review the question of the right of appellant to maintain his petition of intervention.
[5] Thus far we have disregarded several questions concerning practice and procedure raised by appellant. Among other things, he contends that the motion to strike was not the proper method of raising the plea of res adjudicata, contending that it must be raised by a plea in bar, where the pleading does not show that the matter has been adjudicated on another occasion. He also contends that there can be no proper pléa of res adjudicata when the same must be founded upon an interlocutory judgment. The argument in both instances is fallacious. While the propositions urged by appellant may be true as general propositions, they are without application in this case, because the trial court evidently disregarded the proposition of res adjudicata, holding that a person who has become a party to a partition suit by participation therein was without right t,o subsequently intervene, and clearly this doctrine applies whether judgment, either final or interlocutory, has ■ or has not been rendered in the main case. The only other doctrine of law which we believe it is necessary to state in this case, for the reason that it completes the general premises upon which the conclusion in this case is reached, is that the trial court will take judicial notice of all of the record in a case before it. This doctrine will be found stated in 16 Cyc. 917, as follows:
“In a case on trial in any court, its records are actually or constructively before the judge. He will therefore take judicial notice of them and the facts which they establish, as in dealing with pleas in abatement, motions to dismiss, or for a new trial based upon defects in the record or on a plea of former jeopardy. * * * ”
In 15 R. C. L., Judicial Notice, § 44, it is said:
“Notice will uniformly be taken by a court of its own records in the case at bar and of all matters patent on the face of such records, including all’ prior proceedings in the same case. * * * ”
To the same general effect in the statement in 7 Eney., Evidence, 999. This rule is so well established that citation of cases supporting it is unnecessary. The text-writers, citing cases, agree that this is a duty which the court must perform without any request from the parties. For authority on this proposition see the foregoing works. The question in the case at bar, viz. Was the appellant in a position to plead in the partition suit by way of petition of intervention and answer T is dependent upon two things: Was the appellant a formal party to the partition suit; and, if not, did be become a party by bis acts and conduct as effectually as though he had entered a formal appearance? Manifestly this depended upon the whole record of tjie cause, of all of which the trial court could, and probably did, take judicial notice. The fact that the matter of which the court would take judicial notice was called to its attention by the statement of facts contained in the affidavit filed by the attorney opposing the claim of the appellant is immaterial.
We have examined the questions urged by appellant and not treated of specifically in this opinion, and deem the same without merit, in view of our conclusions herein. The judgment of the trial court will therefore be affirmed; and it is so ordered.
HaNNá, C. J., and Boberts, J., concur.