예제 #1
0
        public override bool Equals(object obj)
        {
            if (!(obj is ProxyCacheEntry))
            {
                return(false);
            }

            ProxyCacheEntry other = (ProxyCacheEntry)obj;

            return(hashCode == other.GetHashCode());
        }
        public override bool Equals(object obj)
        {
            if (!(obj is ProxyCacheEntry))
            {
                return(false);
            }

            ProxyCacheEntry other = (ProxyCacheEntry)obj;

            return(hashCode == other.GetHashCode() &&
                   BaseType == other.BaseType &&
                   GetTypes(BaseType, Interfaces).SetEquals(GetTypes(other.BaseType, other.Interfaces)));
        }