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-22 17:40:12 +0400
committerMarek Safar <marek.safar@gmail.com>2004-06-22 17:40:12 +0400
commit2b850af228c607574995b4b6d6fae5e1add86b31 (patch)
tree381bd0ce6da7d2e5f62712e9ea1c8f5af2483381 /mcs/errors/cs0415.cs
parent03f9ca4f63744845a94374fa2a0f19f07098a74d (diff)
new tests
svn path=/trunk/mcs/; revision=30114
Diffstat (limited to 'mcs/errors/cs0415.cs')
-rw-r--r--mcs/errors/cs0415.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/mcs/errors/cs0415.cs b/mcs/errors/cs0415.cs
new file mode 100644
index 00000000000..3c478a7ff3d
--- /dev/null
+++ b/mcs/errors/cs0415.cs
@@ -0,0 +1,14 @@
+// cs0415: The 'IndexerName' attribute is valid only on an indexer that is not an explicit interface member declaration
+// Line: 11
+
+using System.Runtime.CompilerServices;
+
+interface A {
+ int this [int a] { set; }
+}
+
+class X : A {
+ [IndexerName("Error")]
+ int A.this [int a] { set {} }
+}
+