[System.Data] Try to fix random DataViewTest.DefaultColumnNameAddListChangedTest...
[mono-project.git] / mcs / errors / cs0029-28.cs
blobedf32a855c573be24b74f1a421079ba252c07178
1 // CS0029: Cannot implicitly convert type `T[]' to `U[]'
2 // Line: 8
4 class Test
6 static void Main ()
8 Foo<int, object> (new int[] { 1 });
11 static U[] Foo<T, U> (T[] arg) where T : U where U : class
13 return arg;