public override int GetHashCode() { try { return(ProviderUserKey.GetHashCode() * UserName.GetHashCode() * Email.GetHashCode()); } catch (NullReferenceException) { return(1337 * 42); } }
protected bool Equals(BirdBrainMembershipUser other) { try { return(ProviderUserKey.Equals(other.ProviderUserKey) && UserName.Equals(other.UserName) && Email.Equals(other.Email)); } catch (NullReferenceException) { return(false); } }