public bool Equals(PhoneAuthCredentialWrapper?other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } if (GetType() != other.GetType()) { return(false); } if (ReferenceEquals(_phoneAuthCredential, other._phoneAuthCredential)) { return(true); } return(_phoneAuthCredential.Equals(other._phoneAuthCredential)); }