public override int GetHashCode() { return(Font.GetHashCode() ^ Fill.GetHashCode() ^ Border.GetHashCode() ^ NumberFormat.GetHashCode() ^ Alignment.GetHashCode() ^ Protection.GetHashCode()); }
public override int GetHashCode() { var hashCode = -476701294; hashCode = hashCode * -1521134295 + Alignment.GetHashCode(); hashCode = hashCode * -1521134295 + Border.GetHashCode(); hashCode = hashCode * -1521134295 + Fill.GetHashCode(); hashCode = hashCode * -1521134295 + Font.GetHashCode(); hashCode = hashCode * -1521134295 + NumberFormat.GetHashCode(); hashCode = hashCode * -1521134295 + Protection.GetHashCode(); return(hashCode); }
public override int GetHashCode() { var hashCode = 428549002; hashCode = hashCode * -1521134295 + Font.GetHashCode(); hashCode = hashCode * -1521134295 + Fill.GetHashCode(); hashCode = hashCode * -1521134295 + Border.GetHashCode(); hashCode = hashCode * -1521134295 + NumberFormat.GetHashCode(); if (Alignment != null) { hashCode = hashCode * -1521134295 + Alignment.GetHashCode(); } return(hashCode); }
public override int GetHashCode() { var hashCode = -476701294; hashCode = hashCode * -1521134295 + Alignment.GetHashCode(); hashCode = hashCode * -1521134295 + Border.GetHashCode(); hashCode = hashCode * -1521134295 + Fill.GetHashCode(); hashCode = hashCode * -1521134295 + Font.GetHashCode(); hashCode = hashCode * -1521134295 + IncludeQuotePrefix.GetHashCode(); hashCode = hashCode * -1521134295 + NumberFormat.GetHashCode(); hashCode = hashCode * -1521134295 + Protection.GetHashCode(); hashCode = hashCode * -1521134295 + (Name?.GetHashCode() ?? DefaultName.GetHashCode()); return(hashCode); }