[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.

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

--- 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 1.1.16.1
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: rook at roo.k.pl               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Where clause on a generic delegate crashes GMCS
+
+Steps to reproduce the problem:
+1. Compile the attached program
+2. 
+3. 
+
+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) 
+[0x00000]
+  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) 
+[0x00000]
+  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? 
+Always


More information about the mono-bugs mailing list