protected virtual bool Equals(SocialSecurityInfo other) { if (ReferenceEquals(null, other)) { return false; } if (ReferenceEquals(this, other)) { return true; } return Equals(other.Type, this.Type) && other.Has.Equals(this.Has) && other.OthersDuration.Equals(this.OthersDuration); }
protected virtual bool Equals(SocialSecurityInfo other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(Equals(other.Type, this.Type) && other.Has.Equals(this.Has) && other.OthersDuration.Equals(this.OthersDuration)); }