public override int GetHashCode() { unchecked { var hashCode = Width; hashCode = (hashCode * 397) ^ Height; hashCode = (hashCode * 397) ^ LineSpacing; hashCode = (hashCode * 397) ^ Spacing.GetHashCode(); hashCode = (hashCode * 397) ^ YOffset; hashCode = (hashCode * 397) ^ (Name != null ? Name.GetHashCode() : 0); return(hashCode); } }
/// <summary> /// Returns the hash code for this instance. /// </summary> /// <returns>Hash code.</returns> public override int GetHashCode() => Spacing.GetHashCode() ^ Rule.GetHashCode();