public override string ToString() { var sb = new StringBuilder("VersioningTestV1("); int tmp72 = 0; if (__isset.begin_in_both) { if (0 < tmp72++) { sb.Append(", "); } sb.Append("Begin_in_both: "); Begin_in_both.ToString(sb); } if ((Old_string != null) && __isset.old_string) { if (0 < tmp72++) { sb.Append(", "); } sb.Append("Old_string: "); Old_string.ToString(sb); } if (__isset.end_in_both) { if (0 < tmp72++) { sb.Append(", "); } sb.Append("End_in_both: "); End_in_both.ToString(sb); } sb.Append(')'); return(sb.ToString()); }
public override int GetHashCode() { int hashcode = 157; unchecked { if (__isset.begin_in_both) { hashcode = (hashcode * 397) + Begin_in_both.GetHashCode(); } if ((Old_string != null) && __isset.old_string) { hashcode = (hashcode * 397) + Old_string.GetHashCode(); } if (__isset.end_in_both) { hashcode = (hashcode * 397) + End_in_both.GetHashCode(); } } return(hashcode); }