Customer reports that the implementation of Android.Runtime.JavaCollection<T>.CopyTo is lacking a IntPtr.Zero check on JavaCollection.id_toArray.
Using the Xamarin Studio assembly browser, the code for this method seems to be:
Indeed, there is no IntPtr.Zero check.
The customer states that they work around this by manually iterating over the collection, as GetEnumerator() does not contain the same bug.
The customer's Xamarin.Android version is Xamarin.Android 184.108.40.206 (5f55a9ef61c11b6ce0890bc91e4c71b1b92be214)
The full version info is here: https://gist.github.com/natfriedman/2f271f70aeb4a739e0d9
Fixed in monodroid/57822ef0.
Thanks Jon. Where do I check what release that will be in?
> Where do I check what release that will be in?
Release notes. Or the Target Milestone (which wasn't previously set), though that's frequently only a guideline (e.g. if a "new" "hotfoot" release is inserted before the "expected" C6SR1, that will "push down" the expected release numbers, so at best Target Milestone is only a guideline.)
I have checked this issue with the latest master build both on Mac and Windows:
Now this issue is working fine.
screencast for Mac XS: http://www.screencast.com/t/KgqQVPznh
Screencast for Windows XS: http://www.screencast.com/t/AxfLl7vaXu
Hence closing the issue.