[Mono-bugs] [Bug 69753][Nor] New - remoting depends on broken Type.UnderlyingSystemType

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 20 Nov 2004 14:39:04 -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=69753

--- shadow/69753	2004-11-20 14:39:04.000000000 -0500
+++ shadow/69753.tmp.14815	2004-11-20 14:39:04.000000000 -0500
@@ -0,0 +1,23 @@
+Bug#: 69753
+Product: Mono: Class Libraries
+Version: 1.0
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: System
+AssignedTo: lluis@ximian.com                            
+ReportedBy: vargaz@gmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: remoting depends on broken Type.UnderlyingSystemType
+
+Currently, Type.UnderlyingSystemType returns an enum's basetype when called
+on the enum. This differs from MS.NET, which returns the type itself. 
+The code in System.Runtime.Serialization.Formatters.Binary.CodeGenerator
+depends on this. Instead, it should call Type.GetTypeCode () as 
+used in TypeManager.EnumToUnderlying in mcs/typemanager.cs.