[Mono-bugs] [Bug 79987][Nor] Changed - CLS compliance enforcement too picky

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Dec 14 07:48:29 EST 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 pawel.sakowski at mindbreeze.com.


--- shadow/79987	2006-11-21 12:27:42.000000000 -0500
+++ shadow/79987.tmp.14346	2006-12-14 07:48:29.000000000 -0500
@@ -1,12 +1,12 @@
 Bug#: 79987
 Product: Mono: Compilers
 Version: 1.2
 OS: GNU/Linux [Other]
 OS Details: 
-Status: NEW   
+Status: REOPENED   
 Severity: Unknown
 Priority: Normal
 Component: C#
 AssignedTo: marek.safar at seznam.cz                            
 ReportedBy: pawel.sakowski at mindbreeze.com               
@@ -39,6 +39,30 @@
 How often does this happen? 
 Additional Information:
 The only known workaround is to disable CLS checks altogether (/clscheck-).
 csc compiles the same file successfully.
+------- Additional Comments From pawel.sakowski at mindbreeze.com  2006-12-14 07:48 -------
+Now (current SVN trunk) this fails even heavier. Interestingly, in
+context of compiler-tester the error doesn't occur:
+$ pwd
+$ make run-test-local
+test-cls-17.cs...       OK
+$ mono ../gmcs/gmcs.exe test-cls-17.cs
+Unhandled Exception: System.NullReferenceException: Object reference
+not set to an instance of an object
+in <0x000e3> Mono.CSharp.DeclSpace:VerifyClsCompliance ()
+in <0x00013> Mono.CSharp.TypeContainer:VerifyClsCompliance ()
+in <0x0001a> Mono.CSharp.MemberCore:Emit ()
+in <0x00020> Mono.CSharp.ClassOrStruct:Emit ()
+in <0x0024c> Mono.CSharp.TypeContainer:EmitType ()
+in <0x0020e> Mono.CSharp.RootContext:EmitCode ()
+in <0x009d2> Mono.CSharp.Driver:MainDriver (System.String[] args)
+in <0x00051> Mono.CSharp.Driver:Main (System.String[] args)

More information about the mono-bugs mailing list