platform/upstream/corefx.git
5 years agoAdd TLS 1.3 to all protocols in GetAsync_AllowedSSLVersion_Succeeds (#40281)
Krzysztof Wicher [Tue, 13 Aug 2019 17:48:28 +0000 (10:48 -0700)]
Add TLS 1.3 to all protocols in GetAsync_AllowedSSLVersion_Succeeds (#40281)

5 years agoFix 2 System.Net.Http tests failing on debian (#40259)
Krzysztof Wicher [Tue, 13 Aug 2019 06:01:21 +0000 (23:01 -0700)]
Fix 2 System.Net.Http tests failing on debian (#40259)

5 years agoDisable two SocketsHttpHandler tests on Debian10 (#40247)
Viktor Hofer [Mon, 12 Aug 2019 14:18:13 +0000 (16:18 +0200)]
Disable two SocketsHttpHandler tests on Debian10 (#40247)

5 years agoDisable System.Drawing tests failing on arm64 (#40223)
Viktor Hofer [Sun, 11 Aug 2019 12:47:38 +0000 (14:47 +0200)]
Disable System.Drawing tests failing on arm64 (#40223)

5 years agoUpgrade Windows Nano Server to 1809 (#39734)
Viktor Hofer [Sun, 11 Aug 2019 12:19:01 +0000 (14:19 +0200)]
Upgrade Windows Nano Server to 1809 (#39734)

* Upgrade Windows Nano Server to 1809

* Handle ERROR_CALL_NOT_IMPLEMENTED in PlatformDetection.IsInAppContainer

* Disable TextInfo test on Nano server

* Disable EnvironmentVariable tests on user scope

5 years agoDisable two EventLog failing tests on Windows (#40225)
Viktor Hofer [Sun, 11 Aug 2019 11:31:30 +0000 (13:31 +0200)]
Disable two EventLog failing tests on Windows (#40225)

5 years agoimprove detection of usable KeyChain (#40163)
Tomas Weinfurt [Fri, 9 Aug 2019 14:17:43 +0000 (07:17 -0700)]
improve detection of usable KeyChain (#40163)

* improve detection of usable KeyChain

* add hint to user for errSecInteractionNotAllowed

5 years agoDisable GetGCMemoryInfoTest on arm (#40176)
Viktor Hofer [Fri, 9 Aug 2019 13:28:14 +0000 (15:28 +0200)]
Disable GetGCMemoryInfoTest on arm (#40176)

5 years agoFix several test use of RunContinuationsAsynchronously (#40121)
Stephen Toub [Thu, 8 Aug 2019 01:08:35 +0000 (21:08 -0400)]
Fix several test use of RunContinuationsAsynchronously (#40121)

5 years agoUpdate IconCodecTests.cs (#40076)
Dan Moseley [Tue, 6 Aug 2019 20:59:23 +0000 (13:59 -0700)]
Update IconCodecTests.cs (#40076)

```
Error message
System.ArgumentException : Parameter is not valid.

Stack trace
   at System.Drawing.Bitmap..ctor(String filename)
   at MonoTests.System.Drawing.Imaging.IconCodecTest.Bitmap16Features_Palette_Entries_Windows() in /_/src/System.Drawing.Common/tests/mono/System.Drawing.Imaging/IconCodecTests.cs:line 15
```

5 years agoFix test scope when sending to helix resulting in double // (#39878)
Santiago Fernandez Madero [Wed, 31 Jul 2019 23:00:09 +0000 (16:00 -0700)]
Fix test scope when sending to helix resulting in double // (#39878)

5 years agoSkip tests on Arm (#40716)
Charles Stoner [Sat, 31 Aug 2019 01:38:32 +0000 (18:38 -0700)]
Skip tests on Arm (#40716)

5 years agoLimit precision checks in arm/64 (#40696)
Viktor Hofer [Fri, 30 Aug 2019 14:55:22 +0000 (16:55 +0200)]
Limit precision checks in arm/64 (#40696)

5 years agoDisable FinancialTest.FV test on arm64 (#40246)
Viktor Hofer [Mon, 12 Aug 2019 14:13:22 +0000 (16:13 +0200)]
Disable FinancialTest.FV test on arm64 (#40246)

5 years agoAdjust precision of Microsoft.VisualBasic.Tests.FinancialTests based on platform...
Charles Stoner [Wed, 31 Jul 2019 18:57:43 +0000 (11:57 -0700)]
Adjust precision of Microsoft.VisualBasic.Tests.FinancialTests based on platform (#39742)

5 years agoEnable target framework attribute on test assemblies (#39806)
Viktor Hofer [Fri, 26 Jul 2019 14:17:48 +0000 (16:17 +0200)]
Enable target framework attribute on test assemblies (#39806)

5 years agoDisable SendAsync_SuppressedGlobalStaticPropagationNoListenerAppCtx test (#39692)
Stephen Toub [Tue, 23 Jul 2019 13:09:51 +0000 (09:09 -0400)]
Disable SendAsync_SuppressedGlobalStaticPropagationNoListenerAppCtx test (#39692)

5 years agoDisable DefaultPageSettings_Null_ReturnsExpected test (#39647)
Stephen Toub [Sun, 21 Jul 2019 01:45:58 +0000 (21:45 -0400)]
Disable DefaultPageSettings_Null_ReturnsExpected test (#39647)

5 years agoRe-enable unicode host name test (#39606)
Stephen Toub [Fri, 19 Jul 2019 14:08:42 +0000 (10:08 -0400)]
Re-enable unicode host name test (#39606)

Site appears to be back up.

5 years agoAvoid "async void" tests (#39613)
Stephen Toub [Fri, 19 Jul 2019 14:07:15 +0000 (10:07 -0400)]
Avoid "async void" tests (#39613)

Most of these are just because "async void" tests are rare and require special handling in xunit we needn't use.  But a few of these are plain wrong and were resulting in our not actually testing what we hoped to test.

5 years agoMove ConnectAsync_AddCustomHeaders_Success ClientWebSocket test to loopback (#39589)
Stephen Toub [Thu, 18 Jul 2019 18:21:49 +0000 (14:21 -0400)]
Move ConnectAsync_AddCustomHeaders_Success ClientWebSocket test to loopback (#39589)

5 years agoIncrease connect timeout for Functional Tests (#39559)
v-jizho2 [Wed, 17 Jul 2019 03:37:31 +0000 (20:37 -0700)]
Increase connect timeout for Functional Tests (#39559)

5 years ago[release/3.0] Update dependencies from 3 repositories (#40727)
dotnet-maestro[bot] [Sat, 31 Aug 2019 18:29:46 +0000 (20:29 +0200)]
[release/3.0] Update dependencies from 3 repositories (#40727)

* Update dependencies from https://github.com/dotnet/core-setup build 20190830.09

- Microsoft.NETCore.App - 3.0.0-rc1-19430-09
- Microsoft.NETCore.DotNetHost - 3.0.0-rc1-19430-09
- Microsoft.NETCore.DotNetHostPolicy - 3.0.0-rc1-19430-09

* Update dependencies from https://github.com/dotnet/arcade build 20190830.3

- Microsoft.DotNet.XUnitExtensions - 2.4.1-beta.19430.3
- Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.19430.3
- Microsoft.DotNet.VersionTools.Tasks - 1.0.0-beta.19430.3
- Microsoft.DotNet.ApiCompat - 1.0.0-beta.19430.3
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19430.3
- Microsoft.DotNet.Build.Tasks.Configuration - 1.0.0-beta.19430.3
- Microsoft.DotNet.Build.Tasks.Feed - 2.2.0-beta.19430.3
- Microsoft.DotNet.Build.Tasks.Packaging - 1.0.0-beta.19430.3
- Microsoft.DotNet.CodeAnalysis - 1.0.0-beta.19430.3
- Microsoft.DotNet.CoreFxTesting - 1.0.0-beta.19430.3
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19430.3
- Microsoft.DotNet.GenFacades - 1.0.0-beta.19430.3
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19430.3
- Microsoft.DotNet.RemoteExecutor - 1.0.0-beta.19430.3

* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20190831.1

- optimization.windows_nt-x64.IBC.CoreFx - 99.99.99-master-20190831.1

5 years agoDeserialize extension data properly for child objects (#40662) (#40691)
Steve Harter [Sat, 31 Aug 2019 00:16:08 +0000 (19:16 -0500)]
Deserialize extension data properly for child objects (#40662) (#40691)

5 years agoUpdate dependencies from https://github.com/dotnet/coreclr build 20190830.3 (#40714)
dotnet-maestro[bot] [Fri, 30 Aug 2019 22:01:20 +0000 (22:01 +0000)]
Update dependencies from https://github.com/dotnet/coreclr build 20190830.3 (#40714)

- Microsoft.NET.Sdk.IL - 3.0.0-rc1.19430.3
- Microsoft.NETCore.ILAsm - 3.0.0-rc1.19430.3
- Microsoft.NETCore.Runtime.CoreCLR - 3.0.0-rc1.19430.3

5 years ago[release/3.0] Update dependencies from 3 repositories (#40703)
dotnet-maestro[bot] [Fri, 30 Aug 2019 18:50:35 +0000 (20:50 +0200)]
[release/3.0] Update dependencies from 3 repositories (#40703)

* Update dependencies from https://github.com/dotnet/core-setup build 20190829.07

- Microsoft.NETCore.App - 3.0.0-rc1-19429-07
- Microsoft.NETCore.DotNetHost - 3.0.0-rc1-19429-07
- Microsoft.NETCore.DotNetHostPolicy - 3.0.0-rc1-19429-07

* Update dependencies from https://github.com/dotnet/arcade build 20190829.16

- Microsoft.DotNet.XUnitExtensions - 2.4.1-beta.19429.16
- Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.19429.16
- Microsoft.DotNet.VersionTools.Tasks - 1.0.0-beta.19429.16
- Microsoft.DotNet.ApiCompat - 1.0.0-beta.19429.16
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19429.16
- Microsoft.DotNet.Build.Tasks.Configuration - 1.0.0-beta.19429.16
- Microsoft.DotNet.Build.Tasks.Feed - 2.2.0-beta.19429.16
- Microsoft.DotNet.Build.Tasks.Packaging - 1.0.0-beta.19429.16
- Microsoft.DotNet.CodeAnalysis - 1.0.0-beta.19429.16
- Microsoft.DotNet.CoreFxTesting - 1.0.0-beta.19429.16
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19429.16
- Microsoft.DotNet.GenFacades - 1.0.0-beta.19429.16
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19429.16
- Microsoft.DotNet.RemoteExecutor - 1.0.0-beta.19429.16

* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20190830.1

- optimization.windows_nt-x64.IBC.CoreFx - 99.99.99-master-20190830.1

5 years agoUpdate dependencies from https://github.com/dotnet/coreclr build 20190830.2 (#40709)
dotnet-maestro[bot] [Fri, 30 Aug 2019 18:46:19 +0000 (18:46 +0000)]
Update dependencies from https://github.com/dotnet/coreclr build 20190830.2 (#40709)

- Microsoft.NET.Sdk.IL - 3.0.0-rc1.19430.2
- Microsoft.NETCore.ILAsm - 3.0.0-rc1.19430.2
- Microsoft.NETCore.Runtime.CoreCLR - 3.0.0-rc1.19430.2

5 years agoUpdate dependencies from https://github.com/dotnet/coreclr build 20190829.4 (#40687)
dotnet-maestro[bot] [Thu, 29 Aug 2019 22:06:08 +0000 (22:06 +0000)]
Update dependencies from https://github.com/dotnet/coreclr build 20190829.4 (#40687)

- Microsoft.NET.Sdk.IL - 3.0.0-rc1.19429.4
- Microsoft.NETCore.ILAsm - 3.0.0-rc1.19429.4
- Microsoft.NETCore.Runtime.CoreCLR - 3.0.0-rc1.19429.4

5 years agoUpdate dependencies from https://github.com/dotnet/standard build 20190829.3 (#40681)
dotnet-maestro[bot] [Thu, 29 Aug 2019 20:31:00 +0000 (16:31 -0400)]
Update dependencies from https://github.com/dotnet/standard build 20190829.3 (#40681)

- NETStandard.Library - 2.1.0-prerelease.19429.3

5 years agoUpdate dependencies from https://github.com/dotnet/coreclr build 20190829.2 (#40680)
dotnet-maestro[bot] [Thu, 29 Aug 2019 19:21:23 +0000 (19:21 +0000)]
Update dependencies from https://github.com/dotnet/coreclr build 20190829.2 (#40680)

- Microsoft.NET.Sdk.IL - 3.0.0-rc1.19429.2
- Microsoft.NETCore.ILAsm - 3.0.0-rc1.19429.2
- Microsoft.NETCore.Runtime.CoreCLR - 3.0.0-rc1.19429.2

5 years ago[release/3.0] Fix issue where dictionary properties that immediately follow a skipped...
Steve Harter [Thu, 29 Aug 2019 17:43:09 +0000 (12:43 -0500)]
[release/3.0] Fix issue where dictionary properties that immediately follow a skipped dictionary property were skipped. (#40624)

* Fix issue where dictionary properties that immediately follow a skipped dictionary property were skipped(#40598)

* Fix additional issue of dictionary properties being skipped (#40629)

5 years agoFix UAF when removing trusted certs on OSX (#40516)
Jeremy Barton [Thu, 29 Aug 2019 17:16:10 +0000 (10:16 -0700)]
Fix UAF when removing trusted certs on OSX (#40516)

CheckTrustSettings called CFRelease on cert, which downref'd it to zero
before IsCertInKeychain ran.

Now CheckTrustSettings leaves cert alive, and it's the caller's responsibility to CFRelease.

5 years ago[release/3.0] Update dependencies from 3 repositories (#40670)
dotnet-maestro[bot] [Thu, 29 Aug 2019 17:15:35 +0000 (13:15 -0400)]
[release/3.0] Update dependencies from 3 repositories (#40670)

* Update dependencies from https://github.com/dotnet/core-setup build 20190828.14

- Microsoft.NETCore.App - 3.0.0-rc1-19428-14
- Microsoft.NETCore.DotNetHost - 3.0.0-rc1-19428-14
- Microsoft.NETCore.DotNetHostPolicy - 3.0.0-rc1-19428-14

* Update dependencies from https://github.com/dotnet/arcade build 20190828.9

- Microsoft.DotNet.XUnitExtensions - 2.4.1-beta.19428.9
- Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.19428.9
- Microsoft.DotNet.VersionTools.Tasks - 1.0.0-beta.19428.9
- Microsoft.DotNet.ApiCompat - 1.0.0-beta.19428.9
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19428.9
- Microsoft.DotNet.Build.Tasks.Configuration - 1.0.0-beta.19428.9
- Microsoft.DotNet.Build.Tasks.Feed - 2.2.0-beta.19428.9
- Microsoft.DotNet.Build.Tasks.Packaging - 1.0.0-beta.19428.9
- Microsoft.DotNet.CodeAnalysis - 1.0.0-beta.19428.9
- Microsoft.DotNet.CoreFxTesting - 1.0.0-beta.19428.9
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19428.9
- Microsoft.DotNet.GenFacades - 1.0.0-beta.19428.9
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19428.9
- Microsoft.DotNet.RemoteExecutor - 1.0.0-beta.19428.9

* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20190829.1

- optimization.windows_nt-x64.IBC.CoreFx - 99.99.99-master-20190829.1

5 years agoReconfigure terminal for Console usage even if only one of stdin/stdout was used...
Stephen Toub [Thu, 29 Aug 2019 11:31:42 +0000 (07:31 -0400)]
Reconfigure terminal for Console usage even if only one of stdin/stdout was used by the child (#40563) (#40661)

5 years agoUpdate dependencies from https://github.com/dotnet/coreclr build 20190828.6 (#40665)
dotnet-maestro[bot] [Thu, 29 Aug 2019 04:11:10 +0000 (04:11 +0000)]
Update dependencies from https://github.com/dotnet/coreclr build 20190828.6 (#40665)

- Microsoft.NET.Sdk.IL - 3.0.0-rc1.19428.6
- Microsoft.NETCore.ILAsm - 3.0.0-rc1.19428.6
- Microsoft.NETCore.Runtime.CoreCLR - 3.0.0-rc1.19428.6

5 years agoUpdate dependencies from https://github.com/dotnet/standard build 20190828.3 (#40650)
dotnet-maestro[bot] [Wed, 28 Aug 2019 20:42:11 +0000 (16:42 -0400)]
Update dependencies from https://github.com/dotnet/standard build 20190828.3 (#40650)

- NETStandard.Library - 2.1.0-prerelease.19428.3

5 years agoUpdate dependencies from https://github.com/dotnet/coreclr build 20190828.2 (#40658)
dotnet-maestro[bot] [Wed, 28 Aug 2019 20:21:11 +0000 (20:21 +0000)]
Update dependencies from https://github.com/dotnet/coreclr build 20190828.2 (#40658)

- Microsoft.NET.Sdk.IL - 3.0.0-rc1.19428.2
- Microsoft.NETCore.ILAsm - 3.0.0-rc1.19428.2
- Microsoft.NETCore.Runtime.CoreCLR - 3.0.0-rc1.19428.2

5 years agofix syntax for the publishUsingPipelines variable (#40545) (#40549)
Viktor Hofer [Wed, 28 Aug 2019 16:34:35 +0000 (18:34 +0200)]
fix syntax for the publishUsingPipelines variable (#40545) (#40549)

5 years ago[release/3.0] Update dependencies from 3 repositories (#40644)
dotnet-maestro[bot] [Wed, 28 Aug 2019 13:57:59 +0000 (09:57 -0400)]
[release/3.0] Update dependencies from 3 repositories (#40644)

* Update dependencies from https://github.com/dotnet/core-setup build 20190827.13

- Microsoft.NETCore.App - 3.0.0-rc1-19427-13
- Microsoft.NETCore.DotNetHostPolicy - 3.0.0-rc1-19427-13
- Microsoft.NETCore.DotNetHost - 3.0.0-rc1-19427-13

* Update dependencies from https://github.com/dotnet/arcade build 20190827.8

- Microsoft.DotNet.XUnitExtensions - 2.4.1-beta.19427.8
- Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.19427.8
- Microsoft.DotNet.VersionTools.Tasks - 1.0.0-beta.19427.8
- Microsoft.DotNet.ApiCompat - 1.0.0-beta.19427.8
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19427.8
- Microsoft.DotNet.Build.Tasks.Configuration - 1.0.0-beta.19427.8
- Microsoft.DotNet.Build.Tasks.Feed - 2.2.0-beta.19427.8
- Microsoft.DotNet.Build.Tasks.Packaging - 1.0.0-beta.19427.8
- Microsoft.DotNet.CodeAnalysis - 1.0.0-beta.19427.8
- Microsoft.DotNet.CoreFxTesting - 1.0.0-beta.19427.8
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19427.8
- Microsoft.DotNet.GenFacades - 1.0.0-beta.19427.8
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19427.8
- Microsoft.DotNet.RemoteExecutor - 1.0.0-beta.19427.8

* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20190828.1

- optimization.windows_nt-x64.IBC.CoreFx - 99.99.99-master-20190828.1

5 years agoUpdate dependencies from https://github.com/dotnet/coreclr build 20190827.10 (#40640)
dotnet-maestro[bot] [Wed, 28 Aug 2019 06:31:16 +0000 (06:31 +0000)]
Update dependencies from https://github.com/dotnet/coreclr build 20190827.10 (#40640)

- Microsoft.NET.Sdk.IL - 3.0.0-rc1.19427.10
- Microsoft.NETCore.ILAsm - 3.0.0-rc1.19427.10
- Microsoft.NETCore.Runtime.CoreCLR - 3.0.0-rc1.19427.10

5 years agoUpdate dependencies from https://github.com/dotnet/coreclr build 20190827.5 (#40635)
dotnet-maestro[bot] [Tue, 27 Aug 2019 23:31:26 +0000 (23:31 +0000)]
Update dependencies from https://github.com/dotnet/coreclr build 20190827.5 (#40635)

- Microsoft.NET.Sdk.IL - 3.0.0-rc1.19427.5
- Microsoft.NETCore.ILAsm - 3.0.0-rc1.19427.5
- Microsoft.NETCore.Runtime.CoreCLR - 3.0.0-rc1.19427.5

5 years agoMap NetSecurityNative.Status to SecurityStatusPalErrorCode (#40105) (#40591)
Chris Ross [Tue, 27 Aug 2019 21:32:06 +0000 (14:32 -0700)]
Map NetSecurityNative.Status to SecurityStatusPalErrorCode (#40105) (#40591)

(cherry picked from commit 3825673ba94b2117701d13d9b5bde2233bd5d677)

5 years agoFix Abbreviated Genitive Month Names Parsing (dotnet/coreclr#26384)
Tarek Mahmoud Sayed [Tue, 27 Aug 2019 19:51:12 +0000 (12:51 -0700)]
Fix Abbreviated Genitive Month Names Parsing (dotnet/coreclr#26384)

In 3.0 we have fixed the formatting to use the abbreviated genitive month names when having "d" format specifier followed by "MMM". This fix is good as original formatting specs required but we needed to support the parsing when we have such genitive names.

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
5 years agoUpdate dependencies from https://github.com/dotnet/standard build 20190827.3 (#40628)
dotnet-maestro[bot] [Tue, 27 Aug 2019 19:44:00 +0000 (15:44 -0400)]
Update dependencies from https://github.com/dotnet/standard build 20190827.3 (#40628)

- NETStandard.Library - 2.1.0-prerelease.19427.3

5 years agoUpdate dependencies from https://github.com/dotnet/coreclr build 20190827.2 (#40627)
dotnet-maestro[bot] [Tue, 27 Aug 2019 18:51:02 +0000 (18:51 +0000)]
Update dependencies from https://github.com/dotnet/coreclr build 20190827.2 (#40627)

- Microsoft.NET.Sdk.IL - 3.0.0-rc1.19427.2
- Microsoft.NETCore.ILAsm - 3.0.0-rc1.19427.2
- Microsoft.NETCore.Runtime.CoreCLR - 3.0.0-rc1.19427.2

5 years ago[release/3.0] Update dependencies from 3 repositories (#40614)
dotnet-maestro[bot] [Tue, 27 Aug 2019 15:33:59 +0000 (11:33 -0400)]
[release/3.0] Update dependencies from 3 repositories (#40614)

* Update dependencies from https://github.com/dotnet/core-setup build 20190826.11

- Microsoft.NETCore.App - 3.0.0-rc1-19426-11
- Microsoft.NETCore.DotNetHost - 3.0.0-rc1-19426-11
- Microsoft.NETCore.DotNetHostPolicy - 3.0.0-rc1-19426-11

* Update dependencies from https://github.com/dotnet/arcade build 20190826.12

- Microsoft.DotNet.XUnitExtensions - 2.4.1-beta.19426.12
- Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.19426.12
- Microsoft.DotNet.VersionTools.Tasks - 1.0.0-beta.19426.12
- Microsoft.DotNet.ApiCompat - 1.0.0-beta.19426.12
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19426.12
- Microsoft.DotNet.Build.Tasks.Configuration - 1.0.0-beta.19426.12
- Microsoft.DotNet.Build.Tasks.Feed - 2.2.0-beta.19426.12
- Microsoft.DotNet.Build.Tasks.Packaging - 1.0.0-beta.19426.12
- Microsoft.DotNet.CodeAnalysis - 1.0.0-beta.19426.12
- Microsoft.DotNet.CoreFxTesting - 1.0.0-beta.19426.12
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19426.12
- Microsoft.DotNet.GenFacades - 1.0.0-beta.19426.12
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19426.12
- Microsoft.DotNet.RemoteExecutor - 1.0.0-beta.19426.12

* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20190827.1

- optimization.windows_nt-x64.IBC.CoreFx - 99.99.99-master-20190827.1

5 years agoHTTP2: fix header corruption issue (#40487) (#40518)
Eirik Tsarpalis [Tue, 27 Aug 2019 13:18:03 +0000 (15:18 +0200)]
HTTP2: fix header corruption issue (#40487) (#40518)

* HTTP2: fix header corruption issue

Fixes a bug in HPackEncoder which results in header
data corruption in cases where the write buffer has
not been zeroed out. Adds HPack roundtrip tests.
Fixes #40459.

5 years agoUpdate dependencies from https://github.com/dotnet/coreclr build 20190826.4 (#40599)
dotnet-maestro[bot] [Tue, 27 Aug 2019 01:25:58 +0000 (01:25 +0000)]
Update dependencies from https://github.com/dotnet/coreclr build 20190826.4 (#40599)

- Microsoft.NET.Sdk.IL - 3.0.0-rc1.19426.4
- Microsoft.NETCore.ILAsm - 3.0.0-rc1.19426.4
- Microsoft.NETCore.Runtime.CoreCLR - 3.0.0-rc1.19426.4

5 years agoDo not use `AllocateUninitializedArray` in private array pools. (#26338) (#26366)
Stephen Toub [Mon, 26 Aug 2019 21:25:15 +0000 (17:25 -0400)]
Do not use `AllocateUninitializedArray` in private array pools. (#26338) (#26366)

User may have extra expectations for the privatly owned array pools.
For example there could be an expectation that array never contains negative numbers (since user never puts them there). Uninitialized allocations can break such expectations.

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
5 years ago[release/3.0] Update dependencies from dotnet/core-setup dotnet/arcade (#40573)
dotnet-maestro[bot] [Mon, 26 Aug 2019 20:16:36 +0000 (16:16 -0400)]
[release/3.0] Update dependencies from dotnet/core-setup dotnet/arcade (#40573)

* Update dependencies from https://github.com/dotnet/core-setup build 20190825.03

- Microsoft.NETCore.App - 3.0.0-rc1-19425-03
- Microsoft.NETCore.DotNetHost - 3.0.0-rc1-19425-03
- Microsoft.NETCore.DotNetHostPolicy - 3.0.0-rc1-19425-03

* Update dependencies from https://github.com/dotnet/arcade build 20190825.1

- Microsoft.DotNet.XUnitExtensions - 2.4.1-beta.19425.1
- Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.19425.1
- Microsoft.DotNet.VersionTools.Tasks - 1.0.0-beta.19425.1
- Microsoft.DotNet.ApiCompat - 1.0.0-beta.19425.1
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19425.1
- Microsoft.DotNet.Build.Tasks.Configuration - 1.0.0-beta.19425.1
- Microsoft.DotNet.Build.Tasks.Feed - 2.2.0-beta.19425.1
- Microsoft.DotNet.Build.Tasks.Packaging - 1.0.0-beta.19425.1
- Microsoft.DotNet.CodeAnalysis - 1.0.0-beta.19425.1
- Microsoft.DotNet.CoreFxTesting - 1.0.0-beta.19425.1
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19425.1
- Microsoft.DotNet.GenFacades - 1.0.0-beta.19425.1
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19425.1
- Microsoft.DotNet.RemoteExecutor - 1.0.0-beta.19425.1

5 years agoUpdate dependencies from https://github.com/dotnet/coreclr build 20190826.2 (#40584)
dotnet-maestro[bot] [Mon, 26 Aug 2019 18:56:07 +0000 (18:56 +0000)]
Update dependencies from https://github.com/dotnet/coreclr build 20190826.2 (#40584)

- Microsoft.NET.Sdk.IL - 3.0.0-rc1.19426.2
- Microsoft.NETCore.ILAsm - 3.0.0-rc1.19426.2
- Microsoft.NETCore.Runtime.CoreCLR - 3.0.0-rc1.19426.2

5 years agoFix BinaryReader.ReadChars for fragmented Streams (#26324) (#26356)
Jan Kotas [Mon, 26 Aug 2019 15:04:09 +0000 (08:04 -0700)]
Fix BinaryReader.ReadChars for fragmented Streams (#26324) (#26356)

BinaryReader.ReadChars incorrectly read more than necessary from the underlying Stream when multi-byte characters straddled the read chunks.

Fixes https://github.com/dotnet/corefx/issues/40455

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
5 years agoFix typo in netstandard.depproj (#40550)
Eric StJohn [Mon, 26 Aug 2019 15:06:22 +0000 (08:06 -0700)]
Fix typo in netstandard.depproj (#40550)

5 years ago[release/3.0] Update dependencies from 3 repositories (#40554)
dotnet-maestro[bot] [Mon, 26 Aug 2019 00:33:01 +0000 (20:33 -0400)]
[release/3.0] Update dependencies from 3 repositories (#40554)

* Update dependencies from https://github.com/dotnet/core-setup build 20190823.11

- Microsoft.NETCore.App - 3.0.0-rc1-19423-11
- Microsoft.NETCore.DotNetHost - 3.0.0-rc1-19423-11
- Microsoft.NETCore.DotNetHostPolicy - 3.0.0-rc1-19423-11

* Update dependencies from https://github.com/dotnet/arcade build 20190823.6

- Microsoft.DotNet.XUnitExtensions - 2.4.1-beta.19423.6
- Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.19423.6
- Microsoft.DotNet.VersionTools.Tasks - 1.0.0-beta.19423.6
- Microsoft.DotNet.ApiCompat - 1.0.0-beta.19423.6
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19423.6
- Microsoft.DotNet.Build.Tasks.Configuration - 1.0.0-beta.19423.6
- Microsoft.DotNet.Build.Tasks.Feed - 2.2.0-beta.19423.6
- Microsoft.DotNet.Build.Tasks.Packaging - 1.0.0-beta.19423.6
- Microsoft.DotNet.CodeAnalysis - 1.0.0-beta.19423.6
- Microsoft.DotNet.CoreFxTesting - 1.0.0-beta.19423.6
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19423.6
- Microsoft.DotNet.GenFacades - 1.0.0-beta.19423.6
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19423.6
- Microsoft.DotNet.RemoteExecutor - 1.0.0-beta.19423.6

* Update dependencies from https://github.com/dotnet/arcade build 20190824.1

- Microsoft.DotNet.XUnitExtensions - 2.4.1-beta.19424.1
- Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.19424.1
- Microsoft.DotNet.VersionTools.Tasks - 1.0.0-beta.19424.1
- Microsoft.DotNet.ApiCompat - 1.0.0-beta.19424.1
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19424.1
- Microsoft.DotNet.Build.Tasks.Configuration - 1.0.0-beta.19424.1
- Microsoft.DotNet.Build.Tasks.Feed - 2.2.0-beta.19424.1
- Microsoft.DotNet.Build.Tasks.Packaging - 1.0.0-beta.19424.1
- Microsoft.DotNet.CodeAnalysis - 1.0.0-beta.19424.1
- Microsoft.DotNet.CoreFxTesting - 1.0.0-beta.19424.1
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19424.1
- Microsoft.DotNet.GenFacades - 1.0.0-beta.19424.1
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19424.1
- Microsoft.DotNet.RemoteExecutor - 1.0.0-beta.19424.1

* Update dependencies from https://github.com/dotnet/standard build 20190825.3

- NETStandard.Library - 2.1.0-prerelease.19425.3

5 years agoMerge pull request #40541 from jkoritzinsky/AssemblyAttributesGoHere-release3.0
Jeff Schwartz [Sat, 24 Aug 2019 15:38:46 +0000 (08:38 -0700)]
Merge pull request #40541 from jkoritzinsky/AssemblyAttributesGoHere-release3.0

[release/3.0] Add AssemblyAttributesGoHere* and SuppressMergeCheckAttribute to S.RCS.VC with typeforwards from mscorlib

5 years agoUpdate dependencies from https://github.com/dotnet/standard build 20190823.3 (#40551)
dotnet-maestro[bot] [Sat, 24 Aug 2019 00:56:47 +0000 (17:56 -0700)]
Update dependencies from https://github.com/dotnet/standard build 20190823.3 (#40551)

- NETStandard.Library - 2.1.0-prerelease.19423.3

5 years ago[release/3.0] Update dependencies from dotnet/core-setup dotnet/arcade (#40535)
dotnet-maestro[bot] [Fri, 23 Aug 2019 17:32:05 +0000 (19:32 +0200)]
[release/3.0] Update dependencies from dotnet/core-setup dotnet/arcade (#40535)

* Update dependencies from https://github.com/dotnet/core-setup build 20190822.14

- Microsoft.NETCore.App - 3.0.0-rc1-19422-14
- Microsoft.NETCore.DotNetHost - 3.0.0-rc1-19422-14
- Microsoft.NETCore.DotNetHostPolicy - 3.0.0-rc1-19422-14

* Update dependencies from https://github.com/dotnet/arcade build 20190822.24

- Microsoft.DotNet.XUnitExtensions - 2.4.1-beta.19422.24
- Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.19422.24
- Microsoft.DotNet.VersionTools.Tasks - 1.0.0-beta.19422.24
- Microsoft.DotNet.ApiCompat - 1.0.0-beta.19422.24
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19422.24
- Microsoft.DotNet.Build.Tasks.Configuration - 1.0.0-beta.19422.24
- Microsoft.DotNet.Build.Tasks.Feed - 2.2.0-beta.19422.24
- Microsoft.DotNet.Build.Tasks.Packaging - 1.0.0-beta.19422.24
- Microsoft.DotNet.CodeAnalysis - 1.0.0-beta.19422.24
- Microsoft.DotNet.CoreFxTesting - 1.0.0-beta.19422.24
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19422.24
- Microsoft.DotNet.GenFacades - 1.0.0-beta.19422.24
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19422.24
- Microsoft.DotNet.RemoteExecutor - 1.0.0-beta.19422.24

5 years agoAdd AssemblyAttributesGoHere* and SuppressMergeCheckAttribute to S.R.CS.VC with typef...
Jeremy Koritzinsky [Fri, 23 Aug 2019 17:11:01 +0000 (10:11 -0700)]
Add AssemblyAttributesGoHere* and SuppressMergeCheckAttribute to S.R.CS.VC with typeforwards from mscorlib (#40470)

* Add AssemblyAttributesGoHere* and SuppressMergeCheckAttribute to System.Runtime.CompilerServices.VisualC as internal types with typeforwards from mscorlib.

* PR Feedback.

5 years agoUpdate dependencies from https://github.com/dotnet/coreclr build 20190822.4 (#40529)
dotnet-maestro[bot] [Fri, 23 Aug 2019 06:01:15 +0000 (06:01 +0000)]
Update dependencies from https://github.com/dotnet/coreclr build 20190822.4 (#40529)

- Microsoft.NET.Sdk.IL - 3.0.0-rc1.19422.4
- Microsoft.NETCore.ILAsm - 3.0.0-rc1.19422.4
- Microsoft.NETCore.Runtime.CoreCLR - 3.0.0-rc1.19422.4

5 years ago[release/3.0] Update dependencies from 3 repositories (#40331)
dotnet-maestro[bot] [Fri, 23 Aug 2019 04:43:13 +0000 (21:43 -0700)]
[release/3.0] Update dependencies from 3 repositories (#40331)

* Update dependencies from https://github.com/dotnet/standard build 20190814.4

- NETStandard.Library - 2.1.0-prerelease.19414.4

* Update dependencies from https://github.com/dotnet/core-setup build 20190814.17

- Microsoft.NETCore.App - 3.0.0-preview9-19414-17
- Microsoft.NETCore.DotNetHostPolicy - 3.0.0-preview9-19414-17
- Microsoft.NETCore.DotNetHost - 3.0.0-preview9-19414-17

* Update dependencies from https://github.com/dotnet/core-setup build 20190816.01

- Microsoft.NETCore.App - 3.0.0-preview9-19416-01
- Microsoft.NETCore.DotNetHostPolicy - 3.0.0-preview9-19416-01
- Microsoft.NETCore.DotNetHost - 3.0.0-preview9-19416-01

* Update dependencies from https://github.com/dotnet/arcade build 20190815.27

- Microsoft.DotNet.XUnitExtensions - 2.4.1-beta.19415.27
- Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.19415.27
- Microsoft.DotNet.VersionTools.Tasks - 1.0.0-beta.19415.27
- Microsoft.DotNet.ApiCompat - 1.0.0-beta.19415.27
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19415.27
- Microsoft.DotNet.Build.Tasks.Configuration - 1.0.0-beta.19415.27
- Microsoft.DotNet.Build.Tasks.Feed - 2.2.0-beta.19415.27
- Microsoft.DotNet.Build.Tasks.Packaging - 1.0.0-beta.19415.27
- Microsoft.DotNet.CodeAnalysis - 1.0.0-beta.19415.27
- Microsoft.DotNet.CoreFxTesting - 1.0.0-beta.19415.27
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19415.27
- Microsoft.DotNet.GenFacades - 1.0.0-beta.19415.27
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19415.27
- Microsoft.DotNet.RemoteExecutor - 1.0.0-beta.19415.27

* Update dependencies from https://github.com/dotnet/standard build 20190816.3

- NETStandard.Library - 2.1.0-prerelease.19416.3

* Update dependencies from https://github.com/dotnet/core-setup build 20190816.02

- Microsoft.NETCore.App - 3.0.0-preview9-19416-02
- Microsoft.NETCore.DotNetHostPolicy - 3.0.0-preview9-19416-02
- Microsoft.NETCore.DotNetHost - 3.0.0-preview9-19416-02

* Update dependencies from https://github.com/dotnet/arcade build 20190816.16

- Microsoft.DotNet.XUnitExtensions - 2.4.1-beta.19416.16
- Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.19416.16
- Microsoft.DotNet.VersionTools.Tasks - 1.0.0-beta.19416.16
- Microsoft.DotNet.ApiCompat - 1.0.0-beta.19416.16
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19416.16
- Microsoft.DotNet.Build.Tasks.Configuration - 1.0.0-beta.19416.16
- Microsoft.DotNet.Build.Tasks.Feed - 2.2.0-beta.19416.16
- Microsoft.DotNet.Build.Tasks.Packaging - 1.0.0-beta.19416.16
- Microsoft.DotNet.CodeAnalysis - 1.0.0-beta.19416.16
- Microsoft.DotNet.CoreFxTesting - 1.0.0-beta.19416.16
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19416.16
- Microsoft.DotNet.GenFacades - 1.0.0-beta.19416.16
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19416.16
- Microsoft.DotNet.RemoteExecutor - 1.0.0-beta.19416.16

* Update dependencies from https://github.com/dotnet/standard build 20190817.2

- NETStandard.Library - 2.1.0-prerelease.19417.2

* Update dependencies from https://github.com/dotnet/standard build 20190819.1

- NETStandard.Library - 2.1.0-prerelease.19419.1

* Update dependencies from https://github.com/dotnet/core-setup build 20190819.06

- Microsoft.NETCore.App - 3.0.0-preview9-19419-06
- Microsoft.NETCore.DotNetHostPolicy - 3.0.0-preview9-19419-06
- Microsoft.NETCore.DotNetHost - 3.0.0-preview9-19419-06

* Update dependencies from https://github.com/dotnet/arcade build 20190819.12

- Microsoft.DotNet.XUnitExtensions - 2.4.1-beta.19419.12
- Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.19419.12
- Microsoft.DotNet.VersionTools.Tasks - 1.0.0-beta.19419.12
- Microsoft.DotNet.ApiCompat - 1.0.0-beta.19419.12
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19419.12
- Microsoft.DotNet.Build.Tasks.Configuration - 1.0.0-beta.19419.12
- Microsoft.DotNet.Build.Tasks.Feed - 2.2.0-beta.19419.12
- Microsoft.DotNet.Build.Tasks.Packaging - 1.0.0-beta.19419.12
- Microsoft.DotNet.CodeAnalysis - 1.0.0-beta.19419.12
- Microsoft.DotNet.CoreFxTesting - 1.0.0-beta.19419.12
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19419.12
- Microsoft.DotNet.GenFacades - 1.0.0-beta.19419.12
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19419.12
- Microsoft.DotNet.RemoteExecutor - 1.0.0-beta.19419.12

* Update dependencies from https://github.com/dotnet/standard build 20190820.1

- NETStandard.Library - 2.1.0-prerelease.19420.1

* Update dependencies from https://github.com/dotnet/standard build 20190820.3

- NETStandard.Library - 2.1.0-prerelease.19420.3

* Update dependencies from https://github.com/dotnet/core-setup build 20190820.08

- Microsoft.NETCore.App - 3.0.0-rc1-19420-08
- Microsoft.NETCore.DotNetHost - 3.0.0-rc1-19420-08
- Microsoft.NETCore.DotNetHostPolicy - 3.0.0-rc1-19420-08

* Update dependencies from https://github.com/dotnet/arcade build 20190820.8

- Microsoft.DotNet.XUnitExtensions - 2.4.1-beta.19420.8
- Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.19420.8
- Microsoft.DotNet.VersionTools.Tasks - 1.0.0-beta.19420.8
- Microsoft.DotNet.ApiCompat - 1.0.0-beta.19420.8
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19420.8
- Microsoft.DotNet.Build.Tasks.Configuration - 1.0.0-beta.19420.8
- Microsoft.DotNet.Build.Tasks.Feed - 2.2.0-beta.19420.8
- Microsoft.DotNet.Build.Tasks.Packaging - 1.0.0-beta.19420.8
- Microsoft.DotNet.CodeAnalysis - 1.0.0-beta.19420.8
- Microsoft.DotNet.CoreFxTesting - 1.0.0-beta.19420.8
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19420.8
- Microsoft.DotNet.GenFacades - 1.0.0-beta.19420.8
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19420.8
- Microsoft.DotNet.RemoteExecutor - 1.0.0-beta.19420.8

* Update dependencies from https://github.com/dotnet/standard build 20190821.2

- NETStandard.Library - 2.1.0-prerelease.19421.2

* Update dependencies from https://github.com/dotnet/standard build 20190821.6

- NETStandard.Library - 2.1.0-prerelease.19421.6

* Update dependencies from https://github.com/dotnet/standard build 20190821.7

- NETStandard.Library - 2.1.0-prerelease.19421.7

* Update dependencies from https://github.com/dotnet/core-setup build 20190821.22

- Microsoft.NETCore.App - 3.0.0-rc1-19421-22
- Microsoft.NETCore.DotNetHost - 3.0.0-rc1-19421-22
- Microsoft.NETCore.DotNetHostPolicy - 3.0.0-rc1-19421-22

* Update dependencies from https://github.com/dotnet/arcade build 20190821.4

- Microsoft.DotNet.XUnitExtensions - 2.4.1-beta.19421.4
- Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.19421.4
- Microsoft.DotNet.VersionTools.Tasks - 1.0.0-beta.19421.4
- Microsoft.DotNet.ApiCompat - 1.0.0-beta.19421.4
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19421.4
- Microsoft.DotNet.Build.Tasks.Configuration - 1.0.0-beta.19421.4
- Microsoft.DotNet.Build.Tasks.Feed - 2.2.0-beta.19421.4
- Microsoft.DotNet.Build.Tasks.Packaging - 1.0.0-beta.19421.4
- Microsoft.DotNet.CodeAnalysis - 1.0.0-beta.19421.4
- Microsoft.DotNet.CoreFxTesting - 1.0.0-beta.19421.4
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19421.4
- Microsoft.DotNet.GenFacades - 1.0.0-beta.19421.4
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19421.4
- Microsoft.DotNet.RemoteExecutor - 1.0.0-beta.19421.4

* Update dependencies from https://github.com/dotnet/standard build 20190822.3

- NETStandard.Library - 2.1.0-prerelease.19422.3

5 years agoUpdate dependencies from https://github.com/dotnet/coreclr build 20190821.8 (#40494)
dotnet-maestro[bot] [Fri, 23 Aug 2019 00:49:45 +0000 (00:49 +0000)]
Update dependencies from https://github.com/dotnet/coreclr build 20190821.8 (#40494)

- Microsoft.NET.Sdk.IL - 3.0.0-rc1.19421.8
- Microsoft.NETCore.ILAsm - 3.0.0-rc1.19421.8
- Microsoft.NETCore.Runtime.CoreCLR - 3.0.0-rc1.19421.8

5 years agoMerge pull request #40464 from mmitche/update-30-branding
Matt Mitchell [Tue, 20 Aug 2019 22:39:19 +0000 (15:39 -0700)]
Merge pull request #40464 from mmitche/update-30-branding

[release/3.0] Update 3.0 branding and enable CI

5 years ago[release/3.0] Fix reading past comments after an end object or end array token within...
Ahson Khan [Tue, 20 Aug 2019 21:02:19 +0000 (14:02 -0700)]
[release/3.0] Fix reading past comments after an end object or end array token within Utf8JsonReader (#40443)

* Fix reading past comments after an end object or end array token within Utf8JsonReader (#40436)

* Fix reading past comments after an end object or end array token.

* Add more test cases and update unreachable code paths with
Debug.Asserts.

* Update Debug.Assert to more clearly show the condition (brace for
objects, bracket for array).

5 years agoadding ci to release 3.0 branch (#40358)
Anirudh Agnihotry [Thu, 15 Aug 2019 20:41:50 +0000 (13:41 -0700)]
adding ci to release 3.0 branch (#40358)

5 years agoUpdate branding to rc1
Matt Mitchell [Tue, 20 Aug 2019 20:26:56 +0000 (13:26 -0700)]
Update branding to rc1

5 years ago[release/3.0] Honor IsReadOnly when deserializing collections (#40438)
Kristian Hellang [Tue, 20 Aug 2019 17:21:54 +0000 (19:21 +0200)]
[release/3.0] Honor IsReadOnly when deserializing collections (#40438)

* System.Text.Json - Don't add to readonly collections - Take 2 (#40366)

* Don't add to collection when IsReadOnly is true

* Throw NotSupportedException instead of JsonException

* Add test for readonly collections

* Revert back to InvalidCastException

* Fix failing System.Text.Json test (#40439)

5 years agoFix BitArray.CopyTo to byte[] regression - update offset for extra bits. (#40441...
Ahson Khan [Tue, 20 Aug 2019 16:09:14 +0000 (09:09 -0700)]
Fix BitArray.CopyTo to byte[] regression - update offset for extra bits. (#40441) (#40442)

5 years ago[release/3.0] Fix BytesConsumed and error messages when reading JSON payloads within...
Ahson Khan [Tue, 20 Aug 2019 05:51:30 +0000 (22:51 -0700)]
[release/3.0] Fix BytesConsumed and error messages when reading JSON payloads within a multi-segment ReadOnlySequence via Utf8JsonReader (#40422)

* Fix BytesConsumed when reading JSON numbers within a multi-segment ReadOnlySequence via Utf8JsonReader (#40303)

* Add tests for reading numbers when data is within a multi-segment
ReadOnlySequence.

* Test rename and add debug.assert.

* Test clean up - remove unnecessary/expensive Debug.Assert.

* Test and code cleanup.

* Address feedback - add stronger test condition for token length.

* Make sure byte position for invalid JSON is consistent and the exception message is accurate (#40349)

* Add tests for reading numbers when data is within a multi-segment
ReadOnlySequence.

* Test rename and add debug.assert.

* Test clean up - remove unnecessary/expensive Debug.Assert.

* Test and code cleanup.

* Address feedback - add stronger test condition for token length.

* Revert state on incomplete read and on error. Make sure exception
message is accurate.

* Fix byte position in line for invalid JSON and update tests.

* Address feedback - pass by in and move private struct to end.

* Fix string consumption and add various tests.

* Fix off-by-one error when calculating position.

* Test clean up - make sure multi-segment tests are in the right file.

* Update string parsing - do not increment line number for escaped newline
chars within quoted strings.

* Remove unnecessary custom state struct for string and re-use the same
one for both string and numbers.

* Update tests based on PR feedback.

* Create helper to get start sequence position from roll back state.

5 years ago[release/3.0] Honor converters for implementing types (#40411) (#40432)
Layomi Akinrinade [Tue, 20 Aug 2019 04:30:31 +0000 (00:30 -0400)]
[release/3.0] Honor converters for implementing types (#40411) (#40432)

* Honor converters for implementing types (#40411)

* Honor converters for implementing types

* Cache implementing-type converter if one is detected

* Address feedback: name parameters and add IEnumerable wrapper test

* Use named argument syntax for null values

5 years agoBump IntelliSense nupkg version to Preview 8 in eng/Versions.props - Last batch ...
Carlos Sanchez Lopez [Tue, 20 Aug 2019 04:01:34 +0000 (21:01 -0700)]
Bump IntelliSense nupkg version to Preview 8 in eng/Versions.props - Last batch (#40433)

5 years ago[release/3.0] Honor JsonIgnore attribute when applied to unsupported collections...
Layomi Akinrinade [Tue, 20 Aug 2019 03:27:49 +0000 (23:27 -0400)]
[release/3.0] Honor JsonIgnore attribute when applied to unsupported collections (#40413)

* Honor JsonIgnore attribute when applied to unsupported collections (#40401)

* Honor JsonIgnore attribute when applied to unsupported collections

* Address feedback: add more unsupported collections

* Use new instances of JsonSerializerOptions in property visibility tests to prevent re-using cached metadata

* Remove extra colon

5 years ago[release/3.0] Update Utf8JsonWriter.WriteNumber{Value}(double/float) to support infin...
Ahson Khan [Tue, 20 Aug 2019 00:08:05 +0000 (17:08 -0700)]
[release/3.0] Update Utf8JsonWriter.WriteNumber{Value}(double/float) to support infinity correctly for all cases (#40419)

* Corefx #40133 Use TryFormatDouble TryFormatFloat (#40197)

* Corefx #40133 Use TryFormatDouble TryFormatFloat

* add test cases

* Changes as per review comments

* remove extra empty line

* Avoid using double/floats within tests that don't roundtrip on netfx (#40408)

(for G17).

5 years agoDo not do hidden/unavoidable sync stream writes when using the Utf8JsonWriter (during...
Ahson Khan [Tue, 20 Aug 2019 00:07:29 +0000 (17:07 -0700)]
Do not do hidden/unavoidable sync stream writes when using the Utf8JsonWriter (during grow). (#40047) (#40420)

* Do not do hidden/unavoidable sync stream writes when using the Utf8JsonWriter (during grow).

* Revert source file changes back to master

* Do not write to the stream on grow (and dont advance IBW).

5 years agoChange 'type' to 'inputType' on serialize methods (#40372) (#40425)
Steve Harter [Tue, 20 Aug 2019 00:04:43 +0000 (19:04 -0500)]
Change 'type' to 'inputType' on serialize methods (#40372) (#40425)

5 years agoDon't restore files to later overwrite them during the build (#40426)
Eric StJohn [Mon, 19 Aug 2019 23:59:00 +0000 (16:59 -0700)]
Don't restore files to later overwrite them during the build (#40426)

NETStandard2.1 includes more facades which we still build in corefx.

Make sure we don't copy these then later overwrite them during the ref build.

binplacePackages was restoring runtime files even on NETCoreApp:
we should never do this.  We have to be careful to only test assemblies
we build in the repo for netcoreapp.  The only test target which needs
these is NETFX.

5 years agoAdd DecoratedNameAttribute (#40127)
Jeremy Koritzinsky [Mon, 19 Aug 2019 18:14:54 +0000 (11:14 -0700)]
Add DecoratedNameAttribute (#40127)

5 years ago[release/3.0] JsonSerializerOptions.GetConverter() tests (#40381)
buyaa-n [Mon, 19 Aug 2019 18:06:59 +0000 (11:06 -0700)]
[release/3.0] JsonSerializerOptions.GetConverter() tests (#40381)

* Tests for JsonSerializerOptions.GetConverter() and converter methods (#39750)

* Tests for JsonSerializerOptions.GetConverter

* Addressing feedback

5 years agoAllow for interface implementations in EventSource.WriteEventVarArgs (#25844) (#26056)
Sung Yoon Whang [Fri, 16 Aug 2019 23:30:53 +0000 (16:30 -0700)]
Allow for interface implementations in EventSource.WriteEventVarArgs (#25844) (#26056)

* Allow for interface implementations in EventSource.WriteEventVarArgs

* Also account null ref types and nullable types

* fix error in comment and simplify first part of boolean logic

* Update src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventSource.cs

Co-Authored-By: Noah Falk <noahfalk@users.noreply.github.com>
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
5 years agoBump IntelliSense nupkg version to Preview 8 in eng/Versions.props (#40380)
Carlos Sanchez Lopez [Fri, 16 Aug 2019 23:35:01 +0000 (16:35 -0700)]
Bump IntelliSense nupkg version to Preview 8 in eng/Versions.props (#40380)

5 years agoPrevent threading issues with warm-up of property caching (#40261) (#40356)
Steve Harter [Fri, 16 Aug 2019 15:34:35 +0000 (10:34 -0500)]
Prevent threading issues with warm-up of property caching (#40261) (#40356)

5 years agoFixed Dispose in JsonDocument and JsonDocument.MetadataDb in order to guard against...
David Cantu [Thu, 15 Aug 2019 21:17:01 +0000 (14:17 -0700)]
Fixed Dispose in JsonDocument and JsonDocument.MetadataDb in order to guard against multiple calls to ArrayPool.Return (#40290) (#40324)

* Fixed Dispose in JsonDocument and JsonDocument.MetadataDb in order to guard against multiple calls to ArrayPool.Return.

* Added condition to validate _utf8Json.Length is > 0 in order to prevent that extraRentedBytes.AsSpan(0, length).Clear() takes a zero length range in a race condition.

* Added test related to this scenario.

* Addressing suggestions.

* Removing unnecesary null assingment.

* Adding comment explaining the reason for minimumLength = 4 on ArrayPool.Rent.

* Adding using System.Threading.

(cherry picked from commit f47bb86d84c5e08e1a8520c5f2b23a0bd7652e2a)

5 years agoEnable Sdl Validation (#40294) (#40316)
Santiago Fernandez Madero [Thu, 15 Aug 2019 20:57:33 +0000 (13:57 -0700)]
Enable Sdl Validation (#40294) (#40316)

5 years agoSupport custom converters that treat non-null input as null (#40287) (#40357)
Steve Harter [Thu, 15 Aug 2019 20:38:45 +0000 (15:38 -0500)]
Support custom converters that treat non-null input as null (#40287) (#40357)

5 years agofixing ZipPackagePart.GetStreamCore crashes with NotSupportedException (#40355)
Steven Kirbach [Thu, 15 Aug 2019 20:32:37 +0000 (13:32 -0700)]
fixing ZipPackagePart.GetStreamCore crashes with NotSupportedException (#40355)

ZipArchiveEntry only ever supports opening once when the backing archive is in Create mode,  and the backing stream is non-seekable, so we shouldn't call SetLength in that case. You could still open an archive in Update mode then call part.GetStream(FileMode.Create), in which case we'll want this call to SetLength, so we only avoid this call when the backing Archive is in Create mode.

updating test to explicitly test the Update path for ZipPackage

skip UAP since we don't have access to the file system to create the .zip

undo accidental change to existing test

removing unnecessary variable

5 years ago[release/3.0] Update dependencies from 3 repositories (#40308)
dotnet-maestro[bot] [Wed, 14 Aug 2019 15:16:39 +0000 (08:16 -0700)]
[release/3.0] Update dependencies from 3 repositories (#40308)

* Update dependencies from https://github.com/dotnet/core-setup build 20190814.02

- Microsoft.NETCore.App - 3.0.0-preview9-19414-02
- Microsoft.NETCore.DotNetHostPolicy - 3.0.0-preview9-19414-02
- Microsoft.NETCore.DotNetHost - 3.0.0-preview9-19414-02

* Update dependencies from https://github.com/dotnet/arcade build 20190812.7

- Microsoft.DotNet.XUnitExtensions - 2.4.1-beta.19412.7
- Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.19412.7
- Microsoft.DotNet.VersionTools.Tasks - 1.0.0-beta.19412.7
- Microsoft.DotNet.ApiCompat - 1.0.0-beta.19412.7
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19412.7
- Microsoft.DotNet.Build.Tasks.Configuration - 1.0.0-beta.19412.7
- Microsoft.DotNet.Build.Tasks.Feed - 2.2.0-beta.19412.7
- Microsoft.DotNet.Build.Tasks.Packaging - 1.0.0-beta.19412.7
- Microsoft.DotNet.CodeAnalysis - 1.0.0-beta.19412.7
- Microsoft.DotNet.CoreFxTesting - 1.0.0-beta.19412.7
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19412.7
- Microsoft.DotNet.GenFacades - 1.0.0-beta.19412.7
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19412.7
- Microsoft.DotNet.RemoteExecutor - 1.0.0-beta.19412.7

* Update dependencies from https://github.com/dotnet/standard build 20190814.3

- NETStandard.Library - 2.1.0-prerelease.19414.3

5 years ago[release/3.0]Handle `UnparseableExtension` status code when building X509Chain on...
buyaa-n [Tue, 13 Aug 2019 22:12:27 +0000 (15:12 -0700)]
[release/3.0]Handle `UnparseableExtension` status code when building X509Chain on … (#40117)

Ignore `UnparseableExtension` status code when building X509Chain on OSX

5 years agoUpdate dependencies from https://github.com/dotnet/standard build 20190813.3 (#40279)
dotnet-maestro[bot] [Tue, 13 Aug 2019 20:17:22 +0000 (13:17 -0700)]
Update dependencies from https://github.com/dotnet/standard build 20190813.3 (#40279)

- NETStandard.Library - 2.1.0-prerelease.19413.3

5 years ago[release/3.0] Fix bugs in null serialization (#40077) (#40236)
Layomi Akinrinade [Tue, 13 Aug 2019 18:14:09 +0000 (14:14 -0400)]
[release/3.0] Fix bugs in null serialization (#40077) (#40236)

* Fix bugs in null serialization (#40077)

* Support null serialization for objects and dictionaries as values in Dictionary and KeyValuePair

* Address reviw comments

* Fix nested enumerable null serialization and add dictionaries to null test suite

* Make serialization null tests independent of reflection ordering

5 years agoAvoid disposing Http2Stream's request body cancellation source
Stephen Toub [Mon, 12 Aug 2019 17:21:05 +0000 (13:21 -0400)]
Avoid disposing Http2Stream's request body cancellation source

5 years ago[release/3.0] Update dependencies from dotnet/core-setup dotnet/arcade (#40274)
dotnet-maestro[bot] [Tue, 13 Aug 2019 14:07:37 +0000 (10:07 -0400)]
[release/3.0] Update dependencies from dotnet/core-setup dotnet/arcade (#40274)

* Update dependencies from https://github.com/dotnet/core-setup build 20190812.05

- Microsoft.NETCore.App - 3.0.0-preview9-19412-05
- Microsoft.NETCore.DotNetHostPolicy - 3.0.0-preview9-19412-05
- Microsoft.NETCore.DotNetHost - 3.0.0-preview9-19412-05

* Update dependencies from https://github.com/dotnet/arcade build 20190812.1

- Microsoft.DotNet.XUnitExtensions - 2.4.1-beta.19412.1
- Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.19412.1
- Microsoft.DotNet.VersionTools.Tasks - 1.0.0-beta.19412.1
- Microsoft.DotNet.ApiCompat - 1.0.0-beta.19412.1
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19412.1
- Microsoft.DotNet.Build.Tasks.Configuration - 1.0.0-beta.19412.1
- Microsoft.DotNet.Build.Tasks.Feed - 2.2.0-beta.19412.1
- Microsoft.DotNet.Build.Tasks.Packaging - 1.0.0-beta.19412.1
- Microsoft.DotNet.CodeAnalysis - 1.0.0-beta.19412.1
- Microsoft.DotNet.CoreFxTesting - 1.0.0-beta.19412.1
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19412.1
- Microsoft.DotNet.GenFacades - 1.0.0-beta.19412.1
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19412.1
- Microsoft.DotNet.RemoteExecutor - 1.0.0-beta.19412.1

5 years ago[release/3.0] Improve compatibility of new AddressFamily values (#40235)
Tomas Weinfurt [Tue, 13 Aug 2019 04:25:22 +0000 (21:25 -0700)]
[release/3.0]  Improve compatibility of new AddressFamily values (#40235)

* throw for unknown or unsupported AddressFamily on Windows (#39785)

* throw for unknown or unsupported SocketAddress on Windows

5 years agoImprove exception message for cycles during serialization (#40126) (#40158)
Steve Harter [Mon, 12 Aug 2019 23:12:25 +0000 (18:12 -0500)]
Improve exception message for cycles during serialization (#40126) (#40158)

5 years ago[release/3.0] Update dependencies from 3 repositories (#40243)
dotnet-maestro[bot] [Mon, 12 Aug 2019 16:41:06 +0000 (12:41 -0400)]
[release/3.0] Update dependencies from 3 repositories (#40243)

* Update dependencies from https://github.com/dotnet/core-setup build 20190811.11

- Microsoft.NETCore.App - 3.0.0-preview9-19411-11
- Microsoft.NETCore.DotNetHostPolicy - 3.0.0-preview9-19411-11
- Microsoft.NETCore.DotNetHost - 3.0.0-preview9-19411-11

* Update dependencies from https://github.com/dotnet/arcade build 20190811.1

- Microsoft.DotNet.XUnitExtensions - 2.4.1-beta.19411.1
- Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.19411.1
- Microsoft.DotNet.VersionTools.Tasks - 1.0.0-beta.19411.1
- Microsoft.DotNet.ApiCompat - 1.0.0-beta.19411.1
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19411.1
- Microsoft.DotNet.Build.Tasks.Configuration - 1.0.0-beta.19411.1
- Microsoft.DotNet.Build.Tasks.Feed - 2.2.0-beta.19411.1
- Microsoft.DotNet.Build.Tasks.Packaging - 1.0.0-beta.19411.1
- Microsoft.DotNet.CodeAnalysis - 1.0.0-beta.19411.1
- Microsoft.DotNet.CoreFxTesting - 1.0.0-beta.19411.1
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19411.1
- Microsoft.DotNet.GenFacades - 1.0.0-beta.19411.1
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19411.1
- Microsoft.DotNet.RemoteExecutor - 1.0.0-beta.19411.1

* Update dependencies from https://github.com/dotnet/standard build 20190812.3

- NETStandard.Library - 2.1.0-prerelease.19412.3

5 years ago[release/3.0] Update dependencies from 3 repositories (#40228)
dotnet-maestro[bot] [Sun, 11 Aug 2019 18:20:49 +0000 (20:20 +0200)]
[release/3.0] Update dependencies from 3 repositories (#40228)

* Update dependencies from https://github.com/dotnet/core-setup build 20190810.12

- Microsoft.NETCore.App - 3.0.0-preview9-19410-12
- Microsoft.NETCore.DotNetHostPolicy - 3.0.0-preview9-19410-12
- Microsoft.NETCore.DotNetHost - 3.0.0-preview9-19410-12

* Update dependencies from https://github.com/dotnet/arcade build 20190810.2

- Microsoft.DotNet.XUnitExtensions - 2.4.1-beta.19410.2
- Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.19410.2
- Microsoft.DotNet.VersionTools.Tasks - 1.0.0-beta.19410.2
- Microsoft.DotNet.ApiCompat - 1.0.0-beta.19410.2
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19410.2
- Microsoft.DotNet.Build.Tasks.Configuration - 1.0.0-beta.19410.2
- Microsoft.DotNet.Build.Tasks.Feed - 2.2.0-beta.19410.2
- Microsoft.DotNet.Build.Tasks.Packaging - 1.0.0-beta.19410.2
- Microsoft.DotNet.CodeAnalysis - 1.0.0-beta.19410.2
- Microsoft.DotNet.CoreFxTesting - 1.0.0-beta.19410.2
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19410.2
- Microsoft.DotNet.GenFacades - 1.0.0-beta.19410.2
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19410.2
- Microsoft.DotNet.RemoteExecutor - 1.0.0-beta.19410.2

* Update dependencies from https://github.com/dotnet/standard build 20190811.3

- NETStandard.Library - 2.1.0-prerelease.19411.3

5 years ago[release/3.0] Update dependencies from 3 repositories (#40211)
dotnet-maestro[bot] [Sat, 10 Aug 2019 20:51:51 +0000 (22:51 +0200)]
[release/3.0] Update dependencies from 3 repositories (#40211)

* Update dependencies from https://github.com/dotnet/core-setup build 20190810.01

- Microsoft.NETCore.App - 3.0.0-preview9-19410-01
- Microsoft.NETCore.DotNetHostPolicy - 3.0.0-preview9-19410-01
- Microsoft.NETCore.DotNetHost - 3.0.0-preview9-19410-01

* Update dependencies from https://github.com/dotnet/arcade build 20190809.8

- Microsoft.DotNet.XUnitExtensions - 2.4.1-beta.19409.8
- Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.19409.8
- Microsoft.DotNet.VersionTools.Tasks - 1.0.0-beta.19409.8
- Microsoft.DotNet.ApiCompat - 1.0.0-beta.19409.8
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19409.8
- Microsoft.DotNet.Build.Tasks.Configuration - 1.0.0-beta.19409.8
- Microsoft.DotNet.Build.Tasks.Feed - 2.2.0-beta.19409.8
- Microsoft.DotNet.Build.Tasks.Packaging - 1.0.0-beta.19409.8
- Microsoft.DotNet.CodeAnalysis - 1.0.0-beta.19409.8
- Microsoft.DotNet.CoreFxTesting - 1.0.0-beta.19409.8
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19409.8
- Microsoft.DotNet.GenFacades - 1.0.0-beta.19409.8
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19409.8
- Microsoft.DotNet.RemoteExecutor - 1.0.0-beta.19409.8

* Update dependencies from https://github.com/dotnet/standard build 20190810.3

- NETStandard.Library - 2.1.0-prerelease.19410.3

5 years agoManual darc update from build '20190810.1'
Viktor Hofer [Sat, 10 Aug 2019 11:41:11 +0000 (13:41 +0200)]
Manual darc update from build '20190810.1'

5 years agoUpdate arcade to bring all necessary yml files and scripts
Santiago Fernandez Madero [Fri, 9 Aug 2019 23:42:43 +0000 (16:42 -0700)]
Update arcade to bring all necessary yml files and scripts

5 years agoMove corefx to stages, use arcade's package artifacts convention (#40124)
Santiago Fernandez Madero [Fri, 9 Aug 2019 20:17:20 +0000 (13:17 -0700)]
Move corefx to stages, use arcade's package artifacts convention (#40124)

* Move corefx to stages, use package artifacts convention start transition to use arcade publish tasks

* Update arcade dependencies from build 20190808.13

5 years agoRemove Microsoft.VisualBasic.{ApplicationServices,Devices,MyServices} (#39972)
Charles Stoner [Sat, 10 Aug 2019 06:29:38 +0000 (23:29 -0700)]
Remove Microsoft.VisualBasic.{ApplicationServices,Devices,MyServices} (#39972)

5 years agoRevert "Move corefx to stages, use arcade's package artifacts convention (#40124...
Santiago Fernandez Madero [Fri, 9 Aug 2019 23:39:04 +0000 (16:39 -0700)]
Revert "Move corefx to stages, use arcade's package artifacts convention (#40124) (#40198)" (#40203)

This reverts commit 47c997a3379937b37ff5b0e3fb9a37a746f4c2b4.