diff options
author | Marek Safar <marek.safar@gmail.com> | 2004-06-22 17:40:12 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2004-06-22 17:40:12 +0400 |
commit | 2b850af228c607574995b4b6d6fae5e1add86b31 (patch) | |
tree | 381bd0ce6da7d2e5f62712e9ea1c8f5af2483381 /mcs/errors/cs1501-6.cs | |
parent | 03f9ca4f63744845a94374fa2a0f19f07098a74d (diff) |
new tests
svn path=/trunk/mcs/; revision=30114
Diffstat (limited to 'mcs/errors/cs1501-6.cs')
-rw-r--r-- | mcs/errors/cs1501-6.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mcs/errors/cs1501-6.cs b/mcs/errors/cs1501-6.cs new file mode 100644 index 00000000000..3ebda954015 --- /dev/null +++ b/mcs/errors/cs1501-6.cs @@ -0,0 +1,13 @@ +// cs1501.cs: No overload for method 'IndexerNameAttribute' takes '4' arguments +// Line: 5 + +class MainClass { + [System.Runtime.CompilerServices.IndexerName("A", "", "", "")] + int this [int index] { + get { + return 0; + } + } + +} + |