public override int GetHashCode() { int hash = 1; if (FillId.Length != 0) { hash ^= FillId.GetHashCode(); } if (AgentId.Length != 0) { hash ^= AgentId.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { unchecked { int hash = 11; hash = hash * 17 + FormatId?.GetHashCode() ?? 0; hash = hash * 17 + FontId?.GetHashCode() ?? 0; hash = hash * 17 + FillId?.GetHashCode() ?? 0; hash = hash * 17 + BorderId?.GetHashCode() ?? 0; hash = hash * 17 + NumberFormatId?.GetHashCode() ?? 0; hash = hash * 17 + HasPivotButton?.GetHashCode() ?? 0; hash = hash * 17 + HasQuotePrefix?.GetHashCode() ?? 0; hash = hash * 17 + Alignment?.GetHashCode() ?? 0; hash = hash * 17 + Protection?.GetHashCode() ?? 0; return(hash); } }