Type constraint attributes used on non-profile interface
Design
Warning
This warning is emitted when type constraint-related attributes are used on an interface that is not declared as a type constraint profile.
// GA0030 will appear here
[PermittedTypes(typeof(int))]
interface INonProfile { }
// GA0030 will appear here
[PermittedTypes(typeof(int))]
[TypeConstraintProfileGroup]
interface IGroup { }