[SOLVED] ArrayList.ToArray() error

Please report bugs here. If you are unsure whether something is a bug or an expected behavior, please post it on the "Technical Support" forum instead, and wait for a moderator to handle/move the post.
sebas
Posts: 21
Joined: Fri Oct 27, 2017 7:03 am

[SOLVED] ArrayList.ToArray() error

Postby sebas » Tue Nov 07, 2017 5:15 am

Code: Select all

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


in browser only. in wpf isnot fired.

sebas
Posts: 21
Joined: Fri Oct 27, 2017 7:03 am

Re: ArrayList.ToArray() error

Postby sebas » Tue Nov 07, 2017 5:30 am

Code: Select all

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

JS-Support @Userware
Site Admin
Posts: 917
Joined: Tue Apr 08, 2014 3:42 pm

Re: ArrayList.ToArray() error

Postby JS-Support @Userware » Tue Nov 07, 2017 5:44 am

Thanks for reporting this issue. We are going to fix it asap.

Regards,
JS-Support

JS-Support @Userware
Site Admin
Posts: 917
Joined: Tue Apr 08, 2014 3:42 pm

Re: ArrayList.ToArray() error

Postby JS-Support @Userware » Fri Nov 10, 2017 5:29 am

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

sebas
Posts: 21
Joined: Fri Oct 27, 2017 7:03 am

Re: ArrayList.ToArray() error

Postby sebas » Fri Nov 10, 2017 6:57 am

Hi! No problems) I dont use it

JS-Support @Userware
Site Admin
Posts: 917
Joined: Tue Apr 08, 2014 3:42 pm

Re: ArrayList.ToArray() error

Postby JS-Support @Userware » Mon Dec 11, 2017 12:33 am

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


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 4 guests

 

 

cron