public override int GetHashCode() { unchecked { var hashCode = 0; hashCode = (hashCode * 397) ^ (OwnerToken?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (Value?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (ConfirmationToken?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (Scope?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (Expiration?.GetHashCode() ?? 0); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = 0; hashCode = (hashCode * 397) ^ (OwnerToken != null ? OwnerToken.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Value != null ? Value.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ConfirmationToken != null ? ConfirmationToken.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Scope != null ? Scope.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Expiration.HasValue ? Expiration.GetHashCode() : 0); return(hashCode); } }