Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gcs0102.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1df3a6667a828c22d52cb06698893bdad7dcac1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//
// The type parameters introduce the names into the class namespace, so it is
// not possible to have members with the same name as a parameter
//

// First error.
class X <T> {
	int T;
}

class W {
	static void Main () {}
}