/// <summary>Serves as the default hash function.</summary> /// <returns>A hash code for the current object.</returns> public override int GetHashCode() { unchecked { var hashCode = Keywords?.GetCollectionHashCode() ?? 0; hashCode = (hashCode * 397) ^ (OtherData?.GetCollectionHashCode() ?? 0); hashCode = (hashCode * 397) ^ BoolValue.GetHashCode(); return(hashCode); } }