// using System; [assembly:CLSCompliant(true)] [CLSCompliant(false)] public class BaseClass {} public class BaseCollection where T : BaseClass {} // Attempting to compile the example displays the following output: // warning CS3024: Constraint type 'BaseClass' is not CLS-compliant // public class Example { public static void Main() { } }