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-02-03 12:03:56 +0300
committerMarek Safar <marek.safar@gmail.com>2004-02-03 12:03:56 +0300
commit57f35c238b6f225f5f1ce211d4a8c3eb09406d54 (patch)
tree6250cd1b5efb86f5ea099c154f49ce924212bba5 /mcs/errors/cs0111-4.cs
parenta4d7dd056acb6c548b960754a9abffc4165a49ac (diff)
2004-02-03 Marek Safar <marek.safar@seznam.cz>
* cs0102-{2,3,4,5}.cs, cs0111-{3,4}.cs, cs0547-2.cs: New error tests. svn path=/trunk/mcs/; revision=22732
Diffstat (limited to 'mcs/errors/cs0111-4.cs')
-rw-r--r--mcs/errors/cs0111-4.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/mcs/errors/cs0111-4.cs b/mcs/errors/cs0111-4.cs
new file mode 100644
index 00000000000..73d76b980f3
--- /dev/null
+++ b/mcs/errors/cs0111-4.cs
@@ -0,0 +1,16 @@
+// cs0111.cs: Class 'ErrorClass' already defines a member called 'get_Blah' with the same parameter types
+// Line: 8
+
+using System.Runtime.CompilerServices;
+class ErrorClass {
+ [IndexerName ("Blah")]
+ public int this [int a] {
+ get { return 1; }
+ }
+
+ public void get_Blah (int b) {}
+
+ public static void Main ()
+ {
+ }
+}