protected bool Equals(DependencyCacheKey other) { return(Dependency.Equals(other.Dependency) && Mode == other.Mode); }