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

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

Projects

None yet

1 participant

@hisystems
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.

@hisystems hisystems was assigned Aug 31, 2013
@hisystems hisystems closed this in 9b815c2 Aug 31, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment