Browse Source

2002-09-20 Martin Baulig <[email protected]>

	* Assembly.cs (MonoDebugger_GetMethod): New method to get a MethodBase
	from its metadata token.  This should only be used by the debugger.

svn path=/trunk/mcs/; revision=7642
Martin Baulig 23 năm trước cách đây
mục cha
commit
7b119ca3dd

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

@@ -313,5 +313,12 @@ namespace System.Reflection {
 		{
 			throw new NotImplementedException ();
 		}
+
+		//
+		// The following functions are only for the Mono Debugger.
+		//
+
+		[MethodImplAttribute (MethodImplOptions.InternalCall)]
+		public extern MethodBase MonoDebugger_GetMethod (int token);
 	}
 }

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

@@ -1,3 +1,7 @@
+2002-09-20  Martin Baulig  <[email protected]>
+
+	* Assembly.cs (MonoDebugger_GetMethod): New method to get a MethodBase
+	from its metadata token.  This should only be used by the debugger.
 
 Wed Sep 11 12:50:54 CEST 2002 Paolo Molaro <[email protected]>