Mono里运行C#脚本44—System.Console.WriteLine()函数的生成过程
前面已经分析WriteLine() 的调用过程,接着就会找到对应的类Console,然后再找到此类的信息,生成一个类的MonoVTable 结构。
接着就可以把调用这个函数的代码编译成下面的代码:
converting method void System.Console:WriteLine (string)
creating vars
created temp 0 (R16) of type System.Object