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

Implicit type conversion for Generic.IEnumerable<> fails. #89

Closed
hisystems opened this issue Aug 31, 2013 · 0 comments
Closed

Implicit type conversion for Generic.IEnumerable<> fails. #89

hisystems opened this issue Aug 31, 2013 · 0 comments
Assignees

Comments

@hisystems
Copy link
Owner

Using a for each loop such as:

foreach (var item in model.Items)

fails to determine the type of item - even though Items implements Generic.IEnumerable<>. Interestingly, LINQ works as expected on the collection class such as:

foreach (var item in model.Items.Where(i => i.value == 0))

Most likely has been an issue since the 4.0 migration / port.

@ghost ghost assigned hisystems Aug 31, 2013
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

No branches or pull requests

1 participant