[Mono-bugs] [Bug 52553][Nor] New - subclass Foo : Class2.Ibar leads to MCS exception

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 25 Dec 2003 01:10:12 -0500 (EST)

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 sebastian@nowozin.de.


--- shadow/52553	2003-12-25 01:10:12.000000000 -0500
+++ shadow/52553.tmp.29737	2003-12-25 01:10:12.000000000 -0500
@@ -0,0 +1,53 @@
+Bug#: 52553
+Product: Mono/Compilers
+Version: unspecified
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: sebastian@nowozin.de               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: subclass Foo : Class2.Ibar leads to MCS exception
+Description of Problem:
+Upon compiling the attached example program MCS exits with an internal
+unhandled NullReferenceException in Mono.CSharp.Interface:DefineType ().
+Steps to reproduce the problem:
+1. Unpack the attached example program
+2. run ./build.sh
+Actual Results:
+Unhandled Exception: System.NullReferenceException: A null value was found
+where an object instance was required
+in <0x0020c> Mono.CSharp.Interface:DefineType ()
+in <0x001ec> Mono.CSharp.DeclSpace:LookupInterfaceOrClass (string,string,bool&)
+in <0x00140> Mono.CSharp.DeclSpace:FindType (Mono.CSharp.Location,string)
+(complete calltree)
+Expected Results:
+Either successful compilation (I expect the program to be valid), or a
+meaningful bug message.
+How often does this happen? 
+Additional Information:
+Mono C# compiler version 0.28.42650.0, manually build on an up-to-date