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-06-16 23:40:49 +0400
committerMarek Safar <marek.safar@gmail.com>2004-06-16 23:40:49 +0400
commitedfced107cedaf2227fd886a7498614b1e075b00 (patch)
treed1c2f9829ee72102da6cc11e14c8e0bae34eb481 /mcs/errors/cs0109-7.cs
parent15a3a676e015ce7b62f8613fe21f7bd8e67cbe4f (diff)
new test
svn path=/trunk/mcs/; revision=29709
Diffstat (limited to 'mcs/errors/cs0109-7.cs')
-rw-r--r--mcs/errors/cs0109-7.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/mcs/errors/cs0109-7.cs b/mcs/errors/cs0109-7.cs
new file mode 100644
index 00000000000..9a51dda09bb
--- /dev/null
+++ b/mcs/errors/cs0109-7.cs
@@ -0,0 +1,15 @@
+// cs0109.cs: The member 'Test.this[int]' does not hide an inherited member. The new keyword is not required
+// Line: 9
+// Compiler options: -warnaserror -warn:4
+
+using System.Collections;
+
+public class Test: ArrayList
+{
+ public new string this[string index]
+ {
+ set
+ {
+ }
+ }
+}