platform/upstream/dotnet/runtime.git
8 years agoUpdating CoreFx dependencies to beta-24310-04
Stephen Toub [Sun, 10 Jul 2016 22:44:59 +0000 (18:44 -0400)]
Updating CoreFx dependencies to beta-24310-04

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

8 years agoUpdating External dependencies to beta-24310-00
Stephen Toub [Sun, 10 Jul 2016 22:42:49 +0000 (18:42 -0400)]
Updating External dependencies to beta-24310-00

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

8 years agoMake Stack<T>.Enumerator.Current inlineable by the JIT (dotnet/corefx#9942)
James Ko [Sun, 10 Jul 2016 17:26:19 +0000 (13:26 -0400)]
Make Stack<T>.Enumerator.Current inlineable by the JIT (dotnet/corefx#9942)

* Make Stack<T>.Enumerator.Current inlineable by the JIT

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

8 years agoDirect readers to the docs for .NET Standard (dotnet/corefx#9707)
Rich Lander [Sun, 10 Jul 2016 06:13:34 +0000 (23:13 -0700)]
Direct readers to the docs for .NET Standard (dotnet/corefx#9707)

* Direct readers to the docs

* Update net-platform-standard.md

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

8 years agoMerge pull request dotnet/corefx#9930 from dotnet-bot/UpdateDependencies20160709071418
Stephen Toub [Sat, 9 Jul 2016 11:30:01 +0000 (07:30 -0400)]
Merge pull request dotnet/corefx#9930 from dotnet-bot/UpdateDependencies20160709071418

Updating CoreFx dependencies to beta-24309-02

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

8 years agoUpdating CoreFx dependencies to beta-24309-02
dotnet-bot [Sat, 9 Jul 2016 07:14:18 +0000 (07:14 +0000)]
Updating CoreFx dependencies to beta-24309-02

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

8 years agoMerge pull request dotnet/corefx#9923 from dotnet-bot/UpdateDependencies20160708111732
Stephen Toub [Sat, 9 Jul 2016 01:21:06 +0000 (21:21 -0400)]
Merge pull request dotnet/corefx#9923 from dotnet-bot/UpdateDependencies20160708111732

Updating External dependencies to beta-24308-00

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

8 years agoUpdating External dependencies to beta-24308-00
dotnet-bot [Fri, 8 Jul 2016 23:17:32 +0000 (23:17 +0000)]
Updating External dependencies to beta-24308-00

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

8 years agoMerge pull request dotnet/corefx#9856 from jamesqo/stringptr-tests
Stephen Toub [Fri, 8 Jul 2016 21:13:45 +0000 (17:13 -0400)]
Merge pull request dotnet/corefx#9856 from jamesqo/stringptr-tests

Add some more test coverage for the new string(char*) impl

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

8 years agoMerge pull request dotnet/corefx#9763 from Priya91/runtimeinformation
Lakshmi Priya [Fri, 8 Jul 2016 20:48:45 +0000 (13:48 -0700)]
Merge pull request dotnet/corefx#9763 from Priya91/runtimeinformation

Return file version for FrameworkDescription.

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

8 years agoMerge pull request dotnet/corefx#9849 from svick/tcpclient-null-client
Cristian Pop [Fri, 8 Jul 2016 18:25:20 +0000 (11:25 -0700)]
Merge pull request dotnet/corefx#9849 from svick/tcpclient-null-client

Make sure TcpClient properties do not throw when the underlying Socket is null

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

8 years agoMerge pull request dotnet/corefx#9909 from prajwal-aithal/devel/arm-ci-job-setup
Lakshmi Priya [Fri, 8 Jul 2016 17:39:30 +0000 (10:39 -0700)]
Merge pull request dotnet/corefx#9909 from prajwal-aithal/devel/arm-ci-job-setup

ARM-CI: Change Linux ARM Emulator job setup

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

8 years agoMerge pull request dotnet/corefx#9906 from prajwal-aithal/devel/arm-ci-managed
Lakshmi Priya [Fri, 8 Jul 2016 17:38:03 +0000 (10:38 -0700)]
Merge pull request dotnet/corefx#9906 from prajwal-aithal/devel/arm-ci-managed

ARM-CI: Enable build of managed components

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

8 years agoARM-CI: Change Linux ARM Emulator job setup
Prajwal A N [Fri, 8 Jul 2016 01:05:39 +0000 (10:05 +0900)]
ARM-CI: Change Linux ARM Emulator job setup

* Made the Linux ARM Emulator PR job automatic
  under the name linuxarmemulator_cross_<configuration>_prtest
* Added a push-based job for non-PR configuration
  under the name linuxarmemulator_cross_<configuration>

Signed-off-by: Prajwal A N <an.prajwal@samsung.com>
Commit migrated from https://github.com/dotnet/corefx/commit/75594f0cd303c3713e55a9d400ecc07b39b3ad83

8 years agoMerge pull request dotnet/corefx#9886 from karajas/updateCsProj
Karthik Rajasekaran [Fri, 8 Jul 2016 02:52:49 +0000 (19:52 -0700)]
Merge pull request dotnet/corefx#9886 from karajas/updateCsProj

Add TestTFMs for filtering to builds files

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

8 years agoMerge pull request dotnet/corefx#9860 from jamesqo/patch-2
David Shulman [Fri, 8 Jul 2016 02:33:22 +0000 (19:33 -0700)]
Merge pull request dotnet/corefx#9860 from jamesqo/patch-2

Avoid repeated char[] allocations in CheckForColonInFirstPathSegment

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

8 years agoARM-CI: Enable build of managed components
Prajwal A N [Thu, 7 Jul 2016 22:45:34 +0000 (07:45 +0900)]
ARM-CI: Enable build of managed components

To ensure that the native and managed components
are built on the same source code, enable managed
build as well. Tests are not needed

Signed-off-by: Prajwal A N <an.prajwal@samsung.com>
Commit migrated from https://github.com/dotnet/corefx/commit/19773a26afd1a3557912b46e4e58df09e392349c

8 years agoTest TcpClient.ExclusiveAddressUse only on Windows
Petr Onderka [Thu, 7 Jul 2016 16:28:27 +0000 (17:28 +0100)]
Test TcpClient.ExclusiveAddressUse only on Windows

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

8 years agoMake sure TcpClient properties do not throw when the underlying Socket is null
Petr Onderka [Tue, 5 Jul 2016 15:43:02 +0000 (17:43 +0200)]
Make sure TcpClient properties do not throw when the underlying Socket is null

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

8 years agoAvoid repeated char[] allocations in CheckForColonInFirstPathSegment
James Ko [Fri, 8 Jul 2016 00:57:05 +0000 (20:57 -0400)]
Avoid repeated char[] allocations in CheckForColonInFirstPathSegment

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

8 years agoMerge pull request dotnet/corefx#9895 from svick/tcpclient-eau
Stephen Toub [Fri, 8 Jul 2016 00:41:03 +0000 (20:41 -0400)]
Merge pull request dotnet/corefx#9895 from svick/tcpclient-eau

Make sure TcpClient.ExclusiveAddressUse throws on Unix

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

8 years agoMerge pull request dotnet/corefx#9903 from jasonwilliams200OK/patches/freebsd
Stephen Toub [Fri, 8 Jul 2016 00:40:07 +0000 (20:40 -0400)]
Merge pull request dotnet/corefx#9903 from jasonwilliams200OK/patches/freebsd

Define _BSD_SOURCE macro for getline on FreeBSD

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

8 years agoMerge pull request dotnet/corefx#9899 from josteink/freebsd-enodata
Stephen Toub [Fri, 8 Jul 2016 00:39:57 +0000 (20:39 -0400)]
Merge pull request dotnet/corefx#9899 from josteink/freebsd-enodata

Fix undefined ENODATA on FreeBSD.

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

8 years agoRespond to PR feedback.
Lakshmi Priya Sekar [Tue, 5 Jul 2016 19:02:22 +0000 (12:02 -0700)]
Respond to PR feedback.

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

8 years agoAdd TestTFMs for filtering to builds files
Karthik Rajasekaran [Thu, 7 Jul 2016 11:01:49 +0000 (04:01 -0700)]
Add TestTFMs for filtering to builds files

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

8 years agoReturn fileversion for FrameworkDescription.
Lakshmi Priya Sekar [Wed, 29 Jun 2016 21:16:38 +0000 (14:16 -0700)]
Return fileversion for FrameworkDescription.

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

8 years agoMerge pull request dotnet/corefx#9898 from dotnet-bot/UpdateDependencies20160707073516
Stephen Toub [Thu, 7 Jul 2016 22:23:59 +0000 (18:23 -0400)]
Merge pull request dotnet/corefx#9898 from dotnet-bot/UpdateDependencies20160707073516

Updating CoreFx dependencies to beta-24307-04

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

8 years agoMerge pull request dotnet/corefx#9813 from svick/dcs-exception-escaping
Matt Connew [Thu, 7 Jul 2016 21:41:19 +0000 (14:41 -0700)]
Merge pull request dotnet/corefx#9813 from svick/dcs-exception-escaping

Escape Messages of InnerExceptions in DataContractSerializer

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

8 years agoMerge pull request dotnet/corefx#9718 from prajwal-aithal/devel/arm-emulator-ci
Lakshmi Priya [Thu, 7 Jul 2016 21:27:27 +0000 (14:27 -0700)]
Merge pull request dotnet/corefx#9718 from prajwal-aithal/devel/arm-emulator-ci

ARM-CI: Add CI checks for Linux ARM Emulator

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

8 years agoMerge pull request dotnet/corefx#9878 from davidsh/contenttype_fix
David Shulman [Thu, 7 Jul 2016 19:51:22 +0000 (12:51 -0700)]
Merge pull request dotnet/corefx#9878 from davidsh/contenttype_fix

Fix HttpWebResponse.ContentType when response has invalid headers

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

8 years agoFix undefined ENODATA on FreeBSD.
Jostein Kjønigsen [Thu, 7 Jul 2016 19:45:39 +0000 (21:45 +0200)]
Fix undefined ENODATA on FreeBSD.

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

8 years agoUpdating CoreFx dependencies to beta-24307-04
dotnet-bot [Thu, 7 Jul 2016 19:35:15 +0000 (19:35 +0000)]
Updating CoreFx dependencies to beta-24307-04

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

8 years agoDefine _BSD_SOURCE macro for getline on FreeBSD
Peter [Thu, 7 Jul 2016 18:27:46 +0000 (21:27 +0300)]
Define _BSD_SOURCE macro for getline on FreeBSD

According to manpage:

https://www.freebsd.org/cgi/man.cgi?query=getline&apropos=0&sektion=0&manpath=FreeBSD+8.2-RELEASE&format=html

FreeBSD requires either `_WITH_GETLINE`, `_BSD_SOURCE` or `_GNU_SOURCE`
defined to make `getline` available via `<stdio.h>`.

By adding a definition in CMake is the cleanest way as otherwise we get:

> macro name is a reserved identifier

and muting it with `pragma` will be a messier solution
(e.g. dotnet/corefx@ba88726).

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

8 years agoDispose temporary Socket
Petr Onderka [Thu, 7 Jul 2016 18:16:59 +0000 (20:16 +0200)]
Dispose temporary Socket

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

8 years agoMerge pull request dotnet/corefx#9879 from MattGal/Support_native_compilation
Matt Galbraith [Thu, 7 Jul 2016 17:59:04 +0000 (10:59 -0700)]
Merge pull request dotnet/corefx#9879 from MattGal/Support_native_compilation

Add UWP platform and TestILC 1.4 dependencies

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

8 years agoMake sure TcpClient.ExclusiveAddressUse throws on Unix
Petr Onderka [Thu, 7 Jul 2016 16:14:50 +0000 (17:14 +0100)]
Make sure TcpClient.ExclusiveAddressUse throws on Unix

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

8 years agoMerge pull request dotnet/corefx#9888 from stephentoub/valuetask_tests
Stephen Toub [Thu, 7 Jul 2016 13:18:32 +0000 (09:18 -0400)]
Merge pull request dotnet/corefx#9888 from stephentoub/valuetask_tests

Fix ValueTaskTests deadlocking on a single core machine

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

8 years agoFix ValueTaskTests deadlocking on a single core machine
Stephen Toub [Thu, 7 Jul 2016 11:59:18 +0000 (07:59 -0400)]
Fix ValueTaskTests deadlocking on a single core machine

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

8 years agoMerge pull request dotnet/corefx#9794 from tarekgh/FilterToTestTFM
Karthik Rajasekaran [Thu, 7 Jul 2016 11:36:33 +0000 (04:36 -0700)]
Merge pull request dotnet/corefx#9794 from tarekgh/FilterToTestTFM

Support filtering to TestTFM

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

8 years agoMerge pull request dotnet/corefx#9881 from dotnet-bot/UpdateDependencies20160707061822
Stephen Toub [Thu, 7 Jul 2016 10:13:39 +0000 (06:13 -0400)]
Merge pull request dotnet/corefx#9881 from dotnet-bot/UpdateDependencies20160707061822

Updating External dependencies to beta-24307-00

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

8 years agoUpdating External dependencies to beta-24307-00
dotnet-bot [Thu, 7 Jul 2016 06:18:22 +0000 (06:18 +0000)]
Updating External dependencies to beta-24307-00

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

8 years agoAdd UWP platform and TestILC 1.4 dependencies to test-runtime to support .NET Native...
Matt Galbraith [Wed, 22 Jun 2016 02:25:48 +0000 (19:25 -0700)]
Add UWP platform and TestILC 1.4 dependencies to test-runtime to support .NET Native compilation

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

8 years agoARM-CI: Add CI checks for Linux ARM Emulator
Prajwal A N [Mon, 27 Jun 2016 03:55:00 +0000 (12:55 +0900)]
ARM-CI: Add CI checks for Linux ARM Emulator

Some changes to the native part of corefx breaks builds
for the Linux ARM Emulator. Thus adding CI checks for
native part of corefx using cross build based on the
emulator rootfs.

Signed-off-by: Prajwal A N <an.prajwal@samsung.com>
Commit migrated from https://github.com/dotnet/corefx/commit/b5e214ef8c63a16da807115e3c4643b38df819a2

8 years agoFix HttpWebResponse.ContentType when response has invalid headers
David Shulman [Wed, 6 Jul 2016 21:30:04 +0000 (14:30 -0700)]
Fix HttpWebResponse.ContentType when response has invalid headers

The HttpWebResponse.ContentType property is supposed to return a string value with the response's `Content-Type` header value. Even if the response header is considered non-conformant with RFC7231, the value is returned as-is as received on the wire.

In .NET Core, HttpWebRequest/HttpWebResponse is implemented as a wrapper around HttpClient. HttpClient has a strongly-typed model for headers. The current implementation of HttpWebResponse.ContentType was trying to use the strongly typed header from HttpClient. In cases where the header was malformed, it was returning empty string. This was a difference in behavior from .NET Framework.

The fix is to use TryGetValues() to retrieve the raw response header value for the 'Content-Type' header. This will result in compatible behavior with .NET Framework.

Fixes dotnet/corefx#9433.

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

8 years agoMerge pull request dotnet/corefx#9861 from jamesqo/patch-3
Cristian Pop [Wed, 6 Jul 2016 18:08:20 +0000 (11:08 -0700)]
Merge pull request dotnet/corefx#9861 from jamesqo/patch-3

Remove unused static field from Uri

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

8 years agoUpdating External dependencies to beta-24306-00 (dotnet/corefx#9858)
dotnet bot [Wed, 6 Jul 2016 12:23:49 +0000 (05:23 -0700)]
Updating External dependencies to beta-24306-00 (dotnet/corefx#9858)

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

8 years agoRemove unused static field from Uri
James Ko [Wed, 6 Jul 2016 07:06:32 +0000 (03:06 -0400)]
Remove unused static field from Uri

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

8 years agoAdd more test coverage for dotnet/coreclrdotnet/corefx#6119 (dotnet/corefx#9844)
James Ko [Wed, 6 Jul 2016 03:48:58 +0000 (23:48 -0400)]
Add more test coverage for dotnet/coreclrdotnet/corefx#6119 (dotnet/corefx#9844)

* Add more test coverage for dotnet/coreclrdotnet/corefx#6119

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

8 years agoMerge pull request dotnet/corefx#9853 from dotnet-bot/from-tfs
Matt Ellis [Tue, 5 Jul 2016 23:09:11 +0000 (16:09 -0700)]
Merge pull request dotnet/corefx#9853 from dotnet-bot/from-tfs

Merge changes from TFS

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

8 years agoAdd some more test coverage for the new string(char*) impl
James Ko [Tue, 5 Jul 2016 19:03:28 +0000 (15:03 -0400)]
Add some more test coverage for the new string(char*) impl

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

8 years agoUpdate wordings for diagnostics tools dependencies comments.
Andrew Au [Tue, 5 Jul 2016 19:01:17 +0000 (12:01 -0700)]
Update wordings for diagnostics tools dependencies comments.

[tfs-changeset: 1616096]

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

8 years agoMerge pull request dotnet/corefx#8621 from rainersigwald/init-tools-failure-cases
Jose Perez Rodriguez [Tue, 5 Jul 2016 18:14:33 +0000 (11:14 -0700)]
Merge pull request dotnet/corefx#8621 from rainersigwald/init-tools-failure-cases

Improved failure handling in init-tools.sh

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

8 years agoFail init-tools atomically
Rainer Sigwald [Tue, 17 May 2016 20:30:07 +0000 (15:30 -0500)]
Fail init-tools atomically

Before this change, a failure fairly early in the `init-tools.sh` process could result in subsequent attempts being short-circuited.

This introduces a marker file that is only written at the very end of the script, so that a `dotnet restore` or `init-tools.sh`-from-package failure can be retried immediately.

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

8 years agoMerge pull request dotnet/corefx#9845 from dotnet-bot/UpdateDependencies20160705051759
Stephen Toub [Tue, 5 Jul 2016 11:58:08 +0000 (07:58 -0400)]
Merge pull request dotnet/corefx#9845 from dotnet-bot/UpdateDependencies20160705051759

Updating External dependencies to beta-24305-00

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

8 years agoUpdating External dependencies to beta-24305-00
dotnet-bot [Tue, 5 Jul 2016 05:17:59 +0000 (05:17 +0000)]
Updating External dependencies to beta-24305-00

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

8 years agoAdd some ReadOnlyDictionary tests (dotnet/corefx#9829)
Hugh Bellamy [Mon, 4 Jul 2016 15:14:37 +0000 (16:14 +0100)]
Add some ReadOnlyDictionary tests (dotnet/corefx#9829)

* Add some ReadOnlyDictionary tests

- Also fixes the DebuggerAttributes for when the proxy and parent have
different generic parameters by providing a customization overload

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

8 years agoMerge pull request dotnet/corefx#9834 from jamesqo/patch-1
David Shulman [Mon, 4 Jul 2016 14:39:36 +0000 (07:39 -0700)]
Merge pull request dotnet/corefx#9834 from jamesqo/patch-1

Avoid a boxing allocation in UriBuilder.ToString

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

8 years agoAvoid a boxing allocation in UriBuilder.ToString
James Ko [Mon, 4 Jul 2016 04:31:17 +0000 (00:31 -0400)]
Avoid a boxing allocation in UriBuilder.ToString

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

8 years agoFix facade-code-coverage.bat for System.Private.CoreLib changes (dotnet/corefx#9831)
Hugh Bellamy [Mon, 4 Jul 2016 03:09:59 +0000 (04:09 +0100)]
Fix facade-code-coverage.bat for System.Private.CoreLib changes (dotnet/corefx#9831)

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

8 years agoTweak PR contribution docs
Stephen Toub [Sun, 3 Jul 2016 23:15:05 +0000 (19:15 -0400)]
Tweak PR contribution docs

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

8 years agoAdd docs for PR (feedback) (dotnet/corefx#9827)
Hugh Bellamy [Sun, 3 Jul 2016 23:05:25 +0000 (00:05 +0100)]
Add docs for PR (feedback) (dotnet/corefx#9827)

* Add docs for PR (feedback)

Fixes dotnet/corefx#1063

* Change sentence style

* Fix some wording

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

8 years agoMerge pull request dotnet/corefx#9830 from dotnet-bot/UpdateDependencies20160703071220
Stephen Toub [Sun, 3 Jul 2016 23:01:56 +0000 (19:01 -0400)]
Merge pull request dotnet/corefx#9830 from dotnet-bot/UpdateDependencies20160703071220

Updating CoreFx dependencies to beta-24303-04

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

8 years agoUpdating CoreFx dependencies to beta-24303-04
dotnet-bot [Sun, 3 Jul 2016 19:12:20 +0000 (19:12 +0000)]
Updating CoreFx dependencies to beta-24303-04

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

8 years agoMerge pull request dotnet/corefx#9822 from stephentoub/add_path_tests
Stephen Toub [Sun, 3 Jul 2016 15:43:53 +0000 (11:43 -0400)]
Merge pull request dotnet/corefx#9822 from stephentoub/add_path_tests

Rebase and replace dotnet/corefx#7195

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

8 years agoMerge pull request dotnet/corefx#9803 from hughbe/immutable-array-tests
Stephen Toub [Sun, 3 Jul 2016 14:43:36 +0000 (10:43 -0400)]
Merge pull request dotnet/corefx#9803 from hughbe/immutable-array-tests

Add ImmutableArray IList and IList<T> tests

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

8 years agoAdd path tests
Jeremy Kuhne [Thu, 24 Mar 2016 01:39:16 +0000 (18:39 -0700)]
Add path tests

Add tests for path error mapping

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

8 years agoMerge pull request dotnet/corefx#9819 from dotnet-bot/UpdateDependencies20160703071716
Stephen Toub [Sun, 3 Jul 2016 13:54:03 +0000 (09:54 -0400)]
Merge pull request dotnet/corefx#9819 from dotnet-bot/UpdateDependencies20160703071716

Updating CoreFx dependencies to beta-24303-02

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

8 years agoMerge pull request dotnet/corefx#9821 from hughbe/invalidsurrogate-emit
Stephen Toub [Sun, 3 Jul 2016 13:53:50 +0000 (09:53 -0400)]
Merge pull request dotnet/corefx#9821 from hughbe/invalidsurrogate-emit

Remove some random data from System.Reflection.Emit.Tests

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

8 years agoFix version numbers causing restore failures
Stephen Toub [Sun, 3 Jul 2016 12:41:32 +0000 (08:41 -0400)]
Fix version numbers causing restore failures

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

8 years agoAdd some more tests for PropertyBuilder.Name
Hugh Bellamy [Sun, 3 Jul 2016 12:37:02 +0000 (13:37 +0100)]
Add some more tests for PropertyBuilder.Name

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

8 years agoUpdating CoreFx dependencies to beta-24303-02
dotnet-bot [Sun, 3 Jul 2016 07:17:16 +0000 (07:17 +0000)]
Updating CoreFx dependencies to beta-24303-02

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

8 years agoRemove some random data from System.Reflection.Emit.Tests
Hugh Bellamy [Sun, 3 Jul 2016 12:27:07 +0000 (13:27 +0100)]
Remove some random data from System.Reflection.Emit.Tests

Currently, we generate random data in some of the System.Reflection.Emit
tests
One example is om the test for PropertyBuilder.Name that generates a
random char.

Due to bug dotnet/corefx#7166 xunit crashes when there is an invalid char (e.g. lone
high surrogate) in a MemberData or InlineData

Should hopefully fix dotnet/corefx#9820

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

8 years agoMerge pull request dotnet/corefx#9818 from dotnet-bot/UpdateDependencies20160703051842
Stephen Toub [Sun, 3 Jul 2016 12:13:55 +0000 (08:13 -0400)]
Merge pull request dotnet/corefx#9818 from dotnet-bot/UpdateDependencies20160703051842

Updating External dependencies to beta-24303-00

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

8 years agoUpdating External dependencies to beta-24303-00
dotnet-bot [Sun, 3 Jul 2016 05:18:42 +0000 (05:18 +0000)]
Updating External dependencies to beta-24303-00

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

8 years agoMerge pull request dotnet/corefx#9033 from ianhays/zip_binarycompattests
Stephen Toub [Sat, 2 Jul 2016 19:26:11 +0000 (15:26 -0400)]
Merge pull request dotnet/corefx#9033 from ianhays/zip_binarycompattests

Add Compression binary compat tests

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

8 years agoEscape Messages of InnerExceptions in DataContractSerializer
Petr Onderka [Sat, 2 Jul 2016 15:23:56 +0000 (17:23 +0200)]
Escape Messages of InnerExceptions in DataContractSerializer

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

8 years agoAdd ImmutableArray IList and IList<T> tests
Hugh Bellamy [Fri, 1 Jul 2016 21:24:24 +0000 (22:24 +0100)]
Add ImmutableArray IList and IList<T> tests

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

8 years agoMerge pull request dotnet/corefx#9778 from mellinoe/operstatenotfound-fix
Eric Mellino [Fri, 1 Jul 2016 17:38:47 +0000 (10:38 -0700)]
Merge pull request dotnet/corefx#9778 from mellinoe/operstatenotfound-fix

Guard file reads in /sys/class/net/<iface> directories

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

8 years agoSupport filtering to TestTFM
Tarek Mahmoud Sayed [Fri, 1 Jul 2016 16:44:44 +0000 (09:44 -0700)]
Support filtering to TestTFM

This change is to support filtering according to the TestTFM. e.g. can do
     “build.cmd /p:FilterToTestTFM=net46”
The change here is splitting the Build phase from the Test phase in dir.traversal.targets
so we don’t have to rebuild the test assemblies when passing TestTFM property to run the test.

Now if FilterToTestTFM is not specified, we default running the tests as netcoreapp1.0
so when issuing “build.cmd/sh” Command without passing FilterToTestTFM, it will
filter the tests to netcoreapp1.0 and run those tests.
I have enabled one of the test projects System.AppContext.Tests to support net46
as example, next step will be Enabling the rest of all projects to run against all
platforms (net46, net461, net462, netcore50 and netcore50aot)

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

8 years agoport System.Native to be g++ compatible (dotnet/corefx#9791)
Dylan Borg [Fri, 1 Jul 2016 16:01:49 +0000 (18:01 +0200)]
port System.Native to be g++ compatible (dotnet/corefx#9791)

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

8 years agoMerge pull request dotnet/corefx#9793 from jamesqo/uribuilder-replace
David Shulman [Fri, 1 Jul 2016 15:50:26 +0000 (08:50 -0700)]
Merge pull request dotnet/corefx#9793 from jamesqo/uribuilder-replace

Use string.Replace for UriBuilder.set_Path

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

8 years agoUpdate TestData version
Ian Hays [Fri, 1 Jul 2016 15:08:55 +0000 (08:08 -0700)]
Update TestData version

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

8 years agoAdd Compression binary compat tests
Ian Hays [Wed, 1 Jun 2016 18:02:58 +0000 (11:02 -0700)]
Add Compression binary compat tests

We don't currently test binary equality of outputted test zips, so tested compatibility is limited to the parts of the header we expose via a ZipArchive API. This commit adds some tests that compare normal and unicode zips between the current version and .NET 4.5 and .NET 4.6.

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

8 years agoUse string.Replace for UriBuilder.set_Path
James Ko [Fri, 1 Jul 2016 13:42:50 +0000 (09:42 -0400)]
Use string.Replace for UriBuilder.set_Path

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

8 years agoMerge pull request dotnet/corefx#9790 from dotnet-bot/UpdateDependencies20160701051957
Stephen Toub [Fri, 1 Jul 2016 10:54:07 +0000 (06:54 -0400)]
Merge pull request dotnet/corefx#9790 from dotnet-bot/UpdateDependencies20160701051957

Updating External dependencies to beta-24301-00

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

8 years agoMerge pull request dotnet/corefx#9784 from ericstj/bumpVersionsServicing
Eric StJohn [Fri, 1 Jul 2016 06:41:32 +0000 (23:41 -0700)]
Merge pull request dotnet/corefx#9784 from ericstj/bumpVersionsServicing

Increment versions post servicing

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

8 years agoUpdating External dependencies to beta-24301-00
dotnet-bot [Fri, 1 Jul 2016 05:19:57 +0000 (05:19 +0000)]
Updating External dependencies to beta-24301-00

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

8 years agoMerge pull request dotnet/corefx#9740 from prajwal-aithal/devel/arm-cross-objcopy-fix
Aditya Mandaleeka [Fri, 1 Jul 2016 02:06:47 +0000 (19:06 -0700)]
Merge pull request dotnet/corefx#9740 from prajwal-aithal/devel/arm-cross-objcopy-fix

ARM: resolve objcopy version to be used

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

8 years agoMerge pull request dotnet/corefx#9786 from karajas/fixTestBuildBreak
Karthik Rajasekaran [Fri, 1 Jul 2016 00:03:13 +0000 (17:03 -0700)]
Merge pull request dotnet/corefx#9786 from karajas/fixTestBuildBreak

Revert System.Private.DataContractSerialization pkgproj reference to csproj reference

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

8 years agoRevert System.Private.DataContractSerialization pkgproj reference to csproj reference
Karthik Rajasekaran [Thu, 30 Jun 2016 22:54:04 +0000 (15:54 -0700)]
Revert System.Private.DataContractSerialization pkgproj reference to csproj reference

System.Runtime.Serialization.Json, System.Runtime.Serialization.Xml, System.Xml.XmlSerializer are compiled against it's implementation, it has no compile time assets.

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

8 years agoIncrement versions post servicing
Eric St. John [Thu, 30 Jun 2016 22:12:36 +0000 (15:12 -0700)]
Increment versions post servicing

This bumps the versions of the packages we intend to ship out of the
servicing branch so that the master will be later than release.

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

8 years agoAdd instructions for targeting .NET Core with MSBuild projects (dotnet/corefx#9403)
Daniel Plaisted [Thu, 30 Jun 2016 22:11:52 +0000 (15:11 -0700)]
Add instructions for targeting .NET Core with MSBuild projects (dotnet/corefx#9403)

* Add step by step instructions for using MSBuild to target .NET Core
* Rearrange and edit instructions for targeting .NET Core with MSBuild
* Link to updated NuGet extension for VS, add instructions allowing PCL/dnxcore50 packages to be referenced
* Reformatting
* Update existing getting started instructions
* Change prerequisite to VS 2015 Update 3, which fixes error that AnyCPU isn't supported
* Add comments for MSBuild properties
* Recommend project.json for new projects
* Add CoreApp as another recommendation to start with
* Start with Console app template instead of portable library, use Microsoft.NETCore.App package
* Fix indentation

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

8 years agoMerge pull request dotnet/corefx#9555 from ianhays/fs_symlinktest
Stephen Toub [Thu, 30 Jun 2016 22:07:42 +0000 (18:07 -0400)]
Merge pull request dotnet/corefx#9555 from ianhays/fs_symlinktest

FileSystem: Expand CanCreateSymlinks test

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

8 years agoarm: resolve objcopy version to be used
Prajwal A N [Tue, 28 Jun 2016 23:25:55 +0000 (08:25 +0900)]
arm: resolve objcopy version to be used

objcopy binary used before does not work when doing cross build.
In the case of cross build TOOLCHAIN-objcopy is to be used where
TOOLCHAIN is defined according to the target architecture being
built for.

Signed-off-by: Prajwal A N <an.prajwal@samsung.com>
Commit migrated from https://github.com/dotnet/corefx/commit/9cd4b3cc70622c2d7d80c403162b150904c4fc68

8 years agoAdditional guard against missing network files.
Eric Mellino [Thu, 30 Jun 2016 21:44:30 +0000 (14:44 -0700)]
Additional guard against missing network files.

* Add guard for the case where a file disappears between call to
  File.Exists and when we try to open it.

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

8 years agoMerge pull request dotnet/corefx#9781 from bartonjs/use_keysizevalue
Stephen Toub [Thu, 30 Jun 2016 20:39:54 +0000 (16:39 -0400)]
Merge pull request dotnet/corefx#9781 from bartonjs/use_keysizevalue

Set KeySizeValue instead of doing gymnastics in LegalKeySizes.

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

8 years agoMerge pull request dotnet/corefx#9690 from hughbe/reflection-emit-more
Stephen Toub [Thu, 30 Jun 2016 20:39:45 +0000 (16:39 -0400)]
Merge pull request dotnet/corefx#9690 from hughbe/reflection-emit-more

Cleanup some more System.Reflection.Emit tests

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

8 years agoMerge pull request dotnet/corefx#9779 from dotnet-bot/UpdateDependencies20160630071552
Stephen Toub [Thu, 30 Jun 2016 20:22:48 +0000 (16:22 -0400)]
Merge pull request dotnet/corefx#9779 from dotnet-bot/UpdateDependencies20160630071552

Updating CoreFx dependencies to beta-24230-04

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

8 years agoGuard file reads in /sys/class/net/<iface> directories
Eric Mellino [Thu, 30 Jun 2016 18:17:17 +0000 (11:17 -0700)]
Guard file reads in /sys/class/net/<iface> directories

* Some systems may not have the expected files present in these
  directories. If such a situation is encountered, try still to
  return a reasonable value, or throw a PlatformNotSupportedException
  instead of a FileNotFoundException if we shouldn't "guess" a value.

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

8 years agoSet KeySizeValue instead of doing gymnastics in LegalKeySizes.
Jeremy Barton [Thu, 30 Jun 2016 18:29:51 +0000 (11:29 -0700)]
Set KeySizeValue instead of doing gymnastics in LegalKeySizes.

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