[Mono-bugs] [Bug 71324][Wis] New - Cannot use BindGenericParameters on TypeBuilder

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 15 Jan 2005 15:39:32 -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 nazgul@omega.pl.

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

--- shadow/71324	2005-01-15 15:39:32.000000000 -0500
+++ shadow/71324.tmp.3533	2005-01-15 15:39:32.000000000 -0500
@@ -0,0 +1,45 @@
+Bug#: 71324
+Product: Mono: Class Libraries
+Version: 1.0
+OS: 
+OS Details: Mandrake Linux 10.1, mono from svn HEAD
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: nazgul@omega.pl               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Cannot use BindGenericParameters on TypeBuilder
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+Generic type builded using S.R.E.TypeBuilder throws NullReferenceException
+when BindGenericParameters is called for it.
+
+
+Steps to reproduce the problem:
+1. Compile the attached program
+2. Run it
+
+Actual Results:
+Unhandled Exception: System.NullReferenceException: Object reference not
+set to an instance of an object
+in <0xc7c1a672> (wrapper managed-to-native)
+System.Type:BindGenericParameters (System.Type,System.Type[])
+in <0x00004> (wrapper managed-to-native) System.Type:BindGenericParameters
+(System.Type,System.Type[])
+in <0x0005c> System.Type:BindGenericParameters (System.Type[])
+in <0x00269> ConsoleApplication1.Program:Main (string[])
+
+
+Expected Results:
+clear run
+
+How often does this happen? 
+Always.