private Class122 method_6(byte byte_0, int int_2) { Class122 class2 = this.method_3(); class2.method_7(Enum29.const_3); class2.method_9(new Class122(Enum29.const_0, 0, 0L, class2.method_0() - 2)); class2.method_8().method_13(class2); class2.method_11(new Class122(Enum29.const_2, byte_0, (long)int_2, class2.method_0() - 1)); class2.method_10().method_13(class2); this.hashtable_0["NYT"] = class2.method_8(); this.hashtable_0[byte_0] = class2.method_10(); return(class2.method_10()); }
private void method_5(Class122 class122_1, Class122 class122_2) { if ((class122_1.method_12() == null) || (class122_2.method_12() == null)) { throw new ApplicationException("Can't swap root nodes."); } int num = class122_1.method_0(); class122_1.method_1(class122_2.method_0()); class122_2.method_1(num); Class122 class2 = class122_1.method_12().method_8(); Class122 class3 = class122_2.method_12().method_8(); if (class2 == class122_1) { class122_1.method_12().method_9(class122_2); } else { class122_1.method_12().method_11(class122_2); } if (class3 == class122_2) { class122_2.method_12().method_9(class122_1); } else { class122_2.method_12().method_11(class122_1); } Class122 class4 = class122_1.method_12(); class122_1.method_13(class122_2.method_12()); class122_2.method_13(class4); }
private string method_11(Class122 class122_1, int int_2) { StringBuilder builder = new StringBuilder(); builder.Append(string.Concat(new object[] { this.method_12(int_2), "Type: ", class122_1.method_6(), Environment.NewLine })); builder.Append(string.Concat(new object[] { this.method_12(int_2), "Number: ", class122_1.method_0(), Environment.NewLine })); builder.Append(string.Concat(new object[] { this.method_12(int_2), "Count: ", class122_1.method_2(), Environment.NewLine })); builder.Append(string.Concat(new object[] { this.method_12(int_2), "Value: ", class122_1.method_4(), "(", char.IsControl((char)class122_1.method_4()) ? '-' : ((char)class122_1.method_4()), ")", Environment.NewLine })); if (class122_1.method_8() != null) { builder.Append(this.method_12(int_2 + 1) + "---- Left ----" + Environment.NewLine); builder.Append(this.method_11(class122_1.method_8(), int_2 + 1)); } if (class122_1.method_10() != null) { builder.Append(this.method_12(int_2 + 1) + "---- Right ----" + Environment.NewLine); builder.Append(this.method_11(class122_1.method_10(), int_2 + 1)); } return(builder.ToString()); }