public bool Equals(SerializedType x, SerializedType y) { if (x is null) { return(y is null); } return(x.type == y.type); }
public int GetHashCode(SerializedType obj) { return(obj?.type == null ? 0 : obj.type.GetHashCode()); }