Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Problem on device with casting an IEnumarable to IEnumerable

$
0
0

Hi all,

I ran into an issue, and I am not sure if I need to file a bug report, or if I am doing something wrong.

I have a simple class MainClass, that implements IEnumerable. (That basically gets the property SubClassItems).

When I cast this MainClass to IEnumerable, on a device this crashes the app (even when inspecting the value with the debugger, then it crashes).

My workaround is to cast it to IEnumarable and then it works fine.

Is this a known problem? Or what is going wrong in this case. If it should work fine, then I will file a bug.


Viewing all articles
Browse latest Browse all 204402

Trending Articles