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

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2004-10-24 01:47:14 +0400
committerMarek Safar <marek.safar@gmail.com>2004-10-24 01:47:14 +0400
commitd99c94ed0b5764572c808927ecb10a3afdbdb575 (patch)
tree0ce87da7f48443598b5d7e2917e4aadae0c6693c /mcs/errors/gcs0102.cs
parent904ceaa340780388df040d24ed331a819a2cd9fd (diff)
2004-10-24 Marek Safar <marek.safar@seznam.cz>
* cs82??.cs: Renumber some 82xx errors. svn path=/trunk/mcs/; revision=35284
Diffstat (limited to 'mcs/errors/gcs0102.cs')
-rw-r--r--mcs/errors/gcs0102.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/mcs/errors/gcs0102.cs b/mcs/errors/gcs0102.cs
new file mode 100644
index 00000000000..1df3a6667a8
--- /dev/null
+++ b/mcs/errors/gcs0102.cs
@@ -0,0 +1,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 () {}
+}