Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2004-12-10 19:36:41 +0300
committerMarek Safar <marek.safar@gmail.com>2004-12-10 19:36:41 +0300
commitf3e3fd2c1ef954292bd7e745c333650291f2a057 (patch)
treedf449e476c9906d41d418706bcee0658ef568a45 /mcs/errors/cs0182.cs
parenta6df4b55752b68b1788a72c74535718e8cd4ed89 (diff)
parent07a11cbd53f0122779b5e1a66ab179d018074780 (diff)
renamed to be consistent
svn path=/trunk/mcs/; revision=37574
Diffstat (limited to 'mcs/errors/cs0182.cs')
-rw-r--r--mcs/errors/cs0182.cs20
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;
+ }
+}