Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IL Compiler for .NET?

This may be a dumb question, but is there a compiler for IL code, similar to that shown by Reflector in IL mode?

like image 888
RCIX Avatar asked Nov 21 '09 01:11

RCIX


People also ask

Does .NET have a compiler?

NET uses two compilers, Roslyn, to compile C# or VB code into CIL (common intermediate language), and RyuJIT, to run just-in-time compilation of CIL into native code. Both compilers are highly regarded by the . NET community as Microsoft actively improves them.

What is IL code in C #?

For C# this intermediate code is called Common Intermediate Language (CIL, or just IL). Most Portable Executable (PE) files compiled and assembled from C#, whether . dll or .exe, are simply composed of IL and its corresponding metadata.

What is the benefit of compiling into IL code?

In addition to SLaks's answer, compiling to IL enables a degree of cross-language interoperability that generally doesn't exist in interpreted languages. This advantage can be huge for new languages.

Does .NET support multiple programming languages?

That's because the . NET framework is a Top-Level Domain (TLD) which was initially developed for networking technology, but now supports multiple programming languages such as Visual Basic, C#, and J# at an intermediate level by interoperating with them.


1 Answers

ilasm, it comes with the .NET Framework.

The complete reference is here.

like image 127
CesarGon Avatar answered Oct 16 '22 16:10

CesarGon