Return empty result array when calling Task.WhenAllCore<T> with empty argument list. Fixes #15956
Added tests for Task.WhenAll w/ empty list
Socket ReceiveBufferSize & SendBufferSize set to random values.

Fixes :

https://bugzilla.xamarin.com/show_bug.cgi?id=16021
https://bugzilla.xamarin.com/show_bug.cgi?id=12754

Resolves:

http://lists.ximian.com/pipermail/mono-list/2013-June/050008.html

A reference to the variable bufsize, local to the else-if block was being passed to the function setsockopt hence
the properties ReceiveBufferSize & SendBufferSize were being set to garbage on the Socket class. This could and did have a SERIOUS performance hit on socket communication. It is not inconceivable that people would try to increase the
buffer sizes and inadvertently shrink them considerably with a consequence of drastically degrade performance.

Narinder Claire
narinder.claire <> gmail.com

Signed-off-by: Narinder CLAIRE <narinder.claire@uk.bnpparibas.com>
2013-11-12 Ryan Williams <ryan@ryanwilliams.id.au>

Renamed member variables to be compatible with Microsoft for serialization.

Slight change to Equals method for consistency.
Merge pull request #805 from supershitauto/master

2013-11-12 Ryan Williams <ryan@ryanwilliams.id.au>
Merge pull request #799 from kebby/master

Task.WhenAllCore<T> now handles empty argument list correctly. Fixes #15956
[linker] Do not remove resources from mscorlib unless it's action is set to Link
[corlib] Improve the exception message in Delegate::Remove.
[jit] Improve arm IMT debugging.
[jit] Use unsigned comparisons with the IMT thunks as they can live in high memory addresses.
Add more tests
Extract CurrencyDecimalDigits using currency and not territory info. Fixes #15895
Update currency separators. Fixes #15425
Fix the build.
[sle] Enable char equality comparison. Fixes #15582
Disable failing test
Merge pull request #801 from Ninds/master

Setting ReceiveBufferSize & SendBufferSize on Socket (Bug 16021 & Bug 12754)
[mcs] tests update
Always show error message when type resolver produces ambiguous type. Fixes #16115
[mdoc] Flush expected output.

Commit 0a2c38df changed Delegate.Remove() so that it uses
Locale.GetText(), which thus introduces additional exceptions which
can be possibly thrown from Delegate.Remove().

This is similar to the situation in corlib/3d3fe6af (added
Locale.GetText() use) and mdoc/574dbc8e (updated unit tests).