[prev in list] [next in list] [prev in thread] [next in thread]
List: mono-patches
Subject: [Mono-patches] r36857 - trunk/mcs/class/corlib/System
From: "Zoltan Varga (vargaz AT freemail.hu)" <zoltan () mono-cvs ! ximian ! com>
Date: 2004-11-30 20:42:37
Message-ID: 20041130204237.3593294764 () mono-cvs ! ximian ! com
[Download RAW message or body]
Author: zoltan
Date: 2004-11-30 15:42:36 -0500 (Tue, 30 Nov 2004)
New Revision: 36857
Modified:
trunk/mcs/class/corlib/System/ChangeLog
trunk/mcs/class/corlib/System/MonoType.cs
Log:
2004-11-30 Zoltan Varga <vargaz@freemail.hu>
* MonoType.cs (UnderlyingSystemType): Make this return this as in
MS.NET. Fixes #56245.
Modified: trunk/mcs/class/corlib/System/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System/ChangeLog 2004-11-30 19:31:34 UTC (rev 36856)
+++ trunk/mcs/class/corlib/System/ChangeLog 2004-11-30 20:42:36 UTC (rev 36857)
@@ -1,3 +1,8 @@
+2004-11-30 Zoltan Varga <vargaz@freemail.hu>
+
+ * MonoType.cs (UnderlyingSystemType): Make this return this as in
+ MS.NET. Fixes #56245.
+
2004-11-29 Atsushi Enomoto <atsushi@ximian.com>
* GC.cs : Collect(generation) actually does not throw an exception
Modified: trunk/mcs/class/corlib/System/MonoType.cs
===================================================================
--- trunk/mcs/class/corlib/System/MonoType.cs 2004-11-30 19:31:34 UTC (rev 36856)
+++ trunk/mcs/class/corlib/System/MonoType.cs 2004-11-30 20:42:36 UTC (rev 36857)
@@ -430,9 +430,11 @@
[MethodImplAttribute(MethodImplOptions.InternalCall)]
public extern override Type GetElementType ();
- public extern override Type UnderlyingSystemType {
- [MethodImplAttribute(MethodImplOptions.InternalCall)]
- get;
+ public override Type UnderlyingSystemType {
+ get {
+ // This has _nothing_ to do with getting the base type of an enum etc.
+ return this;
+ }
}
public extern override Assembly Assembly {
_______________________________________________
Mono-patches maillist - Mono-patches@ximian.com
http://lists.ximian.com/mailman/listinfo/mono-patches
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic