constraint reference type 约束参考类型
To avoid this error, use a class type constraint or a reference type constraint.
若要避免这个错误,请使用类别型别条件约束或参考型别条件约束。
When a constraint is applied to a generic type parameter, an implicit identity or reference conversion must exist from the concrete argument to the type of the constraint.
在将某一约束应用于泛型类型参数时,必须存在从具体参数到该约束类型的隐式标识或引用转换。
应用推荐