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:
-rw-r--r--mcs/errors/cs8214.cs7
-rwxr-xr-xmcs/errors/errors.txt4
2 files changed, 10 insertions, 1 deletions
diff --git a/mcs/errors/cs8214.cs b/mcs/errors/cs8214.cs
new file mode 100644
index 00000000000..6259130aafb
--- /dev/null
+++ b/mcs/errors/cs8214.cs
@@ -0,0 +1,7 @@
+
+using System;
+
+class X<T> : Attribute {
+}
+
+class D { static void Main () {}}
diff --git a/mcs/errors/errors.txt b/mcs/errors/errors.txt
index 78559f2e672..652496fb003 100755
--- a/mcs/errors/errors.txt
+++ b/mcs/errors/errors.txt
@@ -112,4 +112,6 @@ the Microsoft C# compiler:
-212 An Array creation expression is present, but the array is not
initialized.
--213 This feature requires v2 support. \ No newline at end of file
+-213 This feature requires v2 support.
+
+-214 Generic class can not have attribute as its parent class \ No newline at end of file