public override int GetHashCode() { unchecked { var hashCode = base.GetHashCode(); hashCode = (hashCode * 397) ^ (SelectedSource != null ? SelectedSource.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (FromPath != null ? FromPath.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ToPath != null ? ToPath.GetHashCode() : 0); hashCode = (hashCode * 397) ^ OverWriteMode.GetHashCode(); hashCode = (hashCode * 397) ^ AddMode.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { return(Name.GetHashCode() ^ Kind.GetHashCode() ^ FromPath.GetHashCode() ^ FromRevision.GetHashCode() ^ Actions.GetHashCode()); }