public override int GetHashCode() { if (Rhs == null) { return(Lhs.GetHashCode()); } return(Lhs.GetHashCode() ^ Rhs.GetHashCode()); }
public override int GetHashCode() { const int PRIME = 37; int hashCode = base.GetHashCode(); hashCode = PRIME * hashCode + (Lhs != null ? Lhs.GetHashCode() : 0); hashCode = PRIME * hashCode + (Rhs != null ? Rhs.GetHashCode() : 0); return(hashCode); }
public override int GetHashCode() { int hashCode = 0; hashCode ^= Lhs.GetHashCode(); hashCode ^= Dpos; foreach (string s in Rhs) { hashCode ^= s.GetHashCode(); } return(hashCode); }
public override int GetHashCode() { return(Lhs.GetHashCode() ^ Rhs.GetHashCode()); }