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-09-03 20:22:19 +0400
committerMarek Safar <marek.safar@gmail.com>2004-09-03 20:22:19 +0400
commitf11772adb6596f40438d4deec8494edcb17a4cc0 (patch)
tree0b70eb7460b747538b972224920cac5b9863bd63 /mcs/errors/cs0111-14.cs
parent2ccb3ff17823569f4cd1e009adfd5ca4647c7548 (diff)
2004-09-03 Marek Safar <marek.safar@seznam.cz>
* 8 new error tests. svn path=/trunk/mcs/; revision=33290
Diffstat (limited to 'mcs/errors/cs0111-14.cs')
-rw-r--r--mcs/errors/cs0111-14.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/mcs/errors/cs0111-14.cs b/mcs/errors/cs0111-14.cs
new file mode 100644
index 00000000000..7852049b886
--- /dev/null
+++ b/mcs/errors/cs0111-14.cs
@@ -0,0 +1,10 @@
+// cs111.cs : Class 'Test' already defines a member called 'set_Item' with the same parameter types
+// Line : 6
+
+public class Test
+{
+ public string this [int i] {
+ get { return ""; }
+ }
+ public void set_Item (int i, string s) { }
+}