public override int GetHashCode () { unchecked { int hash = 23; hash = hash * 37 + Index.GetHashCode (); hash = hash * 37 + Alignment.GetHashCode (); hash = hash * 37 + FormatString.GetHashCode (); hash = hash * 37 + StartLocation.GetHashCode (); hash = hash * 37 + EndLocation.GetHashCode (); return hash; } }
/// <summary> /// /// </summary> /// <returns></returns> public override int GetHashCode() { return(StartLocation.GetHashCode() ^ EndLocation.GetHashCode()); }