[Mono-bugs] [Bug 58478][Nor] New - CS3008: CLSCompliant check is probably insufficient

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 14 May 2004 00:57:32 -0400 (EDT)


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@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=58478

--- shadow/58478	2004-05-14 00:57:32.000000000 -0400
+++ shadow/58478.tmp.1109	2004-05-14 00:57:32.000000000 -0400
@@ -0,0 +1,34 @@
+Bug#: 58478
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: WindowsXP
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: atsushi@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: CS3008: CLSCompliant check is probably insufficient
+
+mcs looks to have different (maybe insufficient) CLSCompliant check than csc.
+
+csc cannot build mscorlib if you comment out CLSCompliant attribute line,
+but mcs still builds without error.
+
+Expected result:
+csc.exe /nowarn:649 /nowarn:169 -d:INSIDE_CORLIB /nologo /optimize
+-d:NET_1_1 -d
+:ONLY_1_1 /debug+ /debug:full /noconfig /unsafe /nostdlib /target:library
+/out:.
+./lib/default/mscorlib.dll @../../build/deps/default_corlib.dll.response
+System\__ComObject.cs(13,15): error CS3008: Identifier 'System.__ComObject'
+is not CLS-compliant
+
+Actual result:
+no error.