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-04-10 22:58:44 +0400
committerMiguel de Icaza <miguel@gnome.org>2004-04-10 22:58:44 +0400
commit1abd7ec48eb7615461a846a3e5fe115d3a9dcb64 (patch)
tree1ffe297505f0207edb27636f8738a57fc44dbbea /mcs/errors/cs0633-2.cs
parent36af0739b6a3d9465b06160125d7c917125b7eaa (diff)
errors
svn path=/trunk/mcs/; revision=25308
Diffstat (limited to 'mcs/errors/cs0633-2.cs')
-rw-r--r--mcs/errors/cs0633-2.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/mcs/errors/cs0633-2.cs b/mcs/errors/cs0633-2.cs
new file mode 100644
index 00000000000..5d9664ab525
--- /dev/null
+++ b/mcs/errors/cs0633-2.cs
@@ -0,0 +1,15 @@
+public class MonthDays {
+ [System.Runtime.CompilerServices.IndexerName ("")]
+ public int this [int a] {
+ get {
+ return 0;
+ }
+ }
+
+ public static void Main ()
+ {
+ int i = new MonthDays () [1];
+ }
+}
+
+