Author: alp
Date: 2007-03-01 09:13:50 -0500 (Thu, 01 Mar 2007)
New Revision: 73588
Modified:
trunk/mcs/class/corlib/System.Reflection/ChangeLog
trunk/mcs/class/corlib/System.Reflection/MethodBase.cs
Log:
2007-03-01 Alp Toker <[EMAIL PROTECTED]>
* MethodBase.cs: Add missing ComVisible attr.
Add GetMethodFromHandle() 2.0 overload stub (NotImplemented).
Modified: trunk/mcs/class/corlib/System.Reflection/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/ChangeLog 2007-03-01 13:57:18 UTC
(rev 73587)
+++ trunk/mcs/class/corlib/System.Reflection/ChangeLog 2007-03-01 14:13:50 UTC
(rev 73588)
@@ -1,3 +1,8 @@
+2007-03-01 Alp Toker <[EMAIL PROTECTED]>
+
+ * MethodBase.cs: Add missing ComVisible attr.
+ Add GetMethodFromHandle() 2.0 overload stub (NotImplemented).
+
2006-12-30 Marek Safar <[EMAIL PROTECTED]>
* MonoProperty.cs: Cache frequently used properties.
Modified: trunk/mcs/class/corlib/System.Reflection/MethodBase.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/MethodBase.cs 2007-03-01
13:57:18 UTC (rev 73587)
+++ trunk/mcs/class/corlib/System.Reflection/MethodBase.cs 2007-03-01
14:13:50 UTC (rev 73588)
@@ -53,6 +53,12 @@
return GetMethodFromHandleInternal (handle.Value);
}
+#if NET_2_0
+ public static MethodBase
GetMethodFromHandle(RuntimeMethodHandle handle, RuntimeTypeHandle
declaringType) {
+ throw new NotImplementedException ();
+ }
+#endif
+
public abstract MethodImplAttributes
GetMethodImplementationFlags();
public abstract ParameterInfo[] GetParameters();
@@ -178,6 +184,7 @@
}
#if NET_2_0 || BOOTSTRAP_NET_2_0
+ [ComVisible (true)]
public virtual Type [] GetGenericArguments ()
{
throw new NotSupportedException ();
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches