[Mono-bugs] [Bug 59894][Wis] New - TypeBuilder implementation does not match MS.NET

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 9 Jun 2004 15:22:09 -0400 (EDT)


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 gert.driesen@pandora.be.

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

--- shadow/59894	2004-06-09 15:22:09.000000000 -0400
+++ shadow/59894.tmp.4425	2004-06-09 15:22:09.000000000 -0400
@@ -0,0 +1,34 @@
+Bug#: 59894
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: gert.driesen@pandora.be               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: TypeBuilder implementation does not match MS.NET
+
+The Mono (System.Reflection.Emit) TypeBuilder does not match the 
+implementation of MS.NET as it allow access to defined 
+events/methods/properties before the type is actually created/completed.
+
+A lot of code that should only have to be implemented in System.Type, is 
+actually duplicated in TypeBuilder to allow access to incompleted members 
+of a type.
+
+I've attached a patch that will change TypeBuilder to match the MS 
+implementation.
+
+Ofcourse, this patch will need to be thoroughly tested before its 
+committed to cvs.
+
+I'll commit additional unit tests for TypeBuilder to cvs 
+(MonoTests.Reflection.Emit.TypeBuilder)