コード例 #1
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            if (obj.GetType() != GetType())
            {
                return(false);
            }

            var other = (InterfaceImplementationMethodInformation)obj;

            return(_implementationMethodInfo.Equals(other._implementationMethodInfo) && _declarationMethodInfo.Equals(other._declarationMethodInfo));
        }
 public bool Equals(CacheKey other)
 {
     return(Type == other.Type &&
            MethodInformation.Equals(other.MethodInformation));
 }