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:
authorMiguel de Icaza <miguel@gnome.org>2001-10-05 00:34:02 +0400
committerMiguel de Icaza <miguel@gnome.org>2001-10-05 00:34:02 +0400
commit4c65105bccdf4eda0f18376479c27f8371863b65 (patch)
treeb9cc475e686ec53ff7b98f4b183bf891fd7fc078 /mcs/errors/cs0108.cs
parent212c24b4f0ae208ebc8451226888719bf940fe8e (diff)
Add more errors, and fix some error tests
svn path=/trunk/mcs/; revision=1077
Diffstat (limited to 'mcs/errors/cs0108.cs')
-rwxr-xr-xmcs/errors/cs0108.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/mcs/errors/cs0108.cs b/mcs/errors/cs0108.cs
new file mode 100755
index 00000000000..a516acc7d38
--- /dev/null
+++ b/mcs/errors/cs0108.cs
@@ -0,0 +1,10 @@
+// cs0108.cs: The new keyword is required on MEMBER because it hides MEMBER2
+// Line:
+
+class Base {
+ public void F () {}
+}
+
+class Derived : Base {
+ void F () {}
+}