Search Issue Tracker

Fixed in 4.5.6

Votes

1

Found in

4.5.1f3

Issue ID

631027

Regression

No

ArrayList.BinarySearch is not implemented

WP8

-

Trying to build a project with a script that uses ArrayList.BinarySearch or IndexOf fails when targeting WP8 or WP8.1

To reproduce:
1. Create a new project
2. Create a new script
3. Add these lines to start:
ArrayList traList = new ArrayList ();
traList.Add (transform);
traList.BinarySearch (null);
4. Build for WP8 or WP8.1 - exception is thrown in console:
Error building Player: Exception: Error: method `System.Int32 System.Collections.ArrayList::BinarySearch(System.Object)` doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at System.Void NewBehaviourScript::Start().

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.