public override int GetHashCode() { unchecked { var hashCode = FieldName.GetHashCode(); hashCode = (hashCode * 397) ^ ClosureObject.GetHashCode(); hashCode = (hashCode * 397) ^ (int)BindingType; hashCode = (hashCode * 397) ^ Mapping.GetHashCode(); return(hashCode); } }
public bool Equals(QueryParameterIdentity other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(string.Equals(FieldName, other.FieldName) && ClosureObject.Equals(other.ClosureObject) && BindingType == other.BindingType && Mapping.Equals(other.Mapping)); }