How to convert CIL to a LINQ Expression Tree [clos

2019-03-31 04:07发布

问题:

  1. Has any work been done on the direct conversion of CIL to LINQ expression trees? This would include class libraries, blogs, books, academic papers, etc.

  2. What are the known mismatches between CIL and LINQ Expression API? I have seen a project that significantly extended the Expression API to support an almost complete mapping between C# and LINQ Expressions. What work arounds would be suggested to accommodate any of these mismatches?

  3. Is there something fundamentally wrong about converting directly from CIL to LINQ Expressions? If so, why?