Преглед изворни кода

2007-03-01 Alp Toker <[email protected]>

	* MethodBase.cs: Add missing ComVisible attr.
	Add GetMethodFromHandle() 2.0 overload stub (NotImplemented).


svn path=/trunk/mcs/; revision=73588
Alp Toker пре 19 година
родитељ
комит
cff66adc25

+ 5 - 0
mcs/class/corlib/System.Reflection/ChangeLog

@@ -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.

+ 7 - 0
mcs/class/corlib/System.Reflection/MethodBase.cs

@@ -53,6 +53,12 @@ namespace System.Reflection {
 			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 @@ namespace System.Reflection {
 		}
 
 #if NET_2_0 || BOOTSTRAP_NET_2_0
+		[ComVisible (true)]
 		public virtual Type [] GetGenericArguments ()
 		{
 			throw new NotSupportedException ();