.NET CLR InternalCall [英] .NET CLR InternalCall

查看:166
本文介绍了.NET CLR InternalCall的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法来承载.NET CLR运行时和注册MethodImplOptions.InternalCall功能? (这不是一个关于P /调用话题)

Is there a way to host the .NET CLR runtime and register MethodImplOptions.InternalCall functions? (This is not a topic about P/Invoke)

推荐答案

SSCLI code(具体CLR的\ src \ VM \ ecall.cpp)表明,有没有办法注册 InternalCall 方法,因为关键 gECClasses 表是很难codeD。

SSCLI code (specifically clr\src\vm\ecall.cpp) suggests that there is no way to register InternalCall methods, because the crucial gECClasses table is hardcoded.

这篇关于.NET CLR InternalCall的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆