private static bool Equals(IProjectNode lhs, IProjectNode rhs) { if (object.ReferenceEquals(lhs, rhs)) return true; if (object.ReferenceEquals(lhs, null) || object.ReferenceEquals(rhs, null)) return false; if (lhs.GetType().Equals(rhs.GetType()) == false) return false; return lhs.FullPath.Equals(rhs.FullPath); }