New tests.
[mono.git] / mcs / errors / gcs1061-6.cs
1 // CS1061: Type `T' does not contain a definition for `Name' and no extension method `Name' of type `T' could be found (are you missing a using directive or an assembly reference?)\r
2 // Line: 11\r
3 \r
4 using System;\r
5 using System.Collections.Generic;\r
6 \r
7 public class C<T, U>\r
8 {\r
9         public C (IEnumerable<T> t)\r
10         {\r
11                 new List<T>(t).ConvertAll(p => p.Name);\r
12         }\r
13 }\r