/// <summary> /// Serves as a hash function for a particular type. /// </summary> /// <returns> /// A hash code for the current <see cref="T:System.Object"/>. /// </returns> public override int GetHashCode() { unchecked { var hashCode = ColumnName?.GetHashCode() ?? 0; hashCode = (hashCode * 397) ^ (ColumnDescription?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ IsEditable.GetHashCode(); hashCode = (hashCode * 397) ^ (int)ColumnIODirection; return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = Conjunction?.GetHashCode() ?? 0; hashCode = (hashCode * 397) ^ (ColumnName?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (ColumnValue?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (Operator?.GetHashCode() ?? 0); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = ColumnName?.GetHashCode() ?? 0; hashCode = (hashCode * 397) ^ (MemberName?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (SystemType != null ? SystemType.GetHashCode() : 0); hashCode = (hashCode * 397) ^ IsNullable.GetHashCode(); hashCode = (hashCode * 397) ^ (int)HandyType; return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = (int)SqlDataType; hashCode = (hashCode * 397) ^ (ColumnName != null ? ColumnName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ IsNullable.GetHashCode(); hashCode = (hashCode * 397) ^ (DataType != null ? DataType.GetHashCode() : 0); hashCode = (hashCode * 397) ^ IsAutoIncrement.GetHashCode(); hashCode = (hashCode * 397) ^ MaxLength; return(hashCode); } }
public override int GetHashCode() { unchecked { int hashCode = (TableName != null ? TableName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (TableSchema != null ? TableSchema.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ColumnName != null ? ColumnName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ColumnType != null ? ColumnType.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (PropertyName != null ? PropertyName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ IsNullable.GetHashCode(); hashCode = (hashCode * 397) ^ IsIdentity.GetHashCode(); hashCode = (hashCode * 397) ^ IndexType.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { int hashcode = 157; unchecked { hashcode = (hashcode * 397) + ColumnName.GetHashCode(); hashcode = (hashcode * 397) + TypeDesc.GetHashCode(); hashcode = (hashcode * 397) + Position.GetHashCode(); if (__isset.comment) { hashcode = (hashcode * 397) + Comment.GetHashCode(); } } return(hashcode); }
public override int GetHashCode() { unchecked { var hashCode = (SchemaName != null ? SchemaName.GetHashCode() : 0); if (ColumnName != null) { hashCode = (hashCode * 397) ^ (ColumnName != null ? ColumnName.GetHashCode() : 0); } else { hashCode = (hashCode * 397) ^ (RootSchemaColumns != null ? RootSchemaColumns.GetHashCode() : 0); } hashCode = (hashCode * 397) ^ IsDetail.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { int hashcode = 157; unchecked { if (__isset.columnName) { hashcode = (hashcode * 397) + ColumnName.GetHashCode(); } if (__isset.cell) { hashcode = (hashcode * 397) + Cell.GetHashCode(); } } return(hashcode); }
public override int GetHashCode() { unchecked { var hashCode = SchemaName.GetHashCode(); if (Type == null) { hashCode = hashCode * 19 + ColumnName.GetHashCode(); } else { hashCode = hashCode * 19 + Type.GetHashCode(); } if (SourceColumnUId != null) { hashCode = hashCode * 19 + SourceColumnUId.GetHashCode(); } return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = 3; hashCode = hashCode * 19 + SchemaName.GetHashCode(); if (Value != null) { foreach (var item in Value) { hashCode = hashCode * 19 + item.GetHashCode(); } } if (Type == null) { hashCode = hashCode * 19 + ColumnName.GetHashCode(); } else { hashCode = hashCode * 19 + Type.GetHashCode(); } return(hashCode); } }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (InventoryVariantName != null) { hashCode = hashCode * 59 + InventoryVariantName.GetHashCode(); } if (ColumnName != null) { hashCode = hashCode * 59 + ColumnName.GetHashCode(); } if (Value != null) { hashCode = hashCode * 59 + Value.GetHashCode(); } if (ValueRange != null) { hashCode = hashCode * 59 + ValueRange.GetHashCode(); } if (Operator != null) { hashCode = hashCode * 59 + Operator.GetHashCode(); } if (IncludeExclude != null) { hashCode = hashCode * 59 + IncludeExclude.GetHashCode(); } if (SourceSystem != null) { hashCode = hashCode * 59 + SourceSystem.GetHashCode(); } return(hashCode); } }
public override int GetHashCode() { return(ColumnName.GetHashCode()); }
public override int GetHashCode() { return(Tools.Object.CombineHashCodes(ColumnName.GetHashCode(), Value != null ? Value.GetHashCode() : 0)); }
/// <summary> /// Returns a hash code for this instance. /// </summary> /// <returns>A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.</returns> public override int GetHashCode() { return((ColumnName?.GetHashCode(StringComparison.OrdinalIgnoreCase) ?? 0) + (int)Direction); }
public override int GetHashCode() => HashCode.Combine(Table.GetHashCode(), ColumnName.GetHashCode());
public override int GetHashCode() { return(ColumnName != null ? ColumnName.GetHashCode() : 0); }
/// <inheritdoc/> public override int GetHashCode() { return((ColumnName.IsNull() ? 0 : ColumnName.GetHashCode()) ^ (ColumnIndex.IsNull() ? 0 : ColumnIndex.GetHashCode())); }
public override int GetHashCode() { return(ColumnName.GetHashCode() ^ PrimitiveType.GetHashCode() ^ (DocString != null ? DocString.GetHashCode() : 0)); }
public override int GetHashCode() { return(Schema.GetHashCode() + TableName.GetHashCode() + ColumnName.GetHashCode()); }
public override int GetHashCode() { unchecked { return(((TableName != null ? TableName.GetHashCode() : 0) * 397) ^ (ColumnName != null ? ColumnName.GetHashCode() : 0)); } }