public override int GetHashCode() { var hashCode = -353277081; hashCode = (hashCode * -1521134295) + EqualityComparer <string> .Default.GetHashCode(FullName); hashCode = (hashCode * -1521134295) + IsFile.GetHashCode(); hashCode = (hashCode * -1521134295) + Length.GetHashCode(); return(hashCode); }
public override int GetHashCode() { unchecked { var hashCode = GoDeeper.GetHashCode(); hashCode = (hashCode * 397) ^ (Path != null ? Path.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ProjectPath != null ? ProjectPath.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (AdditionalOffset != null ? AdditionalOffset.GetHashCode() : 0); hashCode = (hashCode * 397) ^ IsFile.GetHashCode(); return(hashCode); } }