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>2006-04-07 01:57:42 +0400
committerMarek Safar <marek.safar@gmail.com>2006-04-07 01:57:42 +0400
commitc2fd40763e3590cb3897154efd9d75ff78c0455a (patch)
tree1eedf1dbe91b5a4817528ef5ffecc176bcc94e05 /mcs/errors/cs0596.cs
parent17407531b6be76fbd65e9dc7268e635a1e2116e1 (diff)
2006-04-06 Marek Safar <marek.safar@seznam.cz>
* class.cs (Class.ApplyAttributeBuilder): Report an error when ComImport attribute is present and Guid not. (Interface.ApplyAttributeBuilder): Ditto. * attribute.cs: Add error message. svn path=/trunk/mcs/; revision=59146
Diffstat (limited to 'mcs/errors/cs0596.cs')
-rw-r--r--mcs/errors/cs0596.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/mcs/errors/cs0596.cs b/mcs/errors/cs0596.cs
new file mode 100644
index 00000000000..edbaed9e38e
--- /dev/null
+++ b/mcs/errors/cs0596.cs
@@ -0,0 +1,7 @@
+// cs0596.cs: The Guid attribute must be specified with the ComImport attribute
+// Line: 4
+
+[System.Runtime.InteropServices.ComImportAttribute]
+class C
+{
+} \ No newline at end of file