diff options
author | Marek Safar <marek.safar@gmail.com> | 2004-12-10 19:36:41 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2004-12-10 19:36:41 +0300 |
commit | f3e3fd2c1ef954292bd7e745c333650291f2a057 (patch) | |
tree | df449e476c9906d41d418706bcee0658ef568a45 /mcs/errors/cs0182.cs | |
parent | a6df4b55752b68b1788a72c74535718e8cd4ed89 (diff) | |
parent | 07a11cbd53f0122779b5e1a66ab179d018074780 (diff) |
renamed to be consistent
svn path=/trunk/mcs/; revision=37574
Diffstat (limited to 'mcs/errors/cs0182.cs')
-rw-r--r-- | mcs/errors/cs0182.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/mcs/errors/cs0182.cs b/mcs/errors/cs0182.cs new file mode 100644 index 00000000000..0fbb80f7cfc --- /dev/null +++ b/mcs/errors/cs0182.cs @@ -0,0 +1,20 @@ +// CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression +// Line: 14 +using System; +using System.Reflection; + +[AttributeUsage (AttributeTargets.All)] +public class MineAttribute : Attribute { + public MineAttribute (object t) + { + } +} + + +[Mine(new Type [2,2])] +public class Foo { + public static int Main () + { + return 0; + } +} |