Bugzilla – Bug 313174
MCS accepts non-cls compliant parameter type in cls compliant method
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by lluis@ximian.com 2003-11-19 13:55:18 MST ---- MCS accepts non-cls compliant parameter type in cls compliant method Steps to reproduce the problem: Compile this: using System; [assembly:CLSCompliant(true)] class Test { public void DoIt (Data d) {} } [CLSCompliant(false)] class Data { } Actual Results: Compilation succeeded Expected Results: error CS3001: Argument type 'Data' is not CLS-compliant ---- Additional Comments From bmaurer@users.sf.net 2003-11-19 14:12:02 MST ---- *** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO30285 *** Unknown operating system unknown. Setting to default OS "Other". This bug was marked DUPLICATE in the database it was moved from. Changing resolution to "MOVED"