public override int GetHashCode() { unchecked { return(((PropertyName != null ? PropertyName.GetHashCode() : 0) * 397) ^ (DependsOn != null ? DependsOn.GetHashCode() : 0)); } }
public override int GetHashCode() { int hash = 1; if (PropertyName.Length != 0) { hash ^= PropertyName.GetHashCode(); } if (propertyForeignTenancyId_ != null) { hash ^= PropertyForeignTenancyId.GetHashCode(); } if (ApiUrl.Length != 0) { hash ^= ApiUrl.GetHashCode(); } if (entityId_ != null) { hash ^= EntityId.GetHashCode(); } if (WebsiteUrl.Length != 0) { hash ^= WebsiteUrl.GetHashCode(); } return(hash); }
public override int GetHashCode() { unchecked { return(((PropertyName != null ? PropertyName.GetHashCode() : 0) * 397) ^ (ParentProperty != null ? ParentProperty.GetHashCode() : 0)); } }
public override int GetHashCode() { unchecked { return((Message.GetHashCode() * 256) ^ (PropertyName.GetHashCode() * 128)); } }
public void SetReferenceValue(PropertyName id, Object value) { var reference = FindReference(id); if (reference == null) { if (value == null) { return; } reference = new SceneReference(id.GetHashCode(), value); references.Add(reference); } #if UNITY_EDITOR if (value == null) { reference.TotalUses--; if (reference.TotalUses <= 0) { ClearReferenceValue(id); } return; } reference.TotalUses++; #endif reference.Object = value; }
public override int GetHashCode() { unchecked { return(((int)ExtractionMode * 397) ^ PropertyName.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> public override int GetHashCode() { unchecked { return(((PropertyName?.GetHashCode() ?? 0) * 397) ^ (Message?.GetHashCode() ?? 0)); } }
public override int GetHashCode() { unchecked { return(((PropertyName != null ? PropertyName.GetHashCode() : 0) * 397) ^ StreamNum); } }
public override int GetHashCode() { unchecked { return((Reference.GetHashCode() * 505239) ^ PropertyName.GetHashCode()); } }
public override int GetHashCode() { unchecked { return(((PropertyName != null ? PropertyName.GetHashCode() : 0) * 397) ^ (Value != null ? Value.GetHashCode() : 0)); } }
public override int GetHashCode() { if (CategoryName == null || PropertyName == null) { return(TranslatedText.GetHashCode()); } return(CategoryName.GetHashCode() ^ PropertyName.GetHashCode()); }
public override int GetHashCode() { int referencingNode = ReferencingItem.GetHashCode(); int propertyName = PropertyName.GetHashCode(); int referencedNode = ReferencedItem.GetHashCode(); return(referencingNode + propertyName + referencedNode); }
/// <summary>Serves as the default hash function. </summary> /// <returns>A hash code for the current object.</returns> public override int GetHashCode() { unchecked { var value = (_schema != null ? _schema.GetHashCode() : 0) * 397; return(value ^ (PropertyName != null ? PropertyName.GetHashCode() : 0)); } }
public override int GetHashCode() { var hashCode = -295901811; hashCode = hashCode * -1521134295 + PropertyName.GetHashCode(); hashCode = hashCode * -1521134295 + Value.GetHashCode(); return(hashCode); }
public override int GetHashCode() { return(InvalidItem.GetHashCode() + PropertyName.GetHashCode() + Severity.GetHashCode() + ValidationCode.GetHashCode() + Message.GetHashCode() + Recommendation.GetHashCode()); }
public static GUIContent GetLabel(Object found, PropertyName value, GUIContent name) { var msg = found == null ? "null" : string.Format("{0}:{1}", found.GetInstanceID(), value.GetHashCode()); name.text = string.Format("{0} ({1})", name.text, msg); return(name); }
public override int GetHashCode() { unchecked { var hashCode = PropertyName?.GetHashCode() ?? 0; hashCode = (hashCode * 397) ^ (ErrorMessage?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (AttemptedValue?.GetHashCode() ?? 0); return(hashCode); } }
public override int GetHashCode() { unchecked { int hashCode = base.GetHashCode(); hashCode = (hashCode * 397) ^ (Cref != null ? Cref.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (PropertyName != null ? PropertyName.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { unchecked // Overflow is fine, just wrap { int hash = 17; hash = hash * 23 + PropertyName.GetHashCode(); hash = hash * 23 + Message.GetHashCode(); return(hash); } }
public override int GetHashCode() { int hashCode = ExtendableInterface.GetHashCode() ^ ArgumentCount; if (PropertyName != null) { hashCode ^= PropertyName.GetHashCode(); } return(hashCode); }
public override int GetHashCode() { unchecked { var hashCode = Contract.GetHashCode(); hashCode = (hashCode * 397) ^ (PropertyName?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (PropertyValue?.GetHashCode() ?? 0); return(hashCode); } }
/// <summary> Override of Object.GetHashCode </summary> public override int GetHashCode() { int result = Direction.GetHashCode(); if (PropertyName != null) { result = unchecked (PropertyName.GetHashCode() + result); } return(result); }
public override int GetHashCode() { unchecked { int result = (PropertyName != null ? PropertyName.GetHashCode() : 0); result = (result * 397) ^ (PropertyType != null ? PropertyType.GetHashCode() : 0); result = (result * 397) ^ (ConverterType != null ? ConverterType.GetHashCode() : 0); return(result); } }
public override int GetHashCode() { unchecked { if (PropertyName == null || EntityType == null) { return(0); } return((EntityType.GetHashCode() * 397) ^ PropertyName.GetHashCode()); } }
public override int GetHashCode() { unchecked { var hashCode = (PropertyName != null ? PropertyName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ PropertyType.GetHashCode(); hashCode = (hashCode * 397) ^ (ReadMethod != null ? ReadMethod.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (AccessorField != null ? AccessorField.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (AccessorProp != null ? AccessorProp.GetHashCode() : 0); return hashCode; } }
public override int GetHashCode() { unchecked { int hash = 7; hash = (hash * 397) ^ Condition.GetHashCode(); hash = (hash * 397) ^ PropertyName.GetHashCode(); hash = (hash * 397) ^ Message.GetHashCode(); return(hash); } }
public override int GetHashCode() { unchecked { int hashCode = base.GetHashCode(); hashCode = (hashCode * 397) ^ (Emails != null ? Emails.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (PropertyName != null ? PropertyName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ PropertyId.GetHashCode(); hashCode = (hashCode * 397) ^ (Message != null ? Message.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { unchecked { int hashCode = base.GetHashCode(); hashCode = (hashCode * 397) ^ (PropertyName != null ? PropertyName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ PropertyId.GetHashCode(); hashCode = (hashCode * 397) ^ (PropertyValue != null ? PropertyValue.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ValidValues != null ? ValidValues.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (UsersGroups != null ? UsersGroups.GetHashCode() : 0); return(hashCode); } }
/// <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 { int result = (PropertyName != null ? PropertyName.GetHashCode() : 0); result = (result * 397) ^ (PropertyType != null ? PropertyType.GetHashCode() : 0); result = (result * 397) ^ (PropertyComponentType != null ? PropertyComponentType.GetHashCode() : 0); result = (result * 397) ^ RequiresIndex.GetHashCode(); result = (result * 397) ^ RequiresMapKey.GetHashCode(); result = (result * 397) ^ IsIndexed.GetHashCode(); result = (result * 397) ^ IsMapped.GetHashCode(); result = (result * 397) ^ IsFragment.GetHashCode(); return(result); } }
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); } }