Page 1 of 1

[SOLVED] ArrayList.ToArray() error

Posted: Tue Nov 07, 2017 5:15 am
by sebas

Code: Select all

            var c = new ArrayList();
            var b = c.ToArray();
 


in browser only. in wpf isnot fired.

Re: ArrayList.ToArray() error

Posted: Tue Nov 07, 2017 5:30 am
by sebas

Code: Select all

            var c = new ArrayList();
            foreach(object b in c) // there is error too
            {
//....
            }

Re: ArrayList.ToArray() error

Posted: Tue Nov 07, 2017 5:44 am
by JS-Support @Userware
Thanks for reporting this issue. We are going to fix it asap.

Regards,
JS-Support

Re: ArrayList.ToArray() error

Posted: Fri Nov 10, 2017 5:29 am
by JS-Support @Userware
Hi,

The issue may be more difficult to fix than expected, and we are tempted to remove the support for the ArrayList class while waiting for a fix.

Would it be possible for you to use a List<object> instead?

Thanks.
Regards,
JS-Support

Re: ArrayList.ToArray() error

Posted: Fri Nov 10, 2017 6:57 am
by sebas
Hi! No problems) I dont use it

Re: ArrayList.ToArray() error

Posted: Mon Dec 11, 2017 12:33 am
by JS-Support @Userware
Hi,

This issue has been fixed in Beta 12.10 and above, which you can download from:
http://forums.cshtml5.com/viewforum.php?f=6

Thanks.
Regards,
JS-Support