[Mono-bugs] [Bug 23946] Changed - Convert.ChangeType fails on TypeBuilder-created types

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
1 May 2002 02:25:16 -0000

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 miguel@ximian.com.


--- shadow/23946	Mon Apr 29 15:26:51 2002
+++ shadow/23946.tmp.32024	Tue Apr 30 22:25:16 2002
@@ -10,12 +10,13 @@
 Component: Misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: martin@gnome.org               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
+Cc: duncan@ximian.com,lupus@ximian.com
 Summary: Convert.ChangeType fails on TypeBuilder-created types
 When compiling with --nostdlib, MCS creates all the standard types
 (System.Int32 etc.) using TypeBuilder.
 In Enum.LookupEnumValue, UnderlyingType is the new "System.Int32" type
@@ -72,6 +73,17 @@
 c'.) Call FieldBuilder.SetConstant(default_value).
 However - won't it be easier to use the "real" types for
 TypeBuilder.int_type etc. ?
+------- Additional Comments From miguel@ximian.com  2002-04-30 22:25 -------
+This problem as you report it Martin is indeed very big.  I do not
+think we will be able to work around this problem on Windows.
+What this means is that you wont be able to compile `corlib' with mcs
+using the Microsoft runtime, you will have to use the Mono runtime.
+But I am not sure if our Mono runtime is ready for this.