Archive these files from my generics tree
[mono.git] / mcs / errors / cs8202.cs
1 //
2 // The type parameters introduce the names into the class namespace, so it is
3 // not possible to have members with the same name as a parameter
4 //
5
6 // First error.
7 class X <T> {
8         int T;
9 }
10
11 // Second error: type parameter is the same name as the class
12
13 class Y <Y> {
14 }
15
16 class W {
17         static void Main () {}
18 }