public override int GetHashCode() { unchecked { var hashCode = TypeFullyQualified.GetHashCode(); hashCode = (hashCode * 397) ^ IsReferenceType.GetHashCode(); hashCode = (hashCode * 397) ^ AttributeInfo.GetHashCode(); hashCode = (hashCode * 397) ^ Settings.GetHashCode(); hashCode = (hashCode * 397) ^ EqualityMembers.ComputeHashCode(); hashCode = (hashCode * 397) ^ AssignableInstanceFieldsAndProperties.ComputeHashCode(); return(hashCode); } }
public bool Equals(ValueObjectSourceGeneratorState?other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(TypeFullyQualified == other.TypeFullyQualified && IsReferenceType == other.IsReferenceType && AttributeInfo.Equals(other.AttributeInfo) && Settings.Equals(other.Settings) && AssignableInstanceFieldsAndProperties.EqualsTo(other.AssignableInstanceFieldsAndProperties) && EqualityMembers.EqualsTo(other.EqualityMembers)); }