diff options
author | Marek Safar <marek.safar@gmail.com> | 2004-06-24 17:14:20 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2004-06-24 17:14:20 +0400 |
commit | df7da472156b6e9a9cf2249ab8c064ff0d6a70be (patch) | |
tree | c6db69266bfcae3f95b845365724739197226a33 /mcs/errors/cs0592-9.cs | |
parent | 79b13a3e46f0f4a9f1a74a89a76e66b865a0d312 (diff) |
new test
svn path=/trunk/mcs/; revision=30299
Diffstat (limited to 'mcs/errors/cs0592-9.cs')
-rw-r--r-- | mcs/errors/cs0592-9.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mcs/errors/cs0592-9.cs b/mcs/errors/cs0592-9.cs new file mode 100644 index 00000000000..c5838ea44ea --- /dev/null +++ b/mcs/errors/cs0592-9.cs @@ -0,0 +1,16 @@ +// cs0657.cs : Attribute 'S' is not valid on this declaration type. It is valid on 'return' declarations only. +// Line : 12 + +using System; + +[AttributeUsage (AttributeTargets.ReturnValue)] +class SAttribute: Attribute {} + +public class C +{ + int Prop { + [param: S] + set { + } + } +} |