[Mono-bugs] [Bug 78252][Min] Changed - [PATCH] make CS3014 warning (CLSCompliant(true) in non-CLSCompliant assembly)

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue May 2 13:14:30 EDT 2006

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by atsushi at ximian.com.


--- shadow/78252	2006-05-02 12:30:36.000000000 -0400
+++ shadow/78252.tmp.6948	2006-05-02 13:14:30.000000000 -0400
@@ -55,6 +55,14 @@
 I know that Miguel already turned one of the errors to warning but I
 would like to keep the code consistent.
 ------- Additional Comments From marek.safar at seznam.cz  2006-05-02 12:30 -------
 I'm CCing Miguel as he can decide.
+------- Additional Comments From atsushi at ximian.com  2006-05-02 13:14 -------
+The merit of this change is that you can easily turn CLS compliance
+off just by commenting assembly:CLSCompliant out. Otherwise you have
+to search all CLSCompliant attributes and comment them out. And when
+you want to turn it on, there is no assured way to do it, especially
+considering that some CLSCompliant attributes might be originally
+commented out.

More information about the mono-bugs mailing list