public override int GetHashCode() { var result = TextValue != null?TextValue.GetHashCode() : 0; result = 31 * result + (DateValue != null ? DateValue.GetHashCode() : 0); result = 31 * result + (ToggleValue != null ? ToggleValue.GetHashCode() : 0); return(result); }
public override int GetHashCode() { unchecked { var hashCode = DateValue.GetHashCode(); hashCode = (hashCode * 397) ^ IntegralValue; hashCode = (hashCode * 397) ^ (StringValue != null ? StringValue.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = DateValue.GetHashCode(); hashCode = (hashCode * 397) ^ (IgnoredProperty != null ? IgnoredProperty.GetHashCode() : 0); hashCode = (hashCode * 397) ^ IntegralValue; hashCode = (hashCode * 397) ^ (StringValue != null ? StringValue.GetHashCode() : 0); hashCode = (hashCode * 397) ^ NullableProperty.GetHashCode(); hashCode = (hashCode * 397) ^ (Component != null ? Component.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (PrimitiveList != null ? PrimitiveList.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ComplexCollection != null ? ComplexCollection.GetHashCode() : 0); return(hashCode); } }