Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 392
  • Last Modified:

.NET MSIL, Native and PE files

Correct if I am wrong, the MSIL file is also considered the PE file. And the Native code file is created by the JIT using the MSIL (same as PE File), correct?
0
Lawrence Avery
Asked:
Lawrence Avery
2 Solutions
 
käµfm³d 👽Commented:
I think technically speaking you wouldn't call it an "MSIL file," but yes you are correct: A managed module contains a PE file header and IL code. The JITter compiles the MSIL on-the-fly and on demand (as necessary).

Per Jeffrey Richter's CLR via C#, 4th ed., chapter 1.
0
 
Rainer JeschorCommented:
Not fully: a PE file contains the MSIL in one part BUT also the relevant meta data in another section. Therefore MSIL is just a subset of the PE file.
http://msdn.microsoft.com/en-us/library/8dkk3ek4%28v=vs.71%29.aspx
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now