public override int GetHashCode() { int hash = 1; if (KeyName.Length != 0) { hash ^= KeyName.GetHashCode(); } if (KeyValue.Length != 0) { hash ^= KeyValue.GetHashCode(); } if (MetricValue != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(MetricValue); } if (RecordId != 0) { hash ^= RecordId.GetHashCode(); } if (Offset != 0) { hash ^= Offset.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { unchecked { return((int)(((KeyName != null ? KeyName.GetHashCode() : 0) * 397) ^ KeyValue)); } }
public override int GetHashCode() { var hash = IsAxis.GetHashCode(); hash = (hash * 7) + KeyName.GetHashCode(); hash = AxisName != null ? (hash * 7) + AxisName.GetHashCode() : (hash * 7); return(hash); }
/// <summary> /// override object.GetHashCode /// </summary> /// <returns></returns> public override int GetHashCode() { unchecked { int nameHash = KeyName.GetHashCode(); int typeHash = KeyType.GetHashCode(); return(nameHash + typeHash); } }
public override int GetHashCode() { return(((KeyName != null) ? KeyName.GetHashCode() : 0) + (29 * ((KeyValue != null) ? KeyValue.GetHashCode() : 0))); }
public override int GetHashCode() { return(KeyName.GetHashCode()); }