Преглед на файлове

2003-10-17 Martin Baulig <[email protected]>

	* MethodInfo.cs (MethodInfo.GetGenericArguments): New method.
	(MethodInfo.BindGenericParameters): New method.

svn path=/trunk/mcs/; revision=19115
Martin Baulig преди 22 години
родител
ревизия
630a65bbd7
променени са 2 файла, в които са добавени 11 реда и са изтрити 0 реда
  1. 5 0
      mcs/class/corlib/System.Reflection/ChangeLog
  2. 6 0
      mcs/class/corlib/System.Reflection/MethodInfo.cs

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

@@ -1,3 +1,8 @@
+2003-10-17  Martin Baulig  <[email protected]>
+
+	* MethodInfo.cs (MethodInfo.GetGenericArguments): New method.
+	(MethodInfo.BindGenericParameters): New method.
+
 2003-10-16  Martin Baulig  <[email protected]>
 
 	* MethodInfo.cs (MethodInfo.IsGenericMethodDefinition): New

+ 6 - 0
mcs/class/corlib/System.Reflection/MethodInfo.cs

@@ -28,6 +28,12 @@ namespace System.Reflection {
 			[MethodImplAttribute(MethodImplOptions.InternalCall)]
 			get;
 		}
+
+		[MethodImplAttribute(MethodImplOptions.InternalCall)]
+		public extern Type [] GetGenericArguments ();
+
+		[MethodImplAttribute(MethodImplOptions.InternalCall)]
+		public extern MethodInfo BindGenericParameters (Type [] types);
 #endif
 	}