Error!
Success!

Converting Delegates to Expression Trees

0
kicks

Converting Delegates to Expression Trees  (Unpublished)

A few days ago, someone on Stack Overflow, asked how to turn a delegate into a LINQ expression tree. As there’s no builtin feature to do that, it’s not a straightforward process. You basically have to decompile the compiled method, and turned it into an object graph. I guess it’s a good thing that I’m working on a decompiler, if I need to decompile something. So tonight I wrote a short spike to verify the feasibility of my idea, and it turns out to be pretty simple.


Kicked By:
Drop Kicked By: