* Type.cs (Type.IsGenericInstance): Removed.
svn path=/trunk/mcs/; revision=56899
+2006-02-15 Martin Baulig <martin@ximian.com>
+
+ * Type.cs (Type.IsGenericInstance): Removed.
+
2006-02-14 Ankit Jain <jankit@novell.com>
Raja R Harinath <rharinath@novell.com>
string generic = "";
#if NET_2_0 || BOOTSTRAP_NET_2_0
- if (mi.HasGenericParameters) {
+ if (mi.IsGenericMethod) {
Type[] gen_params = mi.GetGenericArguments ();
generic = "[";
for (int j = 0; j < gen_params.Length; j++) {
{
if (nullableType == null)
throw new ArgumentNullException ("nullableType");
- if (nullableType.IsGenericInstance && nullableType.GetGenericTypeDefinition () == typeof (Nullable<>))
+ if (nullableType.IsGenericType && nullableType.GetGenericTypeDefinition () == typeof (Nullable<>))
return nullableType.GetGenericArguments ()[0];
else
return null;
return res;
}
- public extern bool IsGenericInstance {
- [MethodImplAttribute(MethodImplOptions.InternalCall)]
- get;
- }
-
public virtual extern bool IsGenericType {
[MethodImplAttribute(MethodImplOptions.InternalCall)]
get;