public override bool Equals(object obj) { SetMaxChildrenTxn peer = (SetMaxChildrenTxn)obj; if (peer == null) { return(false); } if (Object.ReferenceEquals(peer, this)) { return(true); } bool ret = false; ret = Path.Equals(peer.Path); if (!ret) { return(ret); } ret = (Max == peer.Max); if (!ret) { return(ret); } return(ret); }
public override bool Equals(object obj) { SetMaxChildrenTxn setMaxChildrenTxn = (SetMaxChildrenTxn)obj; if (setMaxChildrenTxn == null) { return(false); } if (object.ReferenceEquals((object)setMaxChildrenTxn, (object)this)) { return(true); } bool flag1 = this.Path.Equals(setMaxChildrenTxn.Path); if (!flag1) { return(flag1); } bool flag2 = this.Max == setMaxChildrenTxn.Max; if (!flag2) { return(flag2); } return(flag2); }
public override bool Equals(object obj) { SetMaxChildrenTxn objA = (SetMaxChildrenTxn)obj; if (objA == null) { return(false); } if (object.ReferenceEquals(objA, this)) { return(true); } bool flag = false; flag = this.Path.Equals(objA.Path); if (flag) { flag = this.Max == objA.Max; if (!flag) { return(flag); } } return(flag); }
public int CompareTo(object obj) { SetMaxChildrenTxn txn = (SetMaxChildrenTxn)obj; if (txn == null) { throw new InvalidOperationException("Comparing different types of records."); } int num = 0; num = this.Path.CompareTo(txn.Path); if (num == 0) { num = (this.Max == txn.Max) ? 0 : ((this.Max < txn.Max) ? -1 : 1); if (num != 0) { return(num); } } return(num); }
public int CompareTo(object obj) { SetMaxChildrenTxn peer = (SetMaxChildrenTxn)obj; if (peer == null) { throw new InvalidOperationException("Comparing different types of records."); } int ret = 0; ret = Path.CompareTo(peer.Path); if (ret != 0) { return(ret); } ret = (Max == peer.Max) ? 0 : ((Max < peer.Max) ? -1 : 1); if (ret != 0) { return(ret); } return(ret); }
public int CompareTo(object obj) { SetMaxChildrenTxn setMaxChildrenTxn = (SetMaxChildrenTxn)obj; if (setMaxChildrenTxn == null) { throw new InvalidOperationException("Comparing different types of records."); } int num1 = this.Path.CompareTo(setMaxChildrenTxn.Path); if (num1 != 0) { return(num1); } int num2 = this.Max == setMaxChildrenTxn.Max ? 0 : (this.Max < setMaxChildrenTxn.Max ? -1 : 1); if (num2 != 0) { return(num2); } return(num2); }