[Mono-bugs] [Bug 23021] Changed - Enum.ToObject() does not accept enum values

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
4 Apr 2002 10:33:47 -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 dihlewis@yahoo.co.uk.

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

--- shadow/23021	Thu Apr  4 04:32:22 2002
+++ shadow/23021.tmp.19282	Thu Apr  4 05:33:47 2002
@@ -1,14 +1,14 @@
 Bug#: 23021
 Product: Mono/Runtime
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: 
-Status: NEW   
-Resolution: 
-Severity: 
+Status: RESOLVED   
+Resolution: FIXED
+Severity: Unknown
 Priority: Normal
 Component: misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: dihlewis@yahoo.co.uk               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -35,6 +35,10 @@
 >byval_arg.type >= MONO_TYPE_I1 && obj->vtable->klass->byval_arg.type <= 
 MONO_TYPE_U8' failed.
 #0: 0x00000            in System.Enum::ToObject ([00BB2B90] [00BB2B30] )
 #1: 0x00010 call       in .Test::Main ()
 
 While the MS runtime accepts both boxed integrals and boxed enums.
+
+------- Additional Comments From dihlewis@yahoo.co.uk  2002-04-04 05:33 -------
+Loosened the restrictions on the argument checker to accept enum 
+objects.