public override int GetHashCode() { int hash = 1; if (ReferenceType != global::FactSet.Protobuf.Stach.Table.ReferenceType.UnknownReferenceType) { hash ^= ReferenceType.GetHashCode(); } if (TableId.Length != 0) { hash ^= TableId.GetHashCode(); } if (ColumnId.Length != 0) { hash ^= ColumnId.GetHashCode(); } if (RowId.Length != 0) { hash ^= RowId.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { unchecked { return((ReferenceType.GetHashCode() * 397) ^ SpanContext.GetHashCode()); } }
/// <summary> /// Serves as a hash function for a particular type. /// </summary> /// <returns> /// A hash code for the current <see cref="T:System.Object"/>. /// </returns> /// <filterpriority>2</filterpriority> public override int GetHashCode() { return(uri.GetHashCode() ^ type.GetHashCode()); }