diff options
author | Marek Safar <marek.safar@gmail.com> | 2005-02-28 17:14:39 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2005-02-28 17:14:39 +0300 |
commit | 481358f23ae33b84c1adcefcc088c0f826432651 (patch) | |
tree | 9914f7b53943eaa33ffd3c2b9b2aaef0689a4966 /mcs/errors/cs1671.cs | |
parent | 634014febd63e972843d8e63ed0f8aea4017732e (diff) | |
parent | 3e17f2435fc480dd1f0e96901f9638f4ecf7e888 (diff) |
more tests + updated fixed
svn path=/trunk/mcs/; revision=41283
Diffstat (limited to 'mcs/errors/cs1671.cs')
-rw-r--r-- | mcs/errors/cs1671.cs | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/mcs/errors/cs1671.cs b/mcs/errors/cs1671.cs new file mode 100644 index 00000000000..22cc74843cd --- /dev/null +++ b/mcs/errors/cs1671.cs @@ -0,0 +1,34 @@ +// cs1518-2.cs : Attributes cannot be applied to namespaces. +// Line: 5 +using System; + +[error_1518(11)] +namespace Mono.Tests +{ + [AttributeUsage(AttributeTargets.All)] + public class error_1518Attribute : Attribute + { + private int x; + + public error_1518Attribute(int x) + { + this.x = x; + } + + public int X + { + get + { + return x; + } + } + } + + [error_1518(10)] + public class error_1518Class + { + public error_1518Class() + { + } + } +}
\ No newline at end of file |