platform/upstream/dotnet/runtime.git
8 years agoMerge pull request dotnet/corefx#9773 from dotnet-bot/UpdateDependencies20160630071429
Stephen Toub [Thu, 30 Jun 2016 12:15:31 +0000 (08:15 -0400)]
Merge pull request dotnet/corefx#9773 from dotnet-bot/UpdateDependencies20160630071429

Updating CoreFx dependencies to beta-24230-02

Commit migrated from https://github.com/dotnet/corefx/commit/dae0f1ecc5c9feb1b2c518107919d2d385770223

8 years agoMerge pull request dotnet/corefx#9771 from ericstj/updateBT-530-02
Stephen Toub [Thu, 30 Jun 2016 12:12:53 +0000 (08:12 -0400)]
Merge pull request dotnet/corefx#9771 from ericstj/updateBT-530-02

Update BuildTools 1.0.26-prerelease-00530-02

Commit migrated from https://github.com/dotnet/corefx/commit/0509e3badf5b3bf884a0a150c9ea06978828bba4

8 years agoMerge pull request dotnet/corefx#9772 from dotnet-bot/UpdateDependencies20160630051955
Stephen Toub [Thu, 30 Jun 2016 12:12:33 +0000 (08:12 -0400)]
Merge pull request dotnet/corefx#9772 from dotnet-bot/UpdateDependencies20160630051955

Updating External dependencies to beta-24230-00

Commit migrated from https://github.com/dotnet/corefx/commit/2781cfaac271ec4b88775d3145fb1cd29b18a545

8 years agoUpdating CoreFx dependencies to beta-24230-02
dotnet-bot [Thu, 30 Jun 2016 07:14:29 +0000 (07:14 +0000)]
Updating CoreFx dependencies to beta-24230-02

Commit migrated from https://github.com/dotnet/corefx/commit/8b62556c51a70fac4cb88d0ba8994057d02e0241

8 years agoUpdating External dependencies to beta-24230-00
dotnet-bot [Thu, 30 Jun 2016 05:19:55 +0000 (05:19 +0000)]
Updating External dependencies to beta-24230-00

Commit migrated from https://github.com/dotnet/corefx/commit/37d9514a18917ad58a9e8f76515eaf34eb4f3e75

8 years agoUpdate BuildTools 1.0.26-prerelease-00530-02
Eric St. John [Thu, 30 Jun 2016 04:32:01 +0000 (21:32 -0700)]
Update BuildTools 1.0.26-prerelease-00530-02

Commit migrated from https://github.com/dotnet/corefx/commit/f4c2b040b7a3556647fe550f59ed0a9469542957

8 years agoMerge pull request dotnet/corefx#9770 from dotnet-bot/UpdateDependencies20160630011521
Stephen Toub [Thu, 30 Jun 2016 02:07:21 +0000 (22:07 -0400)]
Merge pull request dotnet/corefx#9770 from dotnet-bot/UpdateDependencies20160630011521

Updating CoreFx dependencies to beta-24230-01

Commit migrated from https://github.com/dotnet/corefx/commit/63348abbc0e4e470e57f7b1d49d0c5cb6352b56e

8 years agoMerge pull request dotnet/corefx#9398 from shmao/i10
Shin Mao [Thu, 30 Jun 2016 01:28:00 +0000 (18:28 -0700)]
Merge pull request dotnet/corefx#9398 from shmao/i10

Fixed a Bug with Using PreserveObjectReferences with IsReference=true

Commit migrated from https://github.com/dotnet/corefx/commit/e69bf982f5275a2040f196082e43b9a86e744dc1

8 years agoUpdating CoreFx dependencies to beta-24230-01
dotnet-bot [Thu, 30 Jun 2016 01:15:21 +0000 (01:15 +0000)]
Updating CoreFx dependencies to beta-24230-01

Commit migrated from https://github.com/dotnet/corefx/commit/e7ba9e9d1090b37064c61fe67edac3a5b43ff092

8 years agoMerge pull request dotnet/corefx#9755 from dotnet-bot/UpdateDependencies20160629041401
Stephen Toub [Wed, 29 Jun 2016 23:00:46 +0000 (19:00 -0400)]
Merge pull request dotnet/corefx#9755 from dotnet-bot/UpdateDependencies20160629041401

Updating CoreClr dependencies to beta-24229-03

Commit migrated from https://github.com/dotnet/corefx/commit/725c8cc415c6bf809905a99cfd28b67bb8a3c5b2

8 years agoMerge pull request dotnet/corefx#9647 from karajas/updateCsProj
Karthik Rajasekaran [Wed, 29 Jun 2016 21:48:34 +0000 (14:48 -0700)]
Merge pull request dotnet/corefx#9647 from karajas/updateCsProj

Add NugetTargetMoniker to test projects and update remaining pkgproj references

Commit migrated from https://github.com/dotnet/corefx/commit/40a54045aa8125e6eebbd2f777ac1bb0c364f065

8 years agoAdd NugetTargetMoniker to test projects and update remaining project references to...
Karthik Rajasekaran [Thu, 23 Jun 2016 21:07:00 +0000 (14:07 -0700)]
Add NugetTargetMoniker to test projects and update remaining project references to pkgproj

Commit migrated from https://github.com/dotnet/corefx/commit/13e03705ced065850dc65900fccfd930426e87d7

8 years agoMerge pull request dotnet/corefx#9742 from weshaggard/FixSDStackTrace_SREDependency
Wes Haggard [Wed, 29 Jun 2016 17:50:40 +0000 (10:50 -0700)]
Merge pull request dotnet/corefx#9742 from weshaggard/FixSDStackTrace_SREDependency

Update S.D.StackTrace dependencies to use redist versions of dependencies

Commit migrated from https://github.com/dotnet/corefx/commit/9db4d1e84bb605c199ed658f79851582896ca899

8 years agoUpdate S.D.StackTrace dependencies to use redist versions of dependencies
Wes Haggard [Wed, 29 Jun 2016 04:26:01 +0000 (21:26 -0700)]
Update S.D.StackTrace dependencies to use redist versions of dependencies

System.Diagnostics.StackTrace incorrectly started depending on the live
versions of things like System.Runtime.Extensions which breaks .NET Native
shared library. This change updates the project references for the facades
to be the redist'ed older versions so that the dependencies are correct.

Commit migrated from https://github.com/dotnet/corefx/commit/5d4c642c612e14e050190409914211a7b1694eb3

8 years agoUpdating CoreClr dependencies to beta-24229-03
dotnet-bot [Wed, 29 Jun 2016 16:14:01 +0000 (16:14 +0000)]
Updating CoreClr dependencies to beta-24229-03

Commit migrated from https://github.com/dotnet/corefx/commit/5b061080543ee971ec9e8363c8bfe70257d71772

8 years agoMerge pull request dotnet/corefx#9218 from stephentoub/allow_ipaddresses
Stephen Toub [Wed, 29 Jun 2016 13:16:49 +0000 (09:16 -0400)]
Merge pull request dotnet/corefx#9218 from stephentoub/allow_ipaddresses

Allow Socket.Connect{Async} to be used with a string-based IP addresses

Commit migrated from https://github.com/dotnet/corefx/commit/1fededc61fb6272905ffc45eeb843ee16ca193f4

8 years agoMerge pull request dotnet/corefx#9746 from dotnet-bot/UpdateDependencies20160629071428
Stephen Toub [Wed, 29 Jun 2016 13:03:10 +0000 (09:03 -0400)]
Merge pull request dotnet/corefx#9746 from dotnet-bot/UpdateDependencies20160629071428

Updating CoreFx dependencies to beta-24229-02

Commit migrated from https://github.com/dotnet/corefx/commit/863e6a46a0e112a598ddf0a5d97471b5a34d9145

8 years agoMerge pull request dotnet/corefx#9744 from dotnet-bot/UpdateDependencies20160629051752
Stephen Toub [Wed, 29 Jun 2016 12:53:42 +0000 (08:53 -0400)]
Merge pull request dotnet/corefx#9744 from dotnet-bot/UpdateDependencies20160629051752

Updating External dependencies to beta-24229-00

Commit migrated from https://github.com/dotnet/corefx/commit/40d1a829e9a1b6c3d76987e4dc4ffddcf51e49ae

8 years agoUpdating CoreFx dependencies to beta-24229-02
dotnet-bot [Wed, 29 Jun 2016 07:14:28 +0000 (07:14 +0000)]
Updating CoreFx dependencies to beta-24229-02

Commit migrated from https://github.com/dotnet/corefx/commit/f0c84d469537e9388fdf0df6b976ac7de9480fd9

8 years agoUpdating External dependencies to beta-24229-00
dotnet-bot [Wed, 29 Jun 2016 05:17:52 +0000 (05:17 +0000)]
Updating External dependencies to beta-24229-00

Commit migrated from https://github.com/dotnet/corefx/commit/cc5fcefcb1bd99038c9fb109a52c642c89543ad4

8 years agoAllow Socket.Connect{Async} to be used with a string-based IPAddress
Stephen Toub [Thu, 9 Jun 2016 18:47:25 +0000 (14:47 -0400)]
Allow Socket.Connect{Async} to be used with a string-based IPAddress

As outlined in https://github.com/dotnet/corefx/issues/8768, on Unix we don't currently support using the instance Connect/ConnectAsync methods that take a string host or a DnsEndPoint, because they could map to multiple addresses, which means we might need to try reconnecting on the same socket after a failed attempt, and that's not supported with BSD sockets.  They are potential workarounds we can explore as outlined in that issue, but they're non-trivial and/or have undesirable ramifications.

However, one simple thing we can do is allow a string/DnsEndPoint version of an IPAddress, e.g. just as someone can provide an IPAddress, they can provide a string version of that IPAddress, such as "127.0.0.1".  This is a common thing to do, and we can make it work just by attempting to parse the address.

Commit migrated from https://github.com/dotnet/corefx/commit/062ba1cfd06ea43486abbe858075defa42c87bc3

8 years agoMerge pull request dotnet/corefx#9734 from CIPop/udp
Stephen Toub [Wed, 29 Jun 2016 02:33:17 +0000 (22:33 -0400)]
Merge pull request dotnet/corefx#9734 from CIPop/udp

Routing all BeginConnect calls through UnsafeBeginConnect

Commit migrated from https://github.com/dotnet/corefx/commit/e5f8b97e5781c4e289ec9e557fa603e5bae22988

8 years agoMerge pull request dotnet/corefx#9739 from dotnet-bot/UpdateDependencies20160629011547
Stephen Toub [Wed, 29 Jun 2016 02:28:32 +0000 (22:28 -0400)]
Merge pull request dotnet/corefx#9739 from dotnet-bot/UpdateDependencies20160629011547

Updating CoreFx dependencies to beta-24229-01

Commit migrated from https://github.com/dotnet/corefx/commit/175a30a09101569785035ce2f44f58850f41d205

8 years agoUpdating CoreFx dependencies to beta-24229-01
dotnet-bot [Wed, 29 Jun 2016 01:15:47 +0000 (01:15 +0000)]
Updating CoreFx dependencies to beta-24229-01

Commit migrated from https://github.com/dotnet/corefx/commit/ffd2e90a31edfae15310c2b4ede41cf5d39282ea

8 years agoMerge pull request dotnet/corefx#9731 from ericstj/uri.redist.netcore50
Eric StJohn [Wed, 29 Jun 2016 00:11:14 +0000 (17:11 -0700)]
Merge pull request dotnet/corefx#9731 from ericstj/uri.redist.netcore50

Redist old build of System.Private.Uri

Commit migrated from https://github.com/dotnet/corefx/commit/10d832f654d776f84457c53c97c25f9a708817c7

8 years agoMerge pull request dotnet/corefx#9715 from CIPop/test
Cristian Pop [Tue, 28 Jun 2016 21:08:34 +0000 (14:08 -0700)]
Merge pull request dotnet/corefx#9715 from CIPop/test

Adding multi-machine installation scripts and unifying test configuration.

Commit migrated from https://github.com/dotnet/corefx/commit/32b96925efce0dde416103862d0f37877918ec94

8 years agoRouting all BeginConnect calls through UnsafeBeginConnect to allow connectionless...
Cristian Pop [Tue, 28 Jun 2016 21:07:54 +0000 (14:07 -0700)]
Routing all BeginConnect calls through UnsafeBeginConnect to allow connectionless protocols to bind to the remote endpoint.

Commit migrated from https://github.com/dotnet/corefx/commit/c4181be8695d88e3fd39ddcdf75d8a0dfd97abf0

8 years agoMerge pull request dotnet/corefx#9726 from hughbe/throws-any-collections
Stephen Toub [Tue, 28 Jun 2016 20:49:05 +0000 (16:49 -0400)]
Merge pull request dotnet/corefx#9726 from hughbe/throws-any-collections

Remove uses of ThrowsAny in System.Collections test helpers

Commit migrated from https://github.com/dotnet/corefx/commit/3e1587c9051f793d80b81b5d483e87a5591092bd

8 years agoMerge pull request dotnet/corefx#9727 from dotnet-bot/UpdateDependencies20160628071739
Stephen Toub [Tue, 28 Jun 2016 20:43:33 +0000 (16:43 -0400)]
Merge pull request dotnet/corefx#9727 from dotnet-bot/UpdateDependencies20160628071739

Updating CoreFx dependencies to beta-24228-04

Commit migrated from https://github.com/dotnet/corefx/commit/b8534fad75eac4379907ec7ae6b18d6c6e1f6c5d

8 years agoRedist old build of System.Private.Uri
Eric St. John [Tue, 28 Jun 2016 20:22:34 +0000 (13:22 -0700)]
Redist old build of System.Private.Uri

System.Private.Uri is part of the shared library and cannot be updated.

Commit migrated from https://github.com/dotnet/corefx/commit/5da5eaa790a813a90d76b308f3c40e7b4a5a46a7

8 years agoImplements MetadataBuilder.GetOrAddDocumentName (dotnet/corefx#9716)
Tomáš Matoušek [Tue, 28 Jun 2016 19:46:09 +0000 (12:46 -0700)]
Implements MetadataBuilder.GetOrAddDocumentName (dotnet/corefx#9716)

* Implements MetadataBuilder.GetOrAddDocumentName

Commit migrated from https://github.com/dotnet/corefx/commit/b90d787285edec417659f1a04bbb3e00f46945b8

8 years agoAdding multi-machine scripts and unifying configuration.
Cristian Pop [Thu, 9 Jun 2016 00:32:30 +0000 (17:32 -0700)]
Adding multi-machine scripts and unifying configuration.

Commit migrated from https://github.com/dotnet/corefx/commit/c354b2d44f6988a20a9f7be4a1b996ef7fbc873a

8 years agoUpdating CoreFx dependencies to beta-24228-04
dotnet-bot [Tue, 28 Jun 2016 19:17:39 +0000 (19:17 +0000)]
Updating CoreFx dependencies to beta-24228-04

Commit migrated from https://github.com/dotnet/corefx/commit/49cacc2fede602b31ad615fe5afc48c72bab7c75

8 years agoMerge pull request dotnet/corefx#9606 from geleems/SqlClientInstanceName
Saurabh Singh [Tue, 28 Jun 2016 19:08:04 +0000 (12:08 -0700)]
Merge pull request dotnet/corefx#9606 from geleems/SqlClientInstanceName

Enabled connecntivity to connect SQL Server by instance name:

Commit migrated from https://github.com/dotnet/corefx/commit/5bb44c772c5cb942a5a332d97487d0543fbcca68

8 years agoEnabled connecntivity to connect SQL Server by instance name
Gene Lee [Tue, 28 Jun 2016 18:27:48 +0000 (11:27 -0700)]
Enabled connecntivity to connect SQL Server by instance name

Commit migrated from https://github.com/dotnet/corefx/commit/ca53c317d0e0e71d6f43f3ebdaf34273bd4e7f7f

8 years agoMerge pull request dotnet/corefx#9723 from dotnet-bot/UpdateDependencies20160628011303
Stephen Toub [Tue, 28 Jun 2016 18:21:41 +0000 (14:21 -0400)]
Merge pull request dotnet/corefx#9723 from dotnet-bot/UpdateDependencies20160628011303

Updating CoreFx dependencies to beta-24228-03

Commit migrated from https://github.com/dotnet/corefx/commit/39cc19e0426dfb3bbbb46391645b72488e187805

8 years agoRemove uses of ThrowsAny in System.Collections test helpers
Hugh Bellamy [Tue, 28 Jun 2016 18:03:46 +0000 (19:03 +0100)]
Remove uses of ThrowsAny in System.Collections test helpers

Add customization points instead
Also uses expression bodied members to enhance readability

Commit migrated from https://github.com/dotnet/corefx/commit/803d77a37ac90d9ec4c0008772aed9a4085be023

8 years agoUpdating CoreFx dependencies to beta-24228-03, CoreCLR to beta-24228-02
Stephen Toub [Tue, 28 Jun 2016 17:37:05 +0000 (13:37 -0400)]
Updating CoreFx dependencies to beta-24228-03, CoreCLR to beta-24228-02

Commit migrated from https://github.com/dotnet/corefx/commit/e640352cc92af7b2ebcb9d512f0ea446f1fbdae8

8 years agoMerge pull request dotnet/corefx#8619 from hughbe/coverage-mscorlib-instructions
Ian Hays [Tue, 28 Jun 2016 17:32:12 +0000 (10:32 -0700)]
Merge pull request dotnet/corefx#8619 from hughbe/coverage-mscorlib-instructions

Add instructions for running code coverage with locally built mscorlib

Commit migrated from https://github.com/dotnet/corefx/commit/580a985d5bdcdcf40d50eecb265912ad23fd0b9e

8 years agoAdd instructions for running code coverage with locally built mscorlib
Hugh Bellamy [Tue, 17 May 2016 19:40:43 +0000 (20:40 +0100)]
Add instructions for running code coverage with locally built mscorlib

Fixes dotnet/corefx#8381

Commit migrated from https://github.com/dotnet/corefx/commit/097f48becf8b4c645ede2c65ff2b8face98a4ee5

8 years agoMerge pull request dotnet/corefx#9717 from dotnet-bot/UpdateDependencies20160628051753
Stephen Toub [Tue, 28 Jun 2016 12:29:18 +0000 (08:29 -0400)]
Merge pull request dotnet/corefx#9717 from dotnet-bot/UpdateDependencies20160628051753

Updating External dependencies to beta-24228-00

Commit migrated from https://github.com/dotnet/corefx/commit/ef95b87c558f495b30a435c00202628f6096b6f2

8 years agoMerge pull request dotnet/corefx#9714 from dotnet-bot/UpdateDependencies20160628011150
Stephen Toub [Tue, 28 Jun 2016 12:28:40 +0000 (08:28 -0400)]
Merge pull request dotnet/corefx#9714 from dotnet-bot/UpdateDependencies20160628011150

Updating CoreFx dependencies to beta-24228-01

Commit migrated from https://github.com/dotnet/corefx/commit/2fd3d7c9831e11c683860ee8d99e042b98275cd0

8 years agoUpdating External dependencies to beta-24228-00
dotnet-bot [Tue, 28 Jun 2016 05:17:53 +0000 (05:17 +0000)]
Updating External dependencies to beta-24228-00

Commit migrated from https://github.com/dotnet/corefx/commit/deaabf86f94a0b98eb18baa34ea5a3364e8d1f47

8 years agoUpdating CoreFx dependencies to beta-24228-01
Stephen Toub [Tue, 28 Jun 2016 02:17:48 +0000 (22:17 -0400)]
Updating CoreFx dependencies to beta-24228-01

Commit migrated from https://github.com/dotnet/corefx/commit/341ba956fb9732a630e95d411a47db2f25059054

8 years agoMerge pull request dotnet/corefx#9705 from dotnet-bot/UpdateDependencies20160627071458
Stephen Toub [Tue, 28 Jun 2016 01:34:37 +0000 (21:34 -0400)]
Merge pull request dotnet/corefx#9705 from dotnet-bot/UpdateDependencies20160627071458

Updating CoreFx dependencies to beta-24227-04

Commit migrated from https://github.com/dotnet/corefx/commit/53e876593d7add736231f4ad0f9641fa3b0954ae

8 years agoUpdating CoreClr dependencies to beta-24227-03
Stephen Toub [Tue, 28 Jun 2016 00:45:23 +0000 (20:45 -0400)]
Updating CoreClr dependencies to beta-24227-03

Commit migrated from https://github.com/dotnet/corefx/commit/8aee428aa9c768eb3537061b25927843d8ccd9b4

8 years agoUpdating CoreFx dependencies to beta-24227-04
dotnet-bot [Mon, 27 Jun 2016 19:14:57 +0000 (19:14 +0000)]
Updating CoreFx dependencies to beta-24227-04

Commit migrated from https://github.com/dotnet/corefx/commit/d735e4ff358f7a88fc0c8e9be796c685f111f1b5

8 years agoMerge pull request dotnet/corefx#9708 from bartonjs/rsaopenssl_default_lazysafety
Jeremy Barton [Mon, 27 Jun 2016 22:28:55 +0000 (15:28 -0700)]
Merge pull request dotnet/corefx#9708 from bartonjs/rsaopenssl_default_lazysafety

Use the default LazyThreadSafetyMode in RSAOpenSsl.ImportParameters

Commit migrated from https://github.com/dotnet/corefx/commit/cfb9c824c358a6a0bd382df0d0ce97c936b9f141

8 years agoUse the default LazyThreadSafetyMode in RSAOpenSsl.ImportParameters
Jeremy Barton [Mon, 27 Jun 2016 21:34:41 +0000 (14:34 -0700)]
Use the default LazyThreadSafetyMode in RSAOpenSsl.ImportParameters

All of
* RSA.Create() on .NET Framework (RSACryptoServiceProvider)
* RSA.Create() on .NET Core for Windows (internal type)
* new RSACryptoServiceProvider()
* new RSACng()

produce objects whose ImportParameters method can be called once and
the object can then fan out and seemingly function with
VerifyHash/VerifyData calls on multiple parallel requests.  While this
behavior is undocumented, it is part of an implicit dependency.

Similarly, all of the places RSA.Create() on Unix (and new RSAOpenSsl())
sets up the Lazy to hold/create the key it uses the default thread safety
mode (ExecutionAndPublication) except for ImportParameters.

With this change, ImportParameters will also use the default mode, which
will eliminate Lazy<T> from the thread safety limitations of both the
public and internal versions of RSAOpenSsl.

This does not guarantee thread safety of the RSA returned object, but
puts it in the same state as the peer types (key reassignment is effectively
atomic, and key use may or may not fail under parallel requests).

Commit migrated from https://github.com/dotnet/corefx/commit/757da86032f218c0bb22c5a41e3c725bc6e86418

8 years agoMerge pull request dotnet/corefx#9640 from mellinoe/system.composition.nupkg
Eric Mellino [Mon, 27 Jun 2016 20:19:04 +0000 (13:19 -0700)]
Merge pull request dotnet/corefx#9640 from mellinoe/system.composition.nupkg

Add packaging for System.Composition.* libraries

Commit migrated from https://github.com/dotnet/corefx/commit/b547adc073b39c45c56eb8fe9d2a0b9b1059d2ff

8 years agoAdd a meta-package for System.Composition
Eric Mellino [Mon, 27 Jun 2016 18:55:01 +0000 (11:55 -0700)]
Add a meta-package for System.Composition

Commit migrated from https://github.com/dotnet/corefx/commit/02e59e6c09137dc4fcaadc3e0253a6c17ad58c58

8 years agoAdd pkgprojs for System.Composition.* libraries
Eric Mellino [Mon, 13 Jun 2016 21:23:59 +0000 (14:23 -0700)]
Add pkgprojs for System.Composition.* libraries

Commit migrated from https://github.com/dotnet/corefx/commit/e132992cbc88c0085006e0f00f16e9e4b1373c2a

8 years agoMerge pull request dotnet/corefx#9696 from dotnet-bot/UpdateDependencies20160627011815
Stephen Toub [Mon, 27 Jun 2016 14:08:24 +0000 (10:08 -0400)]
Merge pull request dotnet/corefx#9696 from dotnet-bot/UpdateDependencies20160627011815

Updating CoreFx dependencies to beta-24227-03

Commit migrated from https://github.com/dotnet/corefx/commit/61cfbb03736c742a168ad6340cf02a6a4e21966f

8 years agoUpdating CoreFx dependencies to beta-24227-03
dotnet-bot [Mon, 27 Jun 2016 13:18:15 +0000 (13:18 +0000)]
Updating CoreFx dependencies to beta-24227-03

Commit migrated from https://github.com/dotnet/corefx/commit/46553ef5796647cf7f90bf128b97e13331f003cd

8 years agoMerge pull request dotnet/corefx#9693 from dotnet-bot/UpdateDependencies20160627052044
Stephen Toub [Mon, 27 Jun 2016 11:52:49 +0000 (07:52 -0400)]
Merge pull request dotnet/corefx#9693 from dotnet-bot/UpdateDependencies20160627052044

Updating External dependencies to beta-24227-00

Commit migrated from https://github.com/dotnet/corefx/commit/a3fcfca7505791b3bb84af19c73379cb28dd1b7b

8 years agoUpdate dependencies
Stephen Toub [Mon, 27 Jun 2016 11:00:13 +0000 (07:00 -0400)]
Update dependencies

Commit migrated from https://github.com/dotnet/corefx/commit/5a6311687ee04bc625a220f83374ecd7ac78ae98

8 years agoMerge pull request dotnet/corefx#9691 from dotnet-bot/UpdateDependencies20160627121207
Stephen Toub [Mon, 27 Jun 2016 10:10:43 +0000 (06:10 -0400)]
Merge pull request dotnet/corefx#9691 from dotnet-bot/UpdateDependencies20160627121207

Updating CoreClr dependencies to beta-24227-01

Commit migrated from https://github.com/dotnet/corefx/commit/8a6a7affd5d85c550b6d2aef00a27829275920ff

8 years agoMake tests match corefx behavior.
Stephen A. Imhoff [Thu, 16 Jun 2016 06:10:54 +0000 (15:10 +0900)]
Make tests match corefx behavior.

Commit migrated from https://github.com/dotnet/corefx/commit/983a4e59708e940402c3fa56944e99ec117593b2

8 years agoUpdating CoreFx dependencies to beta-24227-01
Stephen Toub [Mon, 27 Jun 2016 02:31:14 +0000 (22:31 -0400)]
Updating CoreFx dependencies to beta-24227-01

Commit migrated from https://github.com/dotnet/corefx/commit/b948f02380e97704e01ae4ebe71d786a3a9f72b3

8 years agoUpdating CoreClr dependencies to beta-24227-01
dotnet-bot [Mon, 27 Jun 2016 00:12:07 +0000 (00:12 +0000)]
Updating CoreClr dependencies to beta-24227-01

Commit migrated from https://github.com/dotnet/corefx/commit/5e6505258a200acbc27edcd12061749bac65e201

8 years agoMerge pull request dotnet/corefx#9689 from dotnet-bot/UpdateDependencies20160626071445
Stephen Toub [Sun, 26 Jun 2016 22:26:42 +0000 (18:26 -0400)]
Merge pull request dotnet/corefx#9689 from dotnet-bot/UpdateDependencies20160626071445

Updating CoreFx dependencies to beta-24226-04

Commit migrated from https://github.com/dotnet/corefx/commit/cb2bc57b601a15fe0c1585cafcde31748259e79b

8 years agoUpdating CoreFx dependencies to beta-24226-04
dotnet-bot [Sun, 26 Jun 2016 19:14:44 +0000 (19:14 +0000)]
Updating CoreFx dependencies to beta-24226-04

Commit migrated from https://github.com/dotnet/corefx/commit/af366060d798874f1eead8de1959ff122807df6a

8 years agoMerge pull request dotnet/corefx#9687 from dotnet-bot/UpdateDependencies20160626041328
Stephen Toub [Sun, 26 Jun 2016 19:50:24 +0000 (15:50 -0400)]
Merge pull request dotnet/corefx#9687 from dotnet-bot/UpdateDependencies20160626041328

Updating CoreClr dependencies to beta-24226-03

Commit migrated from https://github.com/dotnet/corefx/commit/e0e94fe282ee64250b19fb24b2a34a2e0db397bc

8 years agoUpdating CoreClr dependencies to beta-24226-03
dotnet-bot [Sun, 26 Jun 2016 16:13:28 +0000 (16:13 +0000)]
Updating CoreClr dependencies to beta-24226-03

Commit migrated from https://github.com/dotnet/corefx/commit/59382b372f92cc60a1219f5020ae11758f9227ff

8 years agoMerge pull request dotnet/corefx#9686 from dotnet-bot/UpdateDependencies20160626011422
Stephen Toub [Sun, 26 Jun 2016 15:15:35 +0000 (11:15 -0400)]
Merge pull request dotnet/corefx#9686 from dotnet-bot/UpdateDependencies20160626011422

Updating CoreFx dependencies to beta-24226-03

Commit migrated from https://github.com/dotnet/corefx/commit/066f7654e7a06ae065b49e27b700278b5794a523

8 years agoUpdating CoreFx dependencies to beta-24226-03
dotnet-bot [Sun, 26 Jun 2016 13:14:22 +0000 (13:14 +0000)]
Updating CoreFx dependencies to beta-24226-03

Commit migrated from https://github.com/dotnet/corefx/commit/6c4ecdb7ce67800d1a7aa3e9192f0bcf12d31a50

8 years agoMerge pull request dotnet/corefx#9685 from dotnet-bot/UpdateDependencies20160626071549
Stephen Toub [Sun, 26 Jun 2016 12:10:11 +0000 (08:10 -0400)]
Merge pull request dotnet/corefx#9685 from dotnet-bot/UpdateDependencies20160626071549

Updating CoreFx dependencies to beta-24226-02

Commit migrated from https://github.com/dotnet/corefx/commit/fc587b78bb3d9501f58f5cf8349f02e7f93a2fdf

8 years agoCleanup some System.Reflection.Emit tests (dotnet/corefx#9520)
Hugh Bellamy [Sun, 26 Jun 2016 11:50:22 +0000 (12:50 +0100)]
Cleanup some System.Reflection.Emit tests (dotnet/corefx#9520)

* Cleanup AssemblyBuilder tests

* Cleanup ConstructorBuilder tests

* Cleanup EnumBuilder tests

Commit migrated from https://github.com/dotnet/corefx/commit/69a7e2189440d8c9b8fae752156c474c9510a8f5

8 years agoMerge pull request dotnet/corefx#8953 from hughbe/linq-params
Stephen Toub [Sun, 26 Jun 2016 11:46:58 +0000 (07:46 -0400)]
Merge pull request dotnet/corefx#8953 from hughbe/linq-params

Add a few more parameter names to System.Linq.Expressions exceptions

Commit migrated from https://github.com/dotnet/corefx/commit/c959baeafa54d65dfce53b1214381ed23a31ba29

8 years agoUpdate depencies, corefx to 226-02 and coreclr to 226-01
Stephen Toub [Sun, 26 Jun 2016 11:20:52 +0000 (07:20 -0400)]
Update depencies, corefx to 226-02 and coreclr to 226-01

Commit migrated from https://github.com/dotnet/corefx/commit/10ae0d632b8f36458051118e5561f72f4a69b84e

8 years agoMerge pull request dotnet/corefx#9679 from dotnet-bot/UpdateDependencies20160625011203
Stephen Toub [Sun, 26 Jun 2016 02:11:49 +0000 (22:11 -0400)]
Merge pull request dotnet/corefx#9679 from dotnet-bot/UpdateDependencies20160625011203

Updating CoreFx dependencies to beta-24225-03

Commit migrated from https://github.com/dotnet/corefx/commit/342c3c37de937f1508ed419ff0ffd75aabc080ba

8 years agoUpdating CoreFx dependencies to beta-24225-03
Stephen Toub [Sat, 25 Jun 2016 23:01:45 +0000 (19:01 -0400)]
Updating CoreFx dependencies to beta-24225-03

Commit migrated from https://github.com/dotnet/corefx/commit/f61cc53a2f1053118d5270e9ff3b72e2c6624992

8 years agoMerge pull request dotnet/corefx#9681 from dotnet-bot/UpdateDependencies20160625041236
Stephen Toub [Sat, 25 Jun 2016 22:55:45 +0000 (18:55 -0400)]
Merge pull request dotnet/corefx#9681 from dotnet-bot/UpdateDependencies20160625041236

Updating CoreClr dependencies to beta-24225-03

Commit migrated from https://github.com/dotnet/corefx/commit/bcbbe0483708ed8d5dfa69b9de722e0e53f5aebc

8 years agoUpdate CoreCLR package to 1.0.4
Eric St. John [Sat, 25 Jun 2016 16:18:20 +0000 (09:18 -0700)]
Update CoreCLR package to 1.0.4

Commit migrated from https://github.com/dotnet/corefx/commit/bdef9ca0daef20fee0f9d092a1af01f06fdcedad

8 years agoUpdating CoreClr dependencies to beta-24225-03
dotnet-bot [Sat, 25 Jun 2016 16:12:36 +0000 (16:12 +0000)]
Updating CoreClr dependencies to beta-24225-03

Commit migrated from https://github.com/dotnet/corefx/commit/fa5cf781afdaae99c973f78de3c8d020b569de5a

8 years agoMerge pull request dotnet/corefx#9676 from dotnet-bot/UpdateDependencies20160625071331
Stephen Toub [Sat, 25 Jun 2016 12:54:14 +0000 (08:54 -0400)]
Merge pull request dotnet/corefx#9676 from dotnet-bot/UpdateDependencies20160625071331

Updating CoreFx dependencies to beta-24225-02

Commit migrated from https://github.com/dotnet/corefx/commit/305109aa486405e8b092349cd365fa4b02c1cc8a

8 years agoUpdating CoreFx dependencies to beta-24225-02
dotnet-bot [Sat, 25 Jun 2016 07:13:31 +0000 (07:13 +0000)]
Updating CoreFx dependencies to beta-24225-02

Commit migrated from https://github.com/dotnet/corefx/commit/6978404cd54fe063b7482718c6dab979b5011792

8 years agoRefactor metadata serializers (dotnet/corefx#9588)
Tomáš Matoušek [Fri, 24 Jun 2016 22:50:58 +0000 (15:50 -0700)]
Refactor metadata serializers (dotnet/corefx#9588)

* Refactor metadata serializers

* Split file

* Renames

* More API testing and polish

Commit migrated from https://github.com/dotnet/corefx/commit/d03addae82910375f093dc896ce53528ae2ca443

8 years agoMerge pull request dotnet/corefx#9665 from stephentoub/fix_contentlength
Stephen Toub [Fri, 24 Jun 2016 21:41:22 +0000 (17:41 -0400)]
Merge pull request dotnet/corefx#9665 from stephentoub/fix_contentlength

Fix HttpRequestMessage reuse handling in HttpClientHandler on Unix

Commit migrated from https://github.com/dotnet/corefx/commit/313cf2a5c883dd3cc73cb382a465ed2f9f70997c

8 years agoMerge pull request dotnet/corefx#9668 from dotnet-bot/UpdateDependencies20160624041118
Stephen Toub [Fri, 24 Jun 2016 19:16:38 +0000 (15:16 -0400)]
Merge pull request dotnet/corefx#9668 from dotnet-bot/UpdateDependencies20160624041118

Updating CoreClr dependencies to beta-24224-03

Commit migrated from https://github.com/dotnet/corefx/commit/330a780e2f9e6e1be2d12d23cb48186890eda996

8 years agoMerge pull request dotnet/corefx#9456 from stephentoub/registry_pal
Stephen Toub [Fri, 24 Jun 2016 18:09:12 +0000 (14:09 -0400)]
Merge pull request dotnet/corefx#9456 from stephentoub/registry_pal

Introduce a mini-PAL into Microsoft.Win32.Registry

Commit migrated from https://github.com/dotnet/corefx/commit/17e0a681c1ef15da2605b4088cee79f28ef8da8b

8 years agoMerge pull request dotnet/corefx#9661 from gkhanna79/Fix5837FX
Gaurav Khanna [Fri, 24 Jun 2016 16:50:19 +0000 (09:50 -0700)]
Merge pull request dotnet/corefx#9661 from gkhanna79/Fix5837FX

Add DefaultContext fallback validation tests

Commit migrated from https://github.com/dotnet/corefx/commit/18059556263c857b9cb5174699e3c39bdc9fcc39

8 years agoMerge pull request dotnet/corefx#9667 from stephentoub/update_buildtools
Stephen Toub [Fri, 24 Jun 2016 16:11:58 +0000 (12:11 -0400)]
Merge pull request dotnet/corefx#9667 from stephentoub/update_buildtools

Update buildtools to 524-01

Commit migrated from https://github.com/dotnet/corefx/commit/a9744db98444bd35af4a21066226178578252805

8 years agoUpdating CoreClr dependencies to beta-24224-03
dotnet-bot [Fri, 24 Jun 2016 16:11:18 +0000 (16:11 +0000)]
Updating CoreClr dependencies to beta-24224-03

Commit migrated from https://github.com/dotnet/corefx/commit/27ee8e50a790b7975dacd468468e5a2d730a51a8

8 years agoMerge pull request dotnet/corefx#9663 from dotnet-bot/UpdateDependencies20160624083853
Stephen Toub [Fri, 24 Jun 2016 16:07:45 +0000 (12:07 -0400)]
Merge pull request dotnet/corefx#9663 from dotnet-bot/UpdateDependencies20160624083853

Updating CoreClr dependencies to beta-24224-02

Commit migrated from https://github.com/dotnet/corefx/commit/adf83435b142847789c1b3036ff2907d9cd424ae

8 years agoMerge pull request dotnet/corefx#9666 from stephentoub/fix_typos
Stephen Toub [Fri, 24 Jun 2016 16:07:23 +0000 (12:07 -0400)]
Merge pull request dotnet/corefx#9666 from stephentoub/fix_typos

Fix typos in NormalizeString P/Invoke signature

Commit migrated from https://github.com/dotnet/corefx/commit/9e1d5b905e4bbca6b0725a79130a4ee17e45965f

8 years agoMerge pull request dotnet/corefx#9633 from vancem/DiagnosticSourceAddKeywords
Vance Morrison [Fri, 24 Jun 2016 15:29:32 +0000 (08:29 -0700)]
Merge pull request dotnet/corefx#9633 from vancem/DiagnosticSourceAddKeywords

Add keywords for two common event specifications: ASP.NET and SQL

Commit migrated from https://github.com/dotnet/corefx/commit/fe160dcd3d5649a0f51360b674558d95a9007917

8 years agoAdd tests for DefaultContext fallback resolution
Gaurav Khanna [Fri, 24 Jun 2016 04:42:13 +0000 (21:42 -0700)]
Add tests for DefaultContext fallback resolution

Commit migrated from https://github.com/dotnet/corefx/commit/1136c7d89bc63916794f7f95b470c3c5ef124a36

8 years agoFix merge conflicts
Stephen Toub [Fri, 24 Jun 2016 13:56:12 +0000 (09:56 -0400)]
Fix merge conflicts

Commit migrated from https://github.com/dotnet/corefx/commit/d438a14ca18adad326a6bc2c5f9523fb116e477e

8 years agoUpdating CoreClr dependencies to beta-24224-02
dotnet-bot [Fri, 24 Jun 2016 08:38:53 +0000 (08:38 +0000)]
Updating CoreClr dependencies to beta-24224-02

Commit migrated from https://github.com/dotnet/corefx/commit/bd5447241a1c900b0be35d1a7ea0f537ed671de7

8 years agoUpdate buildtools to 524-01
Stephen Toub [Fri, 24 Jun 2016 13:38:24 +0000 (09:38 -0400)]
Update buildtools to 524-01

Commit migrated from https://github.com/dotnet/corefx/commit/b49e51df9b4f8ad36418d297b02f3fabf76e1156

8 years agoFix typos in NormalizeString P/Invoke signature
Stephen Toub [Fri, 24 Jun 2016 13:29:41 +0000 (09:29 -0400)]
Fix typos in NormalizeString P/Invoke signature

Commit migrated from https://github.com/dotnet/corefx/commit/a0f02a0346f53a50f65b7b36959ce8da64a1509a

8 years agoFix HttpRequestMessage reuse handling in HttpClientHandler on Unix
Stephen Toub [Fri, 24 Jun 2016 13:23:57 +0000 (09:23 -0400)]
Fix HttpRequestMessage reuse handling in HttpClientHandler on Unix

HttpRequestMessages are meant to be used for a single request.  However, that checking is done by HttpClient rather than by HttpClientHandler.  As a result, if code bypasses HttpClient, e.g. by using HttpMessageInvoker or by using a custom HttpMessageHandler sitting between the HttpClient and the HttpClientHandler, the same HttpRequestMessage can be used multiple times without an exception being thrown warning of the invalid usage.  And on Windows, things happen to work, but with our Unix implementation was never expecting this scenario and doesn't work well with it:
- The handler is explicitly disposing of the request content stream rather than leaving that up to the request content's disposal to handle.
- The handler is removing the Content-Length header from the request message content, as a simple way to avoid overriding the Content-Length header that libcurl itself may send based on previous configuration.
- The handler is using ReadAsStreamAsync to get the request stream to send, but ReadAsStreamAsync caches the returned stream, so if the same request message is reused with the same Content, the stream will have already advanced to the end of the stream, and when the message gets reused, we won't have content to send.

This commit fixes that:
- We now don't dispose the request content stream.  That'll be left up to the request content's disposal.
- We now don't remove the ContentLength header from the request message.  We instead just check as we're writing out the headers whether the header is Content-Length, skipping it if it is.
- We now store the original position of a seekable stream that's provided to us, and at the end of the request, rather than disposing of the stream, we rewind to the original position if it exists.  (If the stream isn't seekable, reusing the request message wouldn't be possible anyway.)

This last point also fixes another theoretical issue.  When libcurl wants to go back to the beginning of the stream (e.g. in a redirect scenario where it needs to rewind), it asks us to seek back to the beginning.  We're currently seeking back to the exact position asked for.  But the stream may have come in to us already advanced beyond 0, in which case we need to seek back to the requested offset plus that original position rather than just the requested offset.

And in doing this, I noticed that we were inadvertently allowing a set of closure/delegate allocations due to inadvertently using some captured state in a place where we were trying to avoid that.  I fixed that as well.

We were also marking everything complete before we'd cleaned up all resources, which meant that any failures from such cleanup would go unnoticed.  I've fixed that to ensure we clean up all state before we officially declare the async operation done.

Commit migrated from https://github.com/dotnet/corefx/commit/650cb2698f02635ea69da3ec9637f6ad9e7229c5

8 years agoMerge pull request dotnet/corefx#9660 from dotnet-bot/UpdateDependencies20160624051755
Stephen Toub [Fri, 24 Jun 2016 10:56:16 +0000 (06:56 -0400)]
Merge pull request dotnet/corefx#9660 from dotnet-bot/UpdateDependencies20160624051755

Updating External dependencies to beta-24224-00

Commit migrated from https://github.com/dotnet/corefx/commit/b129c662158898f38c0bb2726475e68e2ea78f3a

8 years agoMerge pull request dotnet/corefx#9662 from dotnet-bot/UpdateDependencies20160624071442
Stephen Toub [Fri, 24 Jun 2016 10:55:51 +0000 (06:55 -0400)]
Merge pull request dotnet/corefx#9662 from dotnet-bot/UpdateDependencies20160624071442

Updating CoreFx dependencies to beta-24224-02

Commit migrated from https://github.com/dotnet/corefx/commit/5470ee25a81d50ab2f61dbe428e0c84f25e9397d

8 years agoUpdating CoreFx dependencies to beta-24224-02
dotnet-bot [Fri, 24 Jun 2016 07:14:41 +0000 (07:14 +0000)]
Updating CoreFx dependencies to beta-24224-02

Commit migrated from https://github.com/dotnet/corefx/commit/57f7571be7a10ad5c11b5a93a4fcb5f42a656047

8 years agoMerge pull request dotnet/corefx#9646 from mellinoe/override-init-tools-rid
Eric Mellino [Fri, 24 Jun 2016 05:35:58 +0000 (22:35 -0700)]
Merge pull request dotnet/corefx#9646 from mellinoe/override-init-tools-rid

Allow override of __DOTNET_PKG used for Tools init

Commit migrated from https://github.com/dotnet/corefx/commit/690533bcf454c8005736ce578b505ccbc9dff63e

8 years agoUpdating External dependencies to beta-24224-00
dotnet-bot [Fri, 24 Jun 2016 05:17:55 +0000 (05:17 +0000)]
Updating External dependencies to beta-24224-00

Commit migrated from https://github.com/dotnet/corefx/commit/c43c5e9a6426d446c071fea8d831da97c4608c49

8 years agoMerge pull request dotnet/corefx#9648 from dotnet-bot/UpdateDependencies20160623100656
Stephen Toub [Fri, 24 Jun 2016 01:17:29 +0000 (21:17 -0400)]
Merge pull request dotnet/corefx#9648 from dotnet-bot/UpdateDependencies20160623100656

Updating CoreFx dependencies to beta-24223-09

Commit migrated from https://github.com/dotnet/corefx/commit/9da7e8b2eb7ee242240872e7d09a92ef865dc278

8 years agoUpdating CoreFx dependencies to beta-24223-09
dotnet-bot [Thu, 23 Jun 2016 22:06:56 +0000 (22:06 +0000)]
Updating CoreFx dependencies to beta-24223-09

Commit migrated from https://github.com/dotnet/corefx/commit/7d22459ac2c92ed931dea3e0f90b16351c254e4b