Compiling - under the hood

Compiling - under the hood

  
Hi everyone,

When I do a 1CP of an eSpace what is really happening under the hood on that second task called "Compiling"
I know, it is "Generating and compiling optimized ASP.NET C# code and creating SQL scripts."

Is there any resource available about this? I searched but didn't find anything relevant. There are some consistency checks... What about the compiler itself? Which compiler is this?
It uses javac or msbuild.exe.

J.Ja