Process Execution

How and when is MSIL code compiled to native binary? The MSIL code is compiled into binary at run time. Only managed methods that are called are compiled into binary. This is part of a larger procedure called process execution. Most of the information in this section is obtained from the Shared Source CLI, which is an open-source implementation of the CLI. The Shared Source CLI is often referred to as Rotor. For more information on Rotor, visit this Web site: http://msdn.microsoft.com/net/sscli. This section explains method compilation and how the entry point method is identified and executed. What is important is not the specific details, which may change with time, but the concepts.

Process execution begins when a managed application ...

Get Programming Microsoft® Visual C#® 2008: The Language now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.