diff options
author | Miguel de Icaza <miguel@gnome.org> | 2004-03-15 20:24:40 +0300 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2004-03-15 20:24:40 +0300 |
commit | 3d7013b565f25596b0f99306eceb1183738e57d9 (patch) | |
tree | 0f7009650866e44efc65502ff0788a84dfc7fba6 /mcs/errors/cs0535-2.cs | |
parent | 9c941e2bd716b2dc00461767f8b310bf8f98dbe6 (diff) |
Added new error
svn path=/trunk/mcs/; revision=24049
Diffstat (limited to 'mcs/errors/cs0535-2.cs')
-rw-r--r-- | mcs/errors/cs0535-2.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/mcs/errors/cs0535-2.cs b/mcs/errors/cs0535-2.cs new file mode 100644 index 00000000000..df2ee78ed84 --- /dev/null +++ b/mcs/errors/cs0535-2.cs @@ -0,0 +1,17 @@ + +using System; + +public interface IStack { + void Insert (int index, object value); + object this [int index] { set; } +} + +public class Stack : IStack { + object IStack.this [int index] { + set {} + } +} + +public class D { + static void Main () {} +} |