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-05-18 11:56:35 +0400
committerMarek Safar <marek.safar@gmail.com>2004-05-18 11:56:35 +0400
commitf64e0c0b44a8fb634acf04a3886713a31f3f1b5c (patch)
treee4fd93e8a7ad0f7fa958953787085410f365205b /mcs/errors/cs0657-8.cs
parenta7f134a1a9e5452f7a860448d15b7ccdb7da885c (diff)
2004-05-18 Marek Safar <marek.safar@seznam.cz>
* cs0592-8.cs, * cs0657-{2-17}.cs, * cs1518-3.cs: 18 new error tests. svn path=/trunk/mcs/; revision=27570
Diffstat (limited to 'mcs/errors/cs0657-8.cs')
-rw-r--r--mcs/errors/cs0657-8.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/mcs/errors/cs0657-8.cs b/mcs/errors/cs0657-8.cs
new file mode 100644
index 00000000000..c56ff11cb0d
--- /dev/null
+++ b/mcs/errors/cs0657-8.cs
@@ -0,0 +1,9 @@
+// cs0657.cs : 'param' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are 'method, return'
+// Line : 4
+
+struct S
+{
+
+ [param: Obsolete]
+ void method () {}
+} \ No newline at end of file