diff options
author | Marek Safar <marek.safar@gmail.com> | 2004-05-18 11:56:35 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2004-05-18 11:56:35 +0400 |
commit | f64e0c0b44a8fb634acf04a3886713a31f3f1b5c (patch) | |
tree | e4fd93e8a7ad0f7fa958953787085410f365205b /mcs/errors/cs0592-8.cs | |
parent | a7f134a1a9e5452f7a860448d15b7ccdb7da885c (diff) |
2004-05-18 Marek Safar <marek.safar@seznam.cz>
* cs0592-8.cs,
* cs0657-{2-17}.cs,
* cs1518-3.cs: 18 new error tests.
svn path=/trunk/mcs/; revision=27570
Diffstat (limited to 'mcs/errors/cs0592-8.cs')
-rw-r--r-- | mcs/errors/cs0592-8.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mcs/errors/cs0592-8.cs b/mcs/errors/cs0592-8.cs new file mode 100644 index 00000000000..8f2689360aa --- /dev/null +++ b/mcs/errors/cs0592-8.cs @@ -0,0 +1,12 @@ +// cs0657.cs : Attribute 'Obsolete' is not valid on this declaration type. It is valid on 'class, struct, enum, constructor, method, property, field, event, interface, delegate' declarations only. +// Line : 8 + +using System; + +public class C +{ + [return: Obsolete] + public void Test (int a) + { + } +} |