-
-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue finding indexer #57
Comments
Thanks for your analysis, I'll look into this. |
I think that the code MemberInfo[] members = t.GetDefaultMembers(); will work for all frameworks. I did fix it, can you retest (or do you need a new NuGet?) |
I will retest it real quick and let you know. |
That fixed my issue. My tests are passing now. I will need a new version on nuget at some point though. Thanks for the quick turn around on this. |
New NuGet is uploaded. |
Thanks. I did some more testing and everything looks good. I think we can close this issue. |
OK |
I'm running into an issue with the .Net Core port of dynamic linq.
I'm trying to sort a list of JObjects and I get this error:
Here's an example
Note this code works with the System.Linq.Dynamic dll on a .Net 4.5.2 project.
I believe this issue resides in the FindIndexer method in the ExpressionParser class.
https://github.com/StefH/System.Linq.Dynamic.Core/blob/master/src/System.Linq.Dynamic.Core/ExpressionParser.cs#L1681-L1707
If you take away the NETSTANDARD check everything seems to work, although I'm not sure if that would effect anything else. I made that change locally and ran all the unit tests and they all passed. There might be better fix, but I'm not as familiar with the code.
The text was updated successfully, but these errors were encountered: