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/cs0117-4.cs | |
parent | 03f9ca4f63744845a94374fa2a0f19f07098a74d (diff) |
new tests
svn path=/trunk/mcs/; revision=30114
Diffstat (limited to 'mcs/errors/cs0117-4.cs')
-rw-r--r-- | mcs/errors/cs0117-4.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mcs/errors/cs0117-4.cs b/mcs/errors/cs0117-4.cs new file mode 100644 index 00000000000..6edc55acc16 --- /dev/null +++ b/mcs/errors/cs0117-4.cs @@ -0,0 +1,14 @@ +// cs0117: 'System.Runtime.CompilerServices.IndexerNameAttribute' does not contain a definition for 'errorarg' +// Line: + +using System.Runtime.CompilerServices; + +public class E +{ + [IndexerName("xxx", errorarg = "")] + public int this[int index] { + get { + return 0; + } + } +} |