diff options
author | Miguel de Icaza <miguel@gnome.org> | 2004-01-07 19:35:35 +0300 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2004-01-07 19:35:35 +0300 |
commit | c6c9ec52224063c294e2a5b48825baf8ba7d86f0 (patch) | |
tree | 1ffbde8bd2744412feebc668b6e9372073a04349 /mcs/errors/cs0592-5.cs | |
parent | a57fcfad058aa0b811719b969230e86f2d0f18d6 (diff) |
Applied Patch from Marek Safar
svn path=/trunk/mcs/; revision=21822
Diffstat (limited to 'mcs/errors/cs0592-5.cs')
-rw-r--r-- | mcs/errors/cs0592-5.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mcs/errors/cs0592-5.cs b/mcs/errors/cs0592-5.cs new file mode 100644 index 00000000000..010193eb306 --- /dev/null +++ b/mcs/errors/cs0592-5.cs @@ -0,0 +1,12 @@ +// cs0592-5.cs: Attribute 'TestAttribute' is not valid on this declaration type. It is valid on 'constructor' declarations only. +// Line: 6 + +using System; + +[TestAttribute ()] +enum E { +} + +[AttributeUsage(AttributeTargets.Constructor)] +public class TestAttribute: Attribute { +}
\ No newline at end of file |