Navigation: X# 文档 > X# 编译器错误和警告
Error XS0706
Invalid constraint type. A type used as a constraint must be an interface, a non-sealed class or a type parameter.