hazzik / DelegateDecompiler

A library which is able to decompile a delegate or a method body to its lambda representation
MIT License
522 stars 62 forks source link

Feat 0.31 ? #185

Closed magicmoux closed 1 year ago

magicmoux commented 1 year ago

Hi Alex,

Long time no see, I hope all is going well for you. I've finally managed to spare time to clean up some fixes/features I wanted to propose, so here it comes.

As for now, the PR is quite small and comprises : Fix for hazzik#152 (stripped down from PR #151) Possible fix for hazzik#122 (absolutely out of date but still...)

I also added a feature prop to allow decompilation for in-closure Queryables (this is a POC prequel for templating DbContext queries without any instance available)

Hoping this will be part of the next release.

hazzik commented 1 year ago

Is it possible to split PRs into two or more? One is to fix Block, others for the rest?

hazzik commented 1 year ago

@magicmoux Max, I've tried new tests I've added to develop, and they, unfortunately, do not work on your branch. (I just copied the test file).

hazzik commented 1 year ago

@magicmoux Max, could you please check that develop is doing what you were trying to achieve?