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>2004-03-15 20:24:40 +0300
committerMiguel de Icaza <miguel@gnome.org>2004-03-15 20:24:40 +0300
commit3d7013b565f25596b0f99306eceb1183738e57d9 (patch)
tree0f7009650866e44efc65502ff0788a84dfc7fba6 /mcs/errors/cs0535-2.cs
parent9c941e2bd716b2dc00461767f8b310bf8f98dbe6 (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.cs17
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 () {}
+}