Ejemplo n.º 1
0
        internal static Type MonoDebugger_ResolveType(Module module, int token)
        {
            ResolveTokenError error;

            IntPtr handle = ResolveTypeToken(module.GetImpl(), token, null, null, out error);

            if (handle == IntPtr.Zero)
            {
                return(null);
            }
            else
            {
                return(Type.GetTypeFromHandle(new RuntimeTypeHandle(handle)));
            }
        }