diff options
author | Marek Safar <marek.safar@gmail.com> | 2006-04-07 01:57:42 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2006-04-07 01:57:42 +0400 |
commit | c2fd40763e3590cb3897154efd9d75ff78c0455a (patch) | |
tree | 1eedf1dbe91b5a4817528ef5ffecc176bcc94e05 /mcs/errors/cs0596.cs | |
parent | 17407531b6be76fbd65e9dc7268e635a1e2116e1 (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.cs | 7 |
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 |