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

No implementation of Decompile extension method for non-generic IQueryable #177

Closed RichardSinden closed 3 years ago

RichardSinden commented 3 years ago

The DecompiledQueryProvider has a non-generic implementation of CreateQuery. However, the DecompileExtensions don't have an implemention of Decompile which calls it, only a generic Decompile method which calls the generic CreateQuery.

The same is true of the async version for Entity Framework. The non-generic CreateQuery exists, but only the generic Decompile extension is implemented.

I don't think this is relevant to EF Core (or at least, not as easy to implement) because the non-generic Linq methods don't exist.