[Mono-dev] Where can I find GetTargetHandle, etc?

Dan Barowy mono at ettinsmoor.net
Fri Jun 21 23:42:47 UTC 2013


Hi everyone,

   I see in:

   mono/mcs/class/corlib/System.Runtime.InteropServices/GCHandle.cs

   declarations for external methods, like:

   [MethodImplAttribute(MethodImplOptions.InternalCall)]
   private extern static int GetTargetHandle(object obj, int handle, GCHandleType type);

   [MethodImplAttribute(MethodImplOptions.InternalCall)]
   private extern static void FreeHandle(int handle);

   etc., but if I search the mono codebase (using find and grep at the mono 
root dir), I am unable to find these method definitions, which is a little 
puzzling.  Does anyone know where I should look?

   Also, it's pretty convenient that mono has a .sln file.  Does corlib 
also have something like this?

Thanks,
Dan


More information about the Mono-devel-list mailing list