Bug 13415 - PCL mscorlib contains not all methods for Array
Summary: PCL mscorlib contains not all methods for Array
Alias: None
Product: Class Libraries
Classification: Mono
Component: mscorlib ()
Version: unspecified
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Martin Baulig
Depends on:
Reported: 2013-07-23 11:18 UTC by kissling
Modified: 2016-04-16 08:30 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description kissling 2013-07-23 11:18:27 UTC
In PCL projects, the mscorlib.dll misses several methods of the Array class, although being marked as supported in PCL on the MSDN page.


The following methods are missing in the PCL version of mscorlib:
- BinarySearch(Array, Object, IComparer)
- BinarySearch(Array, Int32, Int32, Object)
- Exists<T>
- Find<T>
- FindAll<T>
- FindIndex<T>(T[], Predicate<T>)
- FindIndex<T>(T[], Int32, Predicate<T>)
- FindIndex<T>(T[], Int32, Int32, Predicate<T>)
- FindLast<T>
- FindLastIndex<T>(T[], Predicate<T>)
- FindLastIndex<T>(T[], Int32, Predicate<T>)
- FindLastIndex<T>(T[], Int32, Int32, Predicate<T>)
- IndexOf(Array, Object)
- IndexOf(Array, Object, Int32)
- LastIndexOf(Array, Object)
- LastIndexOf(Array, Object, Int32)
- Sort(Array, Int32, Int32)
- TrueForAll<T>

Version information:

System.dll and System.Core.dll show version

Xamarin Studio
Version 4.1.7 (build 87)
Installation UUID: 938751df-f7a5-457d-b87b-379763e0ada1
   Mono 3.1.2 ((no/71af847)
   GTK 2.24.20
   GTK# (
   Package version: 301020000

Apple Developer Tools
Xcode 5.0 (3325.22)
Build 5A11344j

Version: (Business Edition)
Hash: 7f9e851
Build date: 2013-10-07 12:10:26-0400

Xamarin.Mac: Not Installed

Version: 4.8.0 (Business Edition)
Android SDK: /Users/***/Library/Developer/Xamarin/android-sdk-mac_x86
   Supported Android versions:
       2.1   (API level 7)
       2.2   (API level 8)
       2.3   (API level 10)
       3.1   (API level 12)
       4.0   (API level 14)
       4.0.3 (API level 15)
Java SDK: /usr
java version "1.6.0_51"
Java(TM) SE Runtime Environment (build 1.6.0_51-b11-457-11M4509)
Java HotSpot(TM) 64-Bit Server VM (build 20.51-b01-457, mixed mode)

Build Information
Release ID: 401070087
Git revision: e8d353852416693588e6e53a5c2b2d70e5ddadfb
Build date: 2013-07-18 15:32:11+0000
Xamarin addins: 7a764a450cd980c7942b91f12ac36947f9c6a71f

Operating System
Mac OS X 10.8.4
Darwin ***.local 12.4.0 Darwin Kernel Version 12.4.0
   Wed May  1 17:57:12 PDT 2013
   root:xnu-2050.24.15~1/RELEASE_X86_64 x86_64
Comment 1 kissling 2013-07-23 12:10:11 UTC
Same applies to List<G> and probably other collections.
Comment 2 Marek Safar 2015-03-30 10:09:59 UTC
In which PLC profile are they missing?
Comment 3 Marek Safar 2016-04-16 08:30:08 UTC
No response