Merge all static runtime libs into libmono-static.
[mono.git] / mcs / errors / cs0029-28.cs
1 // CS0029: Cannot implicitly convert type `T[]' to `U[]'
2 // Line: 8
3
4 class Test
5 {
6         static void Main ()
7         {
8                 Foo<int, object> (new int[] { 1 });
9         }
10
11         static U[] Foo<T, U> (T[] arg) where T : U where U : class
12         {
13                 return arg;
14         }
15 }