/// <summary> /// /// </summary> /// <param name="obj"></param> /// <returns></returns> public override bool Equals(object obj) { SetACLTxn peer = (SetACLTxn)obj; if (peer == null) { return(false); } if (ReferenceEquals(peer, this)) { return(true); } bool ret = false; ret = Path.Equals(peer.Path); if (!ret) { return(ret); } ret = Acl.Equals(peer.Acl); if (!ret) { return(ret); } ret = (Version == peer.Version); if (!ret) { return(ret); } return(ret); }
public override bool Equals(object obj) { SetACLTxn objA = (SetACLTxn)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.Acl.Equals(objA.Acl); if (!flag) { return(flag); } flag = this.Version == objA.Version; if (!flag) { return(flag); } } return(flag); }
public override bool Equals(object obj) { SetACLTxn setAclTxn = (SetACLTxn)obj; if (setAclTxn == null) { return(false); } if (object.ReferenceEquals((object)setAclTxn, (object)this)) { return(true); } bool flag1 = this.Path.Equals(setAclTxn.Path); if (!flag1) { return(flag1); } bool flag2 = this.Acl.Equals((object)setAclTxn.Acl); if (!flag2) { return(flag2); } bool flag3 = this.Version == setAclTxn.Version; if (!flag3) { return(flag3); } return(flag3); }