public bool Equals(ConstrainedSerializableType <TBaseConstraint> other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(Type == other.Type && assemblyQualifiedName == other.assemblyQualifiedName); }
public int GetHashCode(ConstrainedSerializableType <TBaseConstraint> obj) { return(obj.GetHashCode()); }
public bool Equals( ConstrainedSerializableType <TBaseConstraint> x, ConstrainedSerializableType <TBaseConstraint> y) { return(x != null && x.Equals(y)); }