[Mono-bugs] [Bug 79094][Maj] New - Where clause on a generic delegate crashes GMCS

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Aug 17 13:41:13 EDT 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 rook at roo.k.pl.


--- shadow/79094	2006-08-17 13:41:13.000000000 -0400
+++ shadow/79094.tmp.30245	2006-08-17 13:41:13.000000000 -0400
@@ -0,0 +1,57 @@
+Bug#: 79094
+Product: Mono: Compilers
+Version: unspecified
+OS: GNU/Linux [Other]
+OS Details: FC4 GMCS
+Status: NEW   
+Priority: Major
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: rook at roo.k.pl               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: Where clause on a generic delegate crashes GMCS
+Steps to reproduce the problem:
+1. Compile the attached program
+Actual Results:
+Unhandled Exception: System.ArgumentNullException: null key
+Parameter name: key
+  at System.Collections.Hashtable.get_Item (System.Object key) [0x00000]
+  at Mono.CSharp.AttributeTester.GetObsoleteAttribute (System.Type type) 
+  at Mono.CSharp.Expression.ResolveAsTypeTerminal (IResolveContext ec, 
+Boolean silent) [0x00000]
+  at Mono.CSharp.TypeArguments.Resolve (IResolveContext ec) [0x00000]
+  at Mono.CSharp.ConstructedType.DoResolveType (IResolveContext ec) 
+  at Mono.CSharp.ConstructedType.ResolveConstructedType (IResolveContext 
+ec) [0x00000]
+  at Mono.CSharp.ConstructedType.DoResolveAsTypeStep (IResolveContext 
+ec) [0x00000]
+  at Mono.CSharp.TypeExpr.ResolveAsTypeStep (IResolveContext ec, Boolean 
+silent) [0x00000]
+  at Mono.CSharp.SimpleName.ResolveAsTypeStep (IResolveContext ec, 
+Boolean silent) [0x00000]
+  at Mono.CSharp.Constraints.Resolve (IResolveContext ec) [0x00000]
+  at Mono.CSharp.TypeParameter.Resolve (Mono.CSharp.DeclSpace ds) [0x00000]
+  at Mono.CSharp.Delegate.DefineType () [0x00000]
+  at Mono.CSharp.TypeContainer.DefineNestedTypes () [0x00000]
+  at Mono.CSharp.TypeContainer.DefineType () [0x00000]
+  at Mono.CSharp.Class.DefineType () [0x00000]
+  at Mono.CSharp.RootContext.ResolveTree () [0x00000]
+  at Mono.CSharp.Driver.MainDriver (System.String[] args) [0x00000]
+  at Mono.CSharp.Driver.Main (System.String[] args) [0x00000]
+Expected Results:
+Compilation Successful :)
+How often does this happen? 

More information about the mono-bugs mailing list