diff options
author | Ravi Pratap M <ravi@mono-cvs.ximian.com> | 2003-07-25 21:10:36 +0400 |
---|---|---|
committer | Ravi Pratap M <ravi@mono-cvs.ximian.com> | 2003-07-25 21:10:36 +0400 |
commit | 144012324e2e7bcc13e68f9b052cc584433490dd (patch) | |
tree | b09efc8130f2c7b5c6462da25aec85686fd093a3 /mcs/errors/cs0592-3.cs | |
parent | 5ac6359d0e97438b47202b35b7430f362ac33f5e (diff) |
Add this error test case
svn path=/trunk/mcs/; revision=16675
Diffstat (limited to 'mcs/errors/cs0592-3.cs')
-rw-r--r-- | mcs/errors/cs0592-3.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mcs/errors/cs0592-3.cs b/mcs/errors/cs0592-3.cs new file mode 100644 index 00000000000..39839343e85 --- /dev/null +++ b/mcs/errors/cs0592-3.cs @@ -0,0 +1,9 @@ +// cs0592 : Attribute 'IndexerName' is not valid on this declaration type. It is valid on 'property' declarations only. +// Line : 6 + +using System.Runtime.CompilerServices; + +[IndexerName("XXX")] +class A +{ +} |