Navigation: X# 文档 > X# 编译器错误和警告
Error XS0702
Constraint cannot be special class 'identifier'
The following types may not be used as constraints: System.Object,``System.Array, System.Delegate, System.Enum, or System.ValueType.
The following sample generates XS0702:
// XS0702.prg