Beispiel #1
0
        public int CompareTo(object obj)
        {
            ExistsResponse existsResponse = (ExistsResponse)obj;

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

            if (num != 0)
            {
                return(num);
            }
            return(num);
        }
        public int CompareTo(object obj)
        {
            ExistsResponse peer = (ExistsResponse)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);
        }
Beispiel #3
0
        public override bool Equals(object obj)
        {
            ExistsResponse existsResponse = (ExistsResponse)obj;

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

            if (!flag)
            {
                return(flag);
            }
            return(flag);
        }
        public override bool Equals(object obj)
        {
            ExistsResponse peer = (ExistsResponse)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);
        }
Beispiel #5
0
        public override bool Equals(object obj)
        {
            ExistsResponse objA = (ExistsResponse)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);
        }