2007-10-27 Marek Safar <marek.safar@gmail.com>
[mono.git] / mcs / errors / gcs3024-2.cs
1 // CS3024: Constraint type `A' is not CLS-compliant\r
2 // Line: 15\r
3 // Compiler options: -warn:1 -warnaserror\r
4 \r
5 using System;\r
6 [assembly:CLSCompliant (true)]\r
7 \r
8 [CLSCompliant (false)]\r
9 public abstract class A\r
10 {\r
11 }\r
12 \r
13 public class C\r
14 {\r
15         public static void Foo<T>() where T : A\r
16         {\r
17         }\r
18 }\r
19 \r