/// <inheritdoc /> public override int GetHashCode() { int hash = (Format == null) ? 0 : Format.GetHashCode(); if (FormatProvider != null) { hash ^= FormatProvider.GetHashCode(); } return(hash); }