diff options
author | Marek Safar <marek.safar@gmail.com> | 2004-06-16 23:40:49 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2004-06-16 23:40:49 +0400 |
commit | edfced107cedaf2227fd886a7498614b1e075b00 (patch) | |
tree | d1c2f9829ee72102da6cc11e14c8e0bae34eb481 /mcs/errors/cs0109-7.cs | |
parent | 15a3a676e015ce7b62f8613fe21f7bd8e67cbe4f (diff) |
new test
svn path=/trunk/mcs/; revision=29709
Diffstat (limited to 'mcs/errors/cs0109-7.cs')
-rw-r--r-- | mcs/errors/cs0109-7.cs | 15 |
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 + { + } + } +} |