托管代码是个啥玩意?

ECMA-335标准:

managed code: Code that contains enough information to allow the CLI to
provide a set of core services. For example, given an address for a method
inside the code, the CLI must be able to locate the metadata describing that
method. It must also be able to walk the stack, handle exceptions, and store
and retrieve security information.

托管代码是指那些包含了足够的信息用来让CLI来提供一系列的核心服务的代码。例如给定一个方法内部的地址,CLI必须能够定位原数据中那些描述方法的部分。也必须访问栈,捕获异常、存储和取回安全信息

原文地址:https://www.cnblogs.com/PerfectBeauty/p/12545762.html