2003-09-25 Martin Baulig <martin@ximian.com>
authorMartin Baulig <martin@novell.com>
Thu, 25 Sep 2003 20:57:07 +0000 (20:57 -0000)
committerMartin Baulig <martin@novell.com>
Thu, 25 Sep 2003 20:57:07 +0000 (20:57 -0000)
* Type.cs (Type.IsGenericTypeDefinition): Removed this method
since it was identical to GetGenericTypeDefinition().
(Type.IsGenericInstance): New property.

svn path=/trunk/mcs/; revision=18300

mcs/class/corlib/System/ChangeLog
mcs/class/corlib/System/Type.cs

index 298b7094e2c07a78e20507205dbfc825a186d937..9178d3a212cf38aa27896d9e71eba469334ffd56 100644 (file)
@@ -1,3 +1,9 @@
+2003-09-25  Martin Baulig  <martin@ximian.com>
+
+       * Type.cs (Type.IsGenericTypeDefinition): Removed this method
+       since it was identical to GetGenericTypeDefinition().
+       (Type.IsGenericInstance): New property.
+
 2003-09-24  Duncan Mak  <duncan@ximian.com>
 
        * Math.cs (Abs): Fix double Locale.GetText bug reported by
index b096e5842b4b77e41b0eca3c882ee384a38e0eba..e160b47c8ffcbd736b906f825938c23e3df9debe 100644 (file)
@@ -952,8 +952,10 @@ namespace System {
                        return res;
                }
 
-               [MethodImplAttribute(MethodImplOptions.InternalCall)]
-               public extern Type IsGenericTypeDefinition ();
+               public extern bool IsGenericInstance {
+                       [MethodImplAttribute(MethodImplOptions.InternalCall)]
+                       get;
+               }
 
                [MethodImplAttribute(MethodImplOptions.InternalCall)]
                static extern Type BindGenericParameters (Type gt, Type [] types);