public override int GetHashCode() { unchecked { int hashCode = base.GetHashCode(); hashCode = (hashCode * 397) ^ (Plural != null ? Plural.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Female != null ? Female.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (FemalePlural != null ? FemalePlural.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { var hashCode = 1223319261; hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Species); hashCode = hashCode * -1521134295 + Level.GetHashCode(); hashCode = hashCode * -1521134295 + Female.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <Position> .Default.GetHashCode(Location); return(hashCode); }
public override int GetHashCode() { var hashCode = 1606339474; hashCode = hashCode * -1521134295 + EqualityComparer <ulong?> .Default.GetHashCode(Id); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Type); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Name); hashCode = hashCode * -1521134295 + BaseLevel.GetHashCode(); hashCode = hashCode * -1521134295 + Female.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <Position> .Default.GetHashCode(Location); hashCode = hashCode * -1521134295 + EqualityComparer <StatPoints> .Default.GetHashCode(WildLevels); return(hashCode); }