示例#1
0
        public int CompareTo(object obj)
        {
            SetACLResponse setAclResponse = (SetACLResponse)obj;

            if (setAclResponse == null)
            {
                throw new InvalidOperationException("Comparing different types of records.");
            }
            int num = this.Stat.CompareTo((object)setAclResponse.Stat);

            if (num != 0)
            {
                return(num);
            }
            return(num);
        }
示例#2
0
        public int CompareTo(object obj)
        {
            SetACLResponse peer = (SetACLResponse)obj;

            if (peer == null)
            {
                throw new InvalidOperationException("Comparing different types of records.");
            }
            int ret = 0;

            ret = Stat.CompareTo(peer.Stat);
            if (ret != 0)
            {
                return(ret);
            }
            return(ret);
        }
示例#3
0
        public override bool Equals(object obj)
        {
            SetACLResponse setAclResponse = (SetACLResponse)obj;

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

            if (!flag)
            {
                return(flag);
            }
            return(flag);
        }
示例#4
0
        public override bool Equals(object obj)
        {
            SetACLResponse peer = (SetACLResponse)obj;

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

            ret = Stat.Equals(peer.Stat);
            if (!ret)
            {
                return(ret);
            }
            return(ret);
        }
示例#5
0
        public override bool Equals(object obj)
        {
            SetACLResponse objA = (SetACLResponse)obj;

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

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