[Mono-bugs] [Bug 80646][Nor] New - gmcs crashes on a partial generic class with nested types

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Jan 27 19:15:37 EST 2007

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 lsd3625 at yahoo.com.


--- shadow/80646	2007-01-27 19:15:37.000000000 -0500
+++ shadow/80646.tmp.17259	2007-01-27 19:15:37.000000000 -0500
@@ -0,0 +1,33 @@
+Bug#: 80646
+Product: Mono: Compilers
+Version: 1.1
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: lsd3625 at yahoo.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: gmcs crashes on a partial generic class with nested types
+gmcs is unable to compile a partial generic class that contains a nested
+type. See attachment for a simple test case.
+Unhandled Exception: System.InvalidOperationException: Operation is not
+valid due to the current state of the object
+  at System.Type.GetGenericTypeDefinition () [0x00000] 
+  at System.Reflection.Emit.TypeBuilder.GetGenericTypeDefinition () [0x00000] 
+  at Mono.CSharp.ConstructedType..ctor (System.Type t,
+Mono.CSharp.TypeParameter[] type_params, Location l) [0x00000] 
+  at Mono.CSharp.TypeContainer.ResolveType () [0x00000] 
+  at Mono.CSharp.RootContext.PopulateTypes () [0x00000] 
+  at Mono.CSharp.Driver.MainDriver (System.String[] args) [0x00000] 
+  at Mono.CSharp.Driver.Main (System.String[] args) [0x00000]

More information about the mono-bugs mailing list