Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我无法对 IL 清单中的.extern 模块指令做出任何令人满意的解释。这个指令是什么意思?任何帮助表示赞赏。
另外,我想知道,如果我对程序集进行强命名,是否还需要对 .extern 模块部分中列出的 .net 模块进行强命名?
编辑:
正如 Hans Passant 指出的那样,该指令是无效的。正确的指令是' .module extern '
它是对外部库的引用。我确实相信它只是指定了要加载的程序集,并且我相信可以选择在哪里找到它,什么版本以及是否应该对其进行签名。
另见http://jilc.sourceforge.net/ecma_p2_cil.shtml