public static bool TypeMatched(PropertyRepr a, PropertyRepr b) => a.type == b.type;
public bool TypeMatched(PropertyRepr b) => type == b.type;