Skip to content
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

ToDynamicList/ToDynamicArray cannot actually cast to specified type in .net core 2 #129

Closed
xumix opened this issue Dec 15, 2017 · 3 comments
Assignees
Labels

Comments

@xumix
Copy link

xumix commented Dec 15, 2017

This fails

var keyVals = new List<int>().ToDynamicList(typeof(int));
var keyVals = new List<dynamic>().ToDynamicList(typeof(int));
var keyVals = new List<object>().ToDynamicList(typeof(int));
Unable to cast object of type 'System.Int32[]' to type 'System.Object[]'
@StefH StefH self-assigned this Dec 15, 2017
@StefH StefH added the bug label Dec 15, 2017
StefH added a commit that referenced this issue Dec 15, 2017
StefH added a commit that referenced this issue Dec 16, 2017
* refactored
* Fixed issue #129
@StefH
Copy link
Collaborator

StefH commented Dec 16, 2017

Solved in version 1.0.8.0

@StefH StefH closed this as completed Dec 16, 2017
@xumix
Copy link
Author

xumix commented Dec 16, 2017

Thanks!

@xumix
Copy link
Author

xumix commented Dec 18, 2017

Looks like not closedm there should be instead of there:
2017-12-18 14 09 43 supplierportal - microsoft visual studio administrator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants