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)); }