public override int GetHashCode() { unchecked { var hashCode = Exists.GetHashCode(); hashCode = (hashCode * 397) ^ Size.GetHashCode(); hashCode = (hashCode * 397) ^ (FullName != null ? FullName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (int)NotificationType; return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = FullName?.GetHashCode() ?? 0; hashCode = (hashCode * 397) ^ Exists.GetHashCode(); hashCode = (hashCode * 397) ^ Size.GetHashCode(); hashCode = (hashCode * 397) ^ (int)NotificationType; return(hashCode); } }
public override int GetHashCode() { int hash = 1; if (Exists != false) { hash ^= Exists.GetHashCode(); } if (Data.Length != 0) { hash ^= Data.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (conditionTypeCase_ == ConditionTypeOneofCase.Exists) { hash ^= Exists.GetHashCode(); } if (conditionTypeCase_ == ConditionTypeOneofCase.UpdateTime) { hash ^= UpdateTime.GetHashCode(); } hash ^= (int)conditionTypeCase_; return(hash); }
public override int GetHashCode() { unchecked { var hashCode = Exists.GetHashCode(); hashCode = (hashCode * 397) ^ BlockId; hashCode = (hashCode * 397) ^ TextureIndex; hashCode = (hashCode * 397) ^ Tint.GetHashCode(); hashCode = (hashCode * 397) ^ LightTopLeft.GetHashCode(); hashCode = (hashCode * 397) ^ LightTopRight.GetHashCode(); hashCode = (hashCode * 397) ^ LightBottomLeft.GetHashCode(); hashCode = (hashCode * 397) ^ LightBottomRight.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { int hashcode = 157; unchecked { if (__isset.mid) { hashcode = (hashcode * 397) + Mid.GetHashCode(); } if (__isset.exists) { hashcode = (hashcode * 397) + Exists.GetHashCode(); } if (__isset.contact) { hashcode = (hashcode * 397) + Contact.GetHashCode(); } } return(hashcode); }