提交 070b1086 编写于 作者: M Mantas Puida

Make micro lib monolinker friendly (in context of Boo.Lang.Dll)

上级 5cb3c8bb
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册