public override int GetHashCode() { return(Bold.GetHashCode() ^ Italic.GetHashCode() ^ (Int32)Underline ^ Strikethrough.GetHashCode() ^ (Int32)VerticalAlignment ^ Shadow.GetHashCode() ^ FontSize.GetHashCode() ^ FontColor.GetHashCode() ^ FontName.GetHashCode() ^ (Int32)FontFamilyNumbering); }
public override int GetHashCode() { var hashCode = 1158783753; hashCode = hashCode * -1521134295 + Bold.GetHashCode(); hashCode = hashCode * -1521134295 + Italic.GetHashCode(); hashCode = hashCode * -1521134295 + Underline.GetHashCode(); hashCode = hashCode * -1521134295 + Strikethrough.GetHashCode(); hashCode = hashCode * -1521134295 + VerticalAlignment.GetHashCode(); hashCode = hashCode * -1521134295 + Shadow.GetHashCode(); hashCode = hashCode * -1521134295 + FontSize.GetHashCode(); hashCode = hashCode * -1521134295 + FontColor.GetHashCode(); hashCode = hashCode * -1521134295 + StringComparer.InvariantCultureIgnoreCase.GetHashCode(FontName); hashCode = hashCode * -1521134295 + FontFamilyNumbering.GetHashCode(); hashCode = hashCode * -1521134295 + FontCharSet.GetHashCode(); return(hashCode); }