diff --git a/mcs/class/corlib/System/Type.cs b/mcs/class/corlib/System/Type.cs index b8bc9d932a68596141f929e4c86e272f63fcba68..1cd47b404a5e62adf37be3f5c1c1d3f941f418c4 100644 --- a/mcs/class/corlib/System/Type.cs +++ b/mcs/class/corlib/System/Type.cs @@ -1173,7 +1173,7 @@ namespace System { } } -#if (NET_2_0 || BOOTSTRAP_NET_2_0) && !DISABLE_SECURITY +#if (NET_2_0 || BOOTSTRAP_NET_2_0) public virtual Type[] GetGenericArguments () { throw new NotSupportedException (); @@ -1204,6 +1204,7 @@ namespace System { [MethodImplAttribute(MethodImplOptions.InternalCall)] static extern Type MakeGenericType (Type gt, Type [] types); +#if !MICRO_LIB public virtual Type MakeGenericType (params Type[] typeArguments) { if (!IsGenericTypeDefinition) @@ -1230,6 +1231,7 @@ namespace System { throw new TypeLoadException (); return res; } +#endif // !MICRO_LIB public virtual bool IsGenericParameter { get {