https://bugzilla.novell.com/show_bug.cgi?id=364670
User [EMAIL PROTECTED] added comment https://bugzilla.novell.com/show_bug.cgi?id=364670#c2 --- Comment #2 from lauren bedoule <[EMAIL PROTECTED]> 2008-02-26 06:14:16 MST --- I didn't manage to reproduce the problem with simpler code. Apparently, as soon as I mark my method with the extern keyword: - mcs provide the invalidCastException when not linking to mscorlib (-nostdlib -noconfig) - mcs is expecting the dllImportAttribute, yet it should only expect one attribute ("A method marked extern should also be marked with an attribute, *for example*, the DllImport attribute.") when linking to mscorlib Please find attached an example of a method marked extern, with an attribute different from dllImportAttribute. This code compiles with csc, and fails with mcs. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs