public override int GetHashCode() { unchecked { int hash = 17; hash = hash * 23 + IntProp.GetHashCode(); hash = hash * 23 + StringProp.GetHashCode(); hash = hash * 23 + BoolField.GetHashCode(); hash = hash * 23 + ListOfString.GetHashCode(); foreach (var s in ListOfString) { hash = hash * 23 + s.GetHashCode(); } return(hash); } }
/** <inheritdoc /> */ public override int GetHashCode() { // ReSharper disable once NonReadonlyMemberInGetHashCode return(IntProp.GetHashCode()); }
/** <inheritdoc /> */ public override int GetHashCode() { return(IntProp.GetHashCode()); }