Only one type is explicitly permitted
Design
Warning
This warning is emitted when a type parameter's explicit type constraints only permit the usage of a single type. This is a result of not permitting any base type, not permitting any unbound generic type, and including OnlyPermitSpecifiedTypesAttribute
.
class C
<
// GA0013 will appear here
[PermittedTypes(typeof(int))]
[OnlyPermitSpecifiedTypes]
T
>
{ }