Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.extern module in IL files

Tags:

.net

manifest

il

I am unable to get any satisfactory explanation of the .extern module directive in IL manifests. What does this directive mean? Any help is appreciated.

Also, I would like to know that if I strong name an assembly, do I also need to strong name the .net modules listed in .extern modules section?

EDIT:

As Hans Passant pointed out, the directive is invalid. The correct directive is '.module extern'

like image 265
Chubsdad Avatar asked Mar 09 '26 12:03

Chubsdad


1 Answers

It is a reference to a external library. I do believe it just specifies what assembly to load, and I believe optionally where to find it, what version and if it should be signed.

See also http://jilc.sourceforge.net/ecma_p2_cil.shtml

like image 94
Jay Avatar answered Mar 12 '26 04:03

Jay



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!