I want to see if there is a method or tool to see how C # compilers are created under the hood, for example, closures or query expressions. I noticed that many blog posts dedicated to these issues will have syntax sugar source code and C # base code that converts the compiler to. So, for example, with linq and query expressions they will show:
var query = from x in myList select x.ToString();
then the resulting code will be
var query = myList.Select(x=>x.ToString());
Is this possible with the tool or do you just need to know how it works from the specification and go from there?
source share