Beispiel #1
0
        public override bool Equals(object obj)
        {
            GetACLResponse getAclResponse = (GetACLResponse)obj;

            if (getAclResponse == null)
            {
                return(false);
            }
            if (object.ReferenceEquals((object)getAclResponse, (object)this))
            {
                return(true);
            }
            bool flag1 = this.Acl.Equals((object)getAclResponse.Acl);

            if (!flag1)
            {
                return(flag1);
            }
            bool flag2 = this.Stat.Equals((object)getAclResponse.Stat);

            if (!flag2)
            {
                return(flag2);
            }
            return(flag2);
        }
Beispiel #2
0
        public override bool Equals(object obj)
        {
            GetACLResponse peer = (GetACLResponse)obj;

            if (peer == null)
            {
                return(false);
            }
            if (Object.ReferenceEquals(peer, this))
            {
                return(true);
            }
            bool ret = false;

            ret = Acl.Equals(peer.Acl);
            if (!ret)
            {
                return(ret);
            }
            ret = Stat.Equals(peer.Stat);
            if (!ret)
            {
                return(ret);
            }
            return(ret);
        }
Beispiel #3
0
        public override bool Equals(object obj)
        {
            GetACLResponse objA = (GetACLResponse)obj;

            if (objA == null)
            {
                return(false);
            }
            if (object.ReferenceEquals(objA, this))
            {
                return(true);
            }
            bool flag = false;

            flag = this.Acl.Equals(objA.Acl);
            if (flag)
            {
                flag = this.Stat.Equals(objA.Stat);
                if (!flag)
                {
                    return(flag);
                }
            }
            return(flag);
        }