Skip to content

Conversation

@RichardSinden
Copy link
Contributor

@RichardSinden RichardSinden commented May 21, 2021

Hi,
This resolves #177.
I'm trying to use the Decompile extension with a class defined at runtime using the TypeBuilder. This means I only have a non-generic IQueryable type. As mentioned in issue #177 there are no non-generic Decompile extension methods. I could call the generic one at runtime using reflection but the code to do that is already in the DecompiledQueryProvider, it's just not accessible without the non-generic Decompile extension method, so I've added it and a couple of tests. I didn't go particularly crazy on the tests because the non-generic CreateQuery just calls the generic one.
Thanks,
Richard

@hazzik hazzik merged commit 65e790b into hazzik:develop Jul 3, 2021
@hazzik
Copy link
Owner

hazzik commented Jul 3, 2021

Thanks

@hazzik
Copy link
Owner

hazzik commented Dec 14, 2021

Released in 0.30.0

billybraga pushed a commit to billybraga/DelegateDecompiler that referenced this pull request Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No implementation of Decompile extension method for non-generic IQueryable

2 participants