[Mono-bugs] [Bug 81640][Nor] New - TypeBuilder.GetField(s) should return MonoField instances

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed May 16 13:43:23 EDT 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 gert.driesen at pandora.be.


--- shadow/81640	2007-05-16 13:43:23.000000000 -0400
+++ shadow/81640.tmp.4181	2007-05-16 13:43:23.000000000 -0400
@@ -0,0 +1,28 @@
+Bug#: 81640
+Product: Mono: Class Libraries
+Version: 1.2
+OS: All
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: gert.driesen at pandora.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: TypeBuilder.GetField(s) should return MonoField instances
+Currenty, when a TypeBuilder has been "baked" TypeBuilder.GetField(s) 
+returns FieldBuilder instances while on MS RuntimeFieldInfo instances are 
+returned (similar to our MonoField class).
+Due to the fact that TypeBuilder.GetField(s) returns FieldBuilder 
+instances we've already had to introduce a hack in FieldBuilder (see bug 
+#81638) which causes a regression (see test TestSetValueComplete in 
+FieldBuilderTest, which is now failing).
+Would it be ok to change this behaviour ? Does (g)mcs rely on this ?

More information about the mono-bugs mailing list