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/cs0102-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/cs0102-4.cs')
-rw-r--r--mcs/errors/cs0102-4.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/mcs/errors/cs0102-4.cs b/mcs/errors/cs0102-4.cs
new file mode 100644
index 00000000000..6acd2240009
--- /dev/null
+++ b/mcs/errors/cs0102-4.cs
@@ -0,0 +1,12 @@
+// cs0102.cs: The class 'ErrorClass' already contains a definition for 'Blah'
+// Line: 7
+
+using System.Runtime.CompilerServices;
+class ErrorClass {
+ [IndexerName ("Blah")]
+ public int this [int a] {
+ get { return 1; }
+ }
+
+ public int Blah;
+}