public override int GetHashCode() { int hash = 1; if (MarginLeft != 0L) { hash ^= MarginLeft.GetHashCode(); } if (MarginTop != 0L) { hash ^= MarginTop.GetHashCode(); } if (ScaleRatio != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(ScaleRatio); } if (Handup != false) { hash ^= Handup.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { var hashCode = -1817798551; hashCode = hashCode * -1521134295 + EqualityComparer <LineType> .Default.GetHashCode(Type); hashCode = hashCode * -1521134295 + Layer.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <Time> .Default.GetHashCode(Start); hashCode = hashCode * -1521134295 + EqualityComparer <Time> .Default.GetHashCode(End); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Style); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Actor); hashCode = hashCode * -1521134295 + MarginLeft.GetHashCode(); hashCode = hashCode * -1521134295 + MarginRight.GetHashCode(); hashCode = hashCode * -1521134295 + MarginVertical.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Effect); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Content); hashCode = hashCode * -1521134295 + Length.GetHashCode(); return(hashCode); }
/// <summary>Gets the hash code for this instance.</summary> /// <returns>A hash code for the current object.</returns> public override int GetHashCode() { int hashCode = 43802783; hashCode = hashCode * -1521134295 + OutputSize.GetHashCode(); hashCode = hashCode * -1521134295 + Language.GetHashCode(); hashCode = hashCode * -1521134295 + SeparatorType.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(FontFamily); hashCode = hashCode * -1521134295 + GraphicsFormat.GetHashCode(); hashCode = hashCode * -1521134295 + Resolution.GetHashCode(); hashCode = hashCode * -1521134295 + MarginLeft.GetHashCode(); hashCode = hashCode * -1521134295 + MarginRight.GetHashCode(); return(hashCode); }