[Mono-bugs] [Bug 70838][Nor] Changed - System.Type IsAssignableFrom crashes when assembly is builded for Save

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 10 Jan 2005 09:05:28 -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 vargaz@gmail.com.

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

--- shadow/70838	2005-01-10 07:12:35.000000000 -0500
+++ shadow/70838.tmp.26746	2005-01-10 09:05:28.000000000 -0500
@@ -96,6 +96,13 @@
 Could you define what does "touching types" mean?   
 Isn't this bug a problem also for mcs (as it occurs with both Save 
 and RunAndSave states)? 
  
 Is using IsAssignableFrom an extra performance penatly and should be 
 avoided? 
+
+------- Additional Comments From vargaz@gmail.com  2005-01-10 09:05 -------
+When Save is used, the runtime avoids initializing some fields of the
+created types, when that initialization would take a lot of time or
+memory. This can cause problems if the types returned by CreateType
+are 'used', i.e. some methods may not work, like IsAssignableFrom.
+