开发者

Viewing MSIL as expression tree

I'm currently building a compiler for my language into MSIL, and use Reflector to inspect the IL.

Is there a way to visualise the IL as an Expres开发者_Go百科sion Tree that could be used to generate the IL instead?


You could use FxCop for this, with a custom rule that writes to a text file or something.


Note: FxCop works on compiled managed code (DLLS/exes), not sure about starting from IL. I suggested this answer as you say you're using Reflector to get IL, implying you're starting from compiled managed code.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜