2009-07-20 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / gcs0456.cs
blobee3394ad0085ec3e2ed1e07afcdc5f9313e0745e
1 // CS0456: Type parameter `U' has the `struct' constraint, so it cannot be used as a constraint for `T'
2 // Line: 7
3 using System;
5 class Foo<T,U>
6 where T : U
7 where U : struct
8 { }
10 class X
12 static void Main ()
13 { }