platform/upstream/dotnet/runtime.git
5 years agoDetermine the anyAttribute Namespace based on the NamespaceList (dotnet/corefx#37409)
JosVerburg [Thu, 16 May 2019 22:20:20 +0000 (00:20 +0200)]
Determine the anyAttribute Namespace based on the NamespaceList (dotnet/corefx#37409)

* Determine the anyAttribute Namespace based on the NamespaceList

* Do not test the namespace attribute for full framework for intersection and union cases

* Compare namespaces using string comparison in unit tests

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

5 years agoUpdate issue-guide.md
Karel Zikmund [Thu, 16 May 2019 20:59:33 +0000 (13:59 -0700)]
Update issue-guide.md

Update owners

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

5 years agoExecuting tests in a serial order (dotnet/corefx#37715)
Anirudh Agnihotry [Thu, 16 May 2019 20:27:56 +0000 (13:27 -0700)]
Executing tests in a serial order (dotnet/corefx#37715)

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

5 years agoAdded failing test case for unexpected StackOverflowException
Oskar Dudycz [Thu, 16 May 2019 18:23:09 +0000 (20:23 +0200)]
Added failing test case for unexpected StackOverflowException

[System.Text.Json] Serializing class that has array of children of the same class throws StackOverflowException (dotnet/corefx#37611)

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

5 years agoUse CancellationToken.UnsafeRegister in a few more places (dotnet/corefx#37551)
Stephen Toub [Thu, 16 May 2019 18:08:10 +0000 (11:08 -0700)]
Use CancellationToken.UnsafeRegister in a few more places (dotnet/corefx#37551)

CancellationToken.Register captures the current ExecutionContext and uses it to invoke the callback if/when it's invoked.  That's generally desirable and is the right default, but in cases where we know for certain the callback doesn't care about EC (e.g. we're not invoking any 3rd-party code), we can use UnsafeRegister instead (newly added in 3.0), which skips capturing the ExecutionContext, as if Capture returned null.  This helps few a couple of small costs:
- Avoids thread local lookups to capture the current EC.
- Avoids additional delegate invocations and thread local gets/sets to invoke the callback with the captured EC.
- Avoids holding on to the EC in case it's needed, which can potentially keep alive an unbounded amount of state due to AsyncLocals.

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

5 years agoUpdate issue-guide.md
Karel Zikmund [Thu, 16 May 2019 17:37:28 +0000 (10:37 -0700)]
Update issue-guide.md

Update area ownerships

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

5 years agoLinux: ProcessName: return script name instead of interpreter program (dotnet/corefx...
Tom Deseyn [Thu, 16 May 2019 17:30:06 +0000 (10:30 -0700)]
Linux: ProcessName: return script name instead of interpreter program (dotnet/corefx#37294)

* Linux: ProcessName: return script name instead of interpreter program

Fixes https://github.com/dotnet/corefx/issues/37198
Regression by https://github.com/dotnet/corefx/pull/37144

* Add ProcessNameMatchesScriptName test

* ProcessNameMatchesScriptName: don't run on OSX

* LongProcessNamesAreSupported: don't run on Alpine

* Remove ActiveIssue attributes

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

5 years agoMark System.Reflection.Emit* as inbox on netstandard2.1 (dotnet/corefx#37532)
William Godbe [Thu, 16 May 2019 16:53:04 +0000 (09:53 -0700)]
Mark System.Reflection.Emit* as inbox on netstandard2.1 (dotnet/corefx#37532)

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

5 years agoUpdate ProjectNTfs to beta-27716-00 (dotnet/corefx#37698)
dotnet-maestro-bot [Thu, 16 May 2019 15:42:41 +0000 (08:42 -0700)]
Update ProjectNTfs to beta-27716-00 (dotnet/corefx#37698)

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

5 years agoFix serialization of Dictionary<string, object> (dotnet/corefx#37686)
Jeremy Kuhne [Thu, 16 May 2019 04:45:57 +0000 (21:45 -0700)]
Fix serialization of Dictionary<string, object> (dotnet/corefx#37686)

We didn't drill into the value type (of the key/value pair, i.e. "object") properly when serializing.

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

5 years agoAdded System.GC.GetTotalAllocatedBytes to the ref assembly (dotnet/corefx#37635)
Vladimir Sadov [Thu, 16 May 2019 00:13:00 +0000 (17:13 -0700)]
Added System.GC.GetTotalAllocatedBytes to the ref assembly (dotnet/corefx#37635)

* Update dependencies from https://github.com/dotnet/coreclr build 20190514.72

- Microsoft.NET.Sdk.IL - 3.0.0-preview6-27714-72
- Microsoft.NETCore.ILAsm - 3.0.0-preview6-27714-72
- Microsoft.NETCore.Runtime.CoreCLR - 3.0.0-preview6-27714-72

* Added GetTotalAllocatedBytes to ref

* Added a test for GC.GetTotalAllocatedBytes

* SImplified the test.

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

5 years agoRemove ILC testing (dotnet/corefx#37681)
Viktor Hofer [Wed, 15 May 2019 20:52:49 +0000 (22:52 +0200)]
Remove ILC testing (dotnet/corefx#37681)

* Remove ILC testing

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

5 years agoAdd Guid serialization support. (dotnet/corefx#37529)
Jeremy Kuhne [Wed, 15 May 2019 19:23:23 +0000 (12:23 -0700)]
Add Guid serialization support. (dotnet/corefx#37529)

* Add Guid serialization support.

Add non IConvertable converters to dictionary for easier extensibility.

* Fix project ordering.

* Remove explicit static constructor

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

5 years agoImprove test coverage for SequenceReader. (dotnet/corefx#37416)
Jeremy Kuhne [Wed, 15 May 2019 19:08:19 +0000 (12:08 -0700)]
Improve test coverage for SequenceReader. (dotnet/corefx#37416)

One of the tests was inadvertently private. Added additional coverage and clarification text to TryCopyTo.

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

5 years agoUpdate ProjectNTfs, ProjectNTfsTestILC to beta-27715-00, beta-27715-00, respectively...
dotnet-maestro-bot [Wed, 15 May 2019 18:27:23 +0000 (11:27 -0700)]
Update ProjectNTfs, ProjectNTfsTestILC to beta-27715-00, beta-27715-00, respectively (dotnet/corefx#37663)

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

5 years agoAdded optional/default parameters for StreamWriter/StreamReader (dotnet/corefx#36959)
Jim Demis [Wed, 15 May 2019 17:39:46 +0000 (20:39 +0300)]
Added optional/default parameters for StreamWriter/StreamReader (dotnet/corefx#36959)

* Added optional/default parameters for StreamWriter/StreamReader

Fix dotnet/corefx#8173

* removed tests

* Added tests for constructors with optional arguments

* Added tests and reverted null encoding throws

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

5 years ago[master] Update dependencies from dotnet/arcade (dotnet/corefx#37512)
dotnet-maestro[bot] [Wed, 15 May 2019 16:22:16 +0000 (09:22 -0700)]
[master] Update dependencies from dotnet/arcade (dotnet/corefx#37512)

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

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

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

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

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

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

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

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

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

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

* Use RemoteExecutor NS version

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

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

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

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

* Exclude compile assets for RemoteExecutor

* Manual darc update from build '20190514.12'

* Fix Unix restore of RemoteExecutor

* Exclude assets for RemoteExecutor correctly

* Downgrade compiler version

* Fix remoteexecutor lib binplacing for uap/uapaot

* Add RemoteExecutorHost tfms in test

* Fix process name check test on netfx

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

5 years agoUnix: make Backspace work when Console.ReadLine has wrapped lines (dotnet/corefx...
Tom Deseyn [Wed, 15 May 2019 16:13:27 +0000 (09:13 -0700)]
Unix: make Backspace work when Console.ReadLine has wrapped lines (dotnet/corefx#37182)

* Unix: make Backspace work when Console.ReadLine has wrapped lines

* Get ClrEof string from TermInfo database

* PR feedback

* ManualTests: replace Fact by ConditionalFact(ManualTestsEnabled)

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

5 years agoAdd ToXmlString and FromXmlString implementations to RSA and DSA.
Jeremy Barton [Wed, 15 May 2019 05:54:46 +0000 (22:54 -0700)]
Add ToXmlString and FromXmlString implementations to RSA and DSA.

The ToXmlString implementations produce output identical to .NET Framework.

The FromXmlString implementations are based on XDocument in Core, vs a
custom parser in Framework.  Additionally, the FromXmlString in Core can
read values which (per the xmldsig spec) removed any leading zero-value
bytes, whereas the Framework version can't.

No ToXmlString or FromXmlString is being added for ECDsa or
ECDiffieHellman, because these types have always thrown in .NET Framework.
The equivalent functionality was provided by an overload on ECDsaCng (and
ECDiffieHellmanCng) that took a format-type enum (with only one member
defined in it). Since that's not portable, and telemetry has never
seen a caller of that method, they are being left as PNSE.

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

5 years agoFix System.Diagnostics.Process.[x]ProcessorTime on macOS (dotnet/corefx#37637)
Gergely Kalapos [Wed, 15 May 2019 03:08:15 +0000 (23:08 -0400)]
Fix System.Diagnostics.Process.[x]ProcessorTime on macOS (dotnet/corefx#37637)

* Fix System.Diagnostics.Process xProcessorTime props and add test

The ri_user_time unit is nanoseconds, but the TimeSpan .ctor expects values with a 100-nanosecond unit.

* Update src/System.Diagnostics.Process/tests/ProcessTests.cs

* Update src/System.Diagnostics.Process/tests/ProcessTests.cs

* Update src/System.Diagnostics.Process/tests/ProcessTests.cs

* Update src/System.Diagnostics.Process/tests/ProcessTests.cs

* Add ActiveIssue to TotalProcessorTime_PerformLoop_TotalProcessorTimeValid

* Address PR feedback

* Fix typo - NanoSeconds -> Nanoseconds

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

5 years agoMove colon debug assert to where it is needed (dotnet/corefx#37654)
Layomi Akinrinade [Wed, 15 May 2019 01:29:56 +0000 (18:29 -0700)]
Move colon debug assert to where it is needed (dotnet/corefx#37654)

This addresses https://github.com/dotnet/corefx/pull/37159#discussion_r279108249.

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

5 years agoHarden PerfCounter tests (dotnet/corefx#37658)
Viktor Hofer [Wed, 15 May 2019 01:28:16 +0000 (03:28 +0200)]
Harden PerfCounter tests (dotnet/corefx#37658)

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

5 years agoDon't reference netstandard.dll by wildcard (dotnet/corefx#37660)
Eric StJohn [Tue, 14 May 2019 23:13:50 +0000 (16:13 -0700)]
Don't reference netstandard.dll by wildcard (dotnet/corefx#37660)

NetStandard.dll is built during the same phase as the other generated shims.
We use a ProjectReference to correctly sequence it before other generated
shims.  Make sure that building a generated shim after building
netstandard.csproj doesn't result in 2 netstandard.dll's being passed to
the compiler.

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

5 years agoFix bug in ZipArchiveEntry data descriptor (dotnet/corefx#37601)
Carlos Sanchez Lopez [Tue, 14 May 2019 21:26:12 +0000 (14:26 -0700)]
Fix bug in ZipArchiveEntry data descriptor (dotnet/corefx#37601)

* Prevent data corruption (can't drag drop files using external zip tools) when data descriptor bit is turned on in a seekable file that is being updated.

* Add unit test to verify data descriptor is off after updating a zip file that was created with an unseekable stream.

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

5 years agodisable UDS tests on Nano (dotnet/corefx#37652)
Tomas Weinfurt [Tue, 14 May 2019 17:41:01 +0000 (10:41 -0700)]
disable UDS tests on Nano (dotnet/corefx#37652)

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

5 years agoMerge pull request dotnet/corefx#37632 from dotnet/MattGal-patch-1
Matt Galbraith [Tue, 14 May 2019 17:30:53 +0000 (10:30 -0700)]
Merge pull request dotnet/corefx#37632 from dotnet/MattGal-patch-1

Use Docker feature for nano runs

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

5 years agoReplace the esoteric '<<' in calls to Buffer.BlockCopy() in URI.cs (dotnet/corefx...
William Godbe [Tue, 14 May 2019 17:24:18 +0000 (10:24 -0700)]
Replace the esoteric '<<' in calls to Buffer.BlockCopy() in URI.cs (dotnet/corefx#37310)

* Document the esoteric use of '<<' in URI.cs

* Fix comment style

* Make calls to Buffer.BlockCopy() clearer

* Add EOL

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

5 years agoupdate HTTP2 responce header processing (dotnet/corefx#37572)
Tomas Weinfurt [Tue, 14 May 2019 16:52:45 +0000 (09:52 -0700)]
update HTTP2 responce header processing (dotnet/corefx#37572)

* update HTTP2 responce header processing

* fix also trailinbg headers

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

5 years agoUpdate ProjectNTfs, ProjectNTfsTestILC to beta-27714-00, beta-27714-00, respectively...
dotnet-maestro-bot [Tue, 14 May 2019 16:30:01 +0000 (09:30 -0700)]
Update ProjectNTfs, ProjectNTfsTestILC to beta-27714-00, beta-27714-00, respectively (dotnet/corefx#37638)

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

5 years agoReplace rewriting GenFacades shims with source projects (dotnet/corefx#37550)
Eric StJohn [Tue, 14 May 2019 16:23:42 +0000 (09:23 -0700)]
Replace rewriting GenFacades shims with source projects (dotnet/corefx#37550)

* Replace rewriting GenFacades shims with source projects

This uses the new facade generation process that generates source files
instead of relying on assembly rewriting for the production of desktop
and netstandard facades.

* Don't double import the SDK

I reuse the properties in the generated projects (treating them as props
files) but the SDK attribute on the Project element was causing the SDK
to be imported twice.  Avoid this by conditioning the imports.

* Workaround APICompat misidentifying the core assembly

* Fix shim binplacing

* Clarify comment.

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

5 years agoUpdate windows.yml
Matt Galbraith [Tue, 14 May 2019 15:49:50 +0000 (08:49 -0700)]
Update windows.yml

Put quotes back (tried without them for @safern )

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

5 years agoUpdate windows.yml
Matt Galbraith [Tue, 14 May 2019 15:37:39 +0000 (08:37 -0700)]
Update windows.yml

Remove " chars

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

5 years agoremoving partial facades from netcoreapp\uap reference assembly build (dotnet/corefx...
Anirudh Agnihotry [Tue, 14 May 2019 04:58:20 +0000 (21:58 -0700)]
removing partial facades from netcoreapp\uap reference assembly build (dotnet/corefx#37591)

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

5 years agoAllow trailing trivia in JsonSerializer.Parse and Read dotnet/corefx#37500 (dotnet...
Christopher Watford [Tue, 14 May 2019 03:58:42 +0000 (23:58 -0400)]
Allow trailing trivia in JsonSerializer.Parse and Read dotnet/corefx#37500 (dotnet/corefx#37549)

* Add tests for trailing trivia to JsonSerializer

Contributes to dotnet/corefx#37500

* Consume trailing trivia in JsonSerializer.ReadCore

Fixes dotnet/corefx#37500

* Add tests for leading trivia too

- Consolidates leading and trailing trivia tests into one

* Simplify ReadCore loop per @ahsonkhan review

NOTE: throws NPE in state.PropertyPath if invalid JSON is in the trailer.

* Do not compute PropertyPath if outside document

* Add additional test cases for primitives

* Clean up tests and add negative test for leading/trailing comments

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

5 years agoUpdate windows.yml
Matt Galbraith [Mon, 13 May 2019 23:23:27 +0000 (16:23 -0700)]
Update windows.yml

Still fighting the yaml

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

5 years agoUpdate windows.yml
Matt Galbraith [Mon, 13 May 2019 23:21:10 +0000 (16:21 -0700)]
Update windows.yml

fix typo

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

5 years agoUpdate windows.yml
Matt Galbraith [Mon, 13 May 2019 23:18:26 +0000 (16:18 -0700)]
Update windows.yml

Ah ha, it's a backtick to get powershell to work with ( )

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

5 years agoUpdate windows.yml
Matt Galbraith [Mon, 13 May 2019 22:49:50 +0000 (15:49 -0700)]
Update windows.yml

change to double quotes

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

5 years agoFix ODBC issues with UTF-16 (dotnet/corefx#36710)
Calvin Buckley [Mon, 13 May 2019 22:46:02 +0000 (19:46 -0300)]
Fix ODBC issues with UTF-16 (dotnet/corefx#36710)

* Fixup UTF-16 string marshalling rules in ODBC

Based on a patch by Filip Navara (@filipnavara) - this clears up
some ambigious situations after the change to UTF-8 by default.

* Fix endianness issue marshalling UTF-16 strings manually in ODBC

Encoding.Unicode is used for UTF-16LE, and is no good on big
endian systems. Detect at runtime what Encoding object to use.

This fixes ODBC on Mono for IBM i.

* Restore in attributes from botched patch application

* and this line too

* remove unneeded MarshalAs on SQLGetDiagFieldW

* compile error typo fix

* Remove in attributes on strings

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

5 years agoUpdate windows.yml
Matt Galbraith [Mon, 13 May 2019 22:31:18 +0000 (15:31 -0700)]
Update windows.yml

Try escaping the ()

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

5 years agoAdd support for more collections (dotnet/corefx#37308)
Layomi Akinrinade [Mon, 13 May 2019 21:19:31 +0000 (14:19 -0700)]
Add support for more collections (dotnet/corefx#37308)

* Add support for additional collections

* Add more tests

* Some changes

* Address review feedback

* Some nits

* Remove immutable dependency

* Use Invoke, not DyanmicInvoke

* Address review comments

* Utilize JsonPropertyInfoCommon generic TElement parameter

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

5 years agoMerge pull request dotnet/corefx#37574 from dotnet/darc-master-ed378f9a-8baa-48bb...
William Godbe [Mon, 13 May 2019 19:31:42 +0000 (12:31 -0700)]
Merge pull request dotnet/corefx#37574 from dotnet/darc-master-ed378f9a-8baa-48bb-8487-e5938c044604

[master] Update dependencies from dotnet/standard

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

5 years agoMerge pull request dotnet/corefx#37619 from dotnet-maestro-bot/master-UpdateDependencies
William Godbe [Mon, 13 May 2019 19:24:46 +0000 (12:24 -0700)]
Merge pull request dotnet/corefx#37619 from dotnet-maestro-bot/master-UpdateDependencies

Update ProjectNTfs, ProjectNTfsTestILC to beta-27713-00, beta-27713-00, respectively (master)

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

5 years agoUse Docker feature for nano runs
Matt Galbraith [Mon, 13 May 2019 18:45:32 +0000 (11:45 -0700)]
Use Docker feature for nano runs

@wfurt FYI

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

5 years agoUpdate ProjectNTfs, ProjectNTfsTestILC to beta-27713-00, beta-27713-00, respectively
dotnet-maestro-bot [Mon, 13 May 2019 18:08:35 +0000 (11:08 -0700)]
Update ProjectNTfs, ProjectNTfsTestILC to beta-27713-00, beta-27713-00, respectively

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

5 years agoMerge branch 'master' into darc-master-ed378f9a-8baa-48bb-8487-e5938c044604
William Godbe [Mon, 13 May 2019 17:57:02 +0000 (10:57 -0700)]
Merge branch 'master' into darc-master-ed378f9a-8baa-48bb-8487-e5938c044604

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

5 years agoAdd Idn.GetAscii Test (dotnet/corefx#37498)
Tarek Mahmoud Sayed [Mon, 13 May 2019 16:18:11 +0000 (09:18 -0700)]
Add Idn.GetAscii Test (dotnet/corefx#37498)

This test to enusre we are not throwing when having a string with hyphens in the 3rd and 4th places.

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

5 years agoAdd AssemblyResolve_FirstChanceException test (dotnet/corefx#37570)
Steve MacLean [Sat, 11 May 2019 00:21:38 +0000 (20:21 -0400)]
Add AssemblyResolve_FirstChanceException test (dotnet/corefx#37570)

PR Feedback

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

5 years agoUpdate System.Text.Encodings.Web Unicode data to 12.1
Levi Broderick [Thu, 9 May 2019 23:27:15 +0000 (16:27 -0700)]
Update System.Text.Encodings.Web Unicode data to 12.1

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

5 years agoRefactoring and code cleanup for System.Text.Encodings.Web
Levi Broderick [Sun, 5 May 2019 03:56:47 +0000 (20:56 -0700)]
Refactoring and code cleanup for System.Text.Encodings.Web
- Don't use embedded resources for the mapping of defined characters
- Rename source files to better reflect actual namespace layouts
- Add tools for generating the list of defined characters and Unicode ranges
- Add instructions on how to update the underlying Unicode data

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

5 years agoRe-enables OLEDB tests and Fixes SEHException (dotnet/corefx#37540)
Maryam Ariyan [Fri, 10 May 2019 21:06:16 +0000 (14:06 -0700)]
Re-enables OLEDB tests and Fixes SEHException (dotnet/corefx#37540)

Fixes: dotnet/corefx#37538

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

5 years agoUpdate ProjectNTfs, ProjectNTfsTestILC to beta-27710-00, beta-27710-00, respectively...
dotnet-maestro-bot [Fri, 10 May 2019 16:08:19 +0000 (09:08 -0700)]
Update ProjectNTfs, ProjectNTfsTestILC to beta-27710-00, beta-27710-00, respectively (dotnet/corefx#37581)

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

5 years agoFixing the ApCompatBaselines for System.Runtime.Intrinsics and System.Numerics.Vector...
Tanner Gooding [Fri, 10 May 2019 15:01:26 +0000 (08:01 -0700)]
Fixing the ApCompatBaselines for System.Runtime.Intrinsics and System.Numerics.Vectors (dotnet/corefx#37568)

* Ensure that the System.Numerics.Vectors implementation and ref match.

* Ensure that the System.Runtime.Intrinsics implementation and ref match.

* Ensure that the System.Runtime.Intrinsics.Experimental implementation and ref match.

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

5 years agoAdding typeforward to AsyncInterfaces now that the type has been added to netstandard...
Jose Perez Rodriguez [Fri, 10 May 2019 03:01:57 +0000 (20:01 -0700)]
Adding typeforward to AsyncInterfaces now that the type has been added to netstandard (dotnet/corefx#37575)

* Adding typeforward to AsyncInterfaces now that the type has been added to netstandard

* Remove baseline entry for missing type

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

5 years agoAdd ServiceContainer tests and fix bugs (dotnet/corefx#37519)
Hugh Bellamy [Fri, 10 May 2019 00:15:11 +0000 (17:15 -0700)]
Add ServiceContainer tests and fix bugs (dotnet/corefx#37519)

* Add ServiceContainer tests and fix bugs

* Fix .NET Framework tests

* Dummy change for CI

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

5 years agoFix netfx build with nullable annotations
Stephen Toub [Thu, 9 May 2019 19:25:49 +0000 (15:25 -0400)]
Fix netfx build with nullable annotations

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

5 years agoUse RetryHelper to harden flaky tests (dotnet/corefx#37560)
Viktor Hofer [Thu, 9 May 2019 21:25:24 +0000 (23:25 +0200)]
Use RetryHelper to harden flaky tests (dotnet/corefx#37560)

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

5 years agoMove UseDefaultCredentials_SetToFalseAndServerNeedsAuth_StatusCodeUnauthorized test...
Stephen Toub [Thu, 9 May 2019 21:24:57 +0000 (17:24 -0400)]
Move UseDefaultCredentials_SetToFalseAndServerNeedsAuth_StatusCodeUnauthorized test to OuterLoop (dotnet/corefx#37556)

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

5 years agoDisable PostAsyncExpect100Continue_FailsAfterContentSendStarted_Throws on non-Sockets...
Stephen Toub [Thu, 9 May 2019 21:24:31 +0000 (17:24 -0400)]
Disable PostAsyncExpect100Continue_FailsAfterContentSendStarted_Throws on non-SocketsHttpHandler (dotnet/corefx#37553)

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

5 years agoTweak SendRecv_NoBuffering_Success test to gather more details (dotnet/corefx#37555)
Stephen Toub [Thu, 9 May 2019 20:20:20 +0000 (16:20 -0400)]
Tweak SendRecv_NoBuffering_Success test to gather more details (dotnet/corefx#37555)

The test failed from the `Assert.Equal(sendBuffer.Length, totalReceived)` with `totalReceived == 0`.  The only way that should happen, short of buggy product code, is if somehow the connection was torn down from the client side such that the server side read 0 bytes.  Under the theory that maybe that was somehow caused by the send operation failing, we should wait on the send task from the client before doing the assert.

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

5 years agoRemove unnecessary string allocation from ZipFileUtils (dotnet/corefx#37546)
Stephen Toub [Thu, 9 May 2019 19:39:39 +0000 (15:39 -0400)]
Remove unnecessary string allocation from ZipFileUtils (dotnet/corefx#37546)

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

5 years agoAdd TaskAsyncEnumerableExtensions to Microsoft.Bcl.AsyncInterfaces (dotnet/corefx...
Stephen Toub [Thu, 9 May 2019 18:33:20 +0000 (14:33 -0400)]
Add TaskAsyncEnumerableExtensions to Microsoft.Bcl.AsyncInterfaces (dotnet/corefx#37379)

* Add TaskAsyncEnumerableExtensions to Microsoft.Bcl.AsyncInterfaces

* Adding baseline entry for the missing type on netstandard

* Temporarily changing test configurations of AsyncInterfaces package so that all types are found.

* Comment out AsyncEnumerable tests while the type makes its way to netstandard 2.1

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

5 years agoUpdate ProjectNTfs, ProjectNTfsTestILC to beta-27709-00, beta-27709-00, respectively...
dotnet-maestro-bot [Thu, 9 May 2019 16:59:09 +0000 (09:59 -0700)]
Update ProjectNTfs, ProjectNTfsTestILC to beta-27709-00, beta-27709-00, respectively (dotnet/corefx#37535)

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

5 years agoMake ZipFileUtils use of ArrayPool more reliable (dotnet/corefx#37547)
Stephen Toub [Thu, 9 May 2019 16:55:15 +0000 (12:55 -0400)]
Make ZipFileUtils use of ArrayPool more reliable (dotnet/corefx#37547)

If the Rent call tried to allocate and OOM'd, we would end up returning the same buffer to the pool twice, once here and once in the caller's finally.

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

5 years agoUse better Array.Copy overload (dotnet/corefx#37548)
Stephen Toub [Thu, 9 May 2019 16:43:45 +0000 (12:43 -0400)]
Use better Array.Copy overload (dotnet/corefx#37548)

Just a little cleanup.  When we're working with T[]s, use Array.Copy that takes a lower bound, explicitly passing in 0, rather than forcing the implementation to query GetLowerBound() on each array.

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

5 years agoAdds more OleDb tests (dotnet/corefx#37509)
Maryam Ariyan [Thu, 9 May 2019 11:04:55 +0000 (04:04 -0700)]
Adds more OleDb tests (dotnet/corefx#37509)

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

5 years ago[master] Update dependencies from dotnet/coreclr (dotnet/corefx#37514)
dotnet-maestro[bot] [Thu, 9 May 2019 11:03:22 +0000 (07:03 -0400)]
[master] Update dependencies from dotnet/coreclr (dotnet/corefx#37514)

* Update dependencies from https://github.com/dotnet/coreclr build 20190507.72

- Microsoft.NET.Sdk.IL - 3.0.0-preview6-27707-72
- Microsoft.NETCore.ILAsm - 3.0.0-preview6-27707-72
- Microsoft.NETCore.Runtime.CoreCLR - 3.0.0-preview6-27707-72

* Update Microsoft.DotNet.XUnitConsoleRunner

We need the fix which removes STAThread from the main routine of
xunit.console.

* Clean up the baseline for DiagnosticCounter

* Update test baseline.

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

5 years agoExpose and test APIs for some threading metrics (CoreFX) (dotnet/corefx#37401)
Koundinya Veluri [Thu, 9 May 2019 10:44:39 +0000 (03:44 -0700)]
Expose and test APIs for some threading metrics (CoreFX) (dotnet/corefx#37401)

* Expose and test APIs for some threading metrics (CoreFX)

- API review: https://github.com/dotnet/corefx/issues/35500
- Depends on https://github.com/dotnet/coreclr/pull/22754, https://github.com/dotnet/corert/pull/7066

* Separate and expose pending local vs global work item count

* Remove local/global variants of PendingWorkItemCount

* Remove unrelated test

* Add test for a fix to ThreadLocal.Values property throwing NullReferenceException when disposed

Fix is in https://github.com/dotnet/corert/pull/7066

* Fix build

* Fix test

* Add API compat baselines for uapaot

* Fix test

* Use RemoteExecutor for MetricsTest

* Address feedback

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

5 years agoSuppress NullableAttribute reverse API compat warnings
Stephen Toub [Wed, 8 May 2019 21:26:44 +0000 (17:26 -0400)]
Suppress NullableAttribute reverse API compat warnings

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

5 years agoNullable: System.Collections.dll
Stephen Toub [Thu, 2 May 2019 02:39:24 +0000 (22:39 -0400)]
Nullable: System.Collections.dll

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

5 years agoNullable: System.Collections.Concurrent.dll
Stephen Toub [Thu, 18 Apr 2019 02:42:16 +0000 (22:42 -0400)]
Nullable: System.Collections.Concurrent.dll

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

5 years agoNullable: System.Diagnostics.StackTrace.dll
Stephen Toub [Thu, 18 Apr 2019 02:11:11 +0000 (22:11 -0400)]
Nullable: System.Diagnostics.StackTrace.dll

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

5 years agoNullable: System.Numerics.Vectors.dll
Stephen Toub [Thu, 18 Apr 2019 01:54:15 +0000 (21:54 -0400)]
Nullable: System.Numerics.Vectors.dll

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

5 years agoNullable: System.Runtime.InteropServices.dll
Stephen Toub [Wed, 17 Apr 2019 21:47:39 +0000 (17:47 -0400)]
Nullable: System.Runtime.InteropServices.dll

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

5 years agoNullable: System.Security.Principal.dll
Stephen Toub [Wed, 17 Apr 2019 21:39:38 +0000 (17:39 -0400)]
Nullable: System.Security.Principal.dll

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

5 years agoNullable: System.Threading.dll
Stephen Toub [Wed, 17 Apr 2019 21:38:37 +0000 (17:38 -0400)]
Nullable: System.Threading.dll

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

5 years agoNullable: System.Threading.Thread.dll
Stephen Toub [Wed, 17 Apr 2019 21:30:03 +0000 (17:30 -0400)]
Nullable: System.Threading.Thread.dll

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

5 years agoNullable: System.Diagnostics.Tools.dll
Stephen Toub [Wed, 17 Apr 2019 21:27:49 +0000 (17:27 -0400)]
Nullable: System.Diagnostics.Tools.dll

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

5 years agoNullable: System.Memory.dll
Stephen Toub [Wed, 17 Apr 2019 21:25:55 +0000 (17:25 -0400)]
Nullable: System.Memory.dll

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

5 years agoNullable: System.Runtime.Extensions.dll
Stephen Toub [Wed, 17 Apr 2019 19:21:35 +0000 (15:21 -0400)]
Nullable: System.Runtime.Extensions.dll

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

5 years agoNullable: System.Runtime.dll
Stephen Toub [Wed, 17 Apr 2019 15:41:28 +0000 (11:41 -0400)]
Nullable: System.Runtime.dll

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

5 years agoskip all OleDb tests first to unblock other PRs. (dotnet/corefx#37539)
Maryam Ariyan [Thu, 9 May 2019 09:17:53 +0000 (02:17 -0700)]
skip all OleDb tests first to unblock other PRs. (dotnet/corefx#37539)

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

5 years agoFix dotnet/corefx#37506: System.Text.Json fails to parse enums with negative values...
Paul Buonopane [Thu, 9 May 2019 03:45:57 +0000 (23:45 -0400)]
Fix dotnet/corefx#37506: System.Text.Json fails to parse enums with negative values (dotnet/corefx#37508)

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

5 years agoReenable tests (dotnet/corefx#37521)
Steve MacLean [Thu, 9 May 2019 02:35:40 +0000 (22:35 -0400)]
Reenable tests (dotnet/corefx#37521)

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

5 years agoFix unnecessary culture-aware comparisons in System.Net (dotnet/corefx#37499)
Stephen Toub [Thu, 9 May 2019 00:24:41 +0000 (20:24 -0400)]
Fix unnecessary culture-aware comparisons in System.Net (dotnet/corefx#37499)

- string.IndexOf(string) and string.IndexOf(string, int) are culture-aware.  For most situations in System.Net, that's undesirable and Ordinal is both more correct and faster.
- string.IndexOf("c", StringComparison.Ordinal) is better off as string.IndexOf('c') for perf and simplicity.
- string.IndexOf('c') >= 0 is better off as string.Contains('c') for perf and simplicity.

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

5 years agoMerge pull request dotnet/corefx#37530 from dotnet/MattGal-patch-1
Matt Galbraith [Thu, 9 May 2019 00:18:05 +0000 (17:18 -0700)]
Merge pull request dotnet/corefx#37530 from dotnet/MattGal-patch-1

Update CI docker images

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

5 years agoUpdate linux.yml
Matt Galbraith [Wed, 8 May 2019 23:48:50 +0000 (16:48 -0700)]
Update linux.yml

Update to @wfurt 's latest images

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

5 years agoUpdate CI docker images
Matt Galbraith [Wed, 8 May 2019 22:55:21 +0000 (15:55 -0700)]
Update CI docker images

@wfurt FYI;  we may need to tweak permissions still on these images too.

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

5 years agoUpdate issue-guide.md
Maryam Ariyan [Wed, 8 May 2019 22:03:12 +0000 (15:03 -0700)]
Update issue-guide.md

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

5 years agohandle Http2Stream add/remove better (dotnet/corefx#37505)
Tomas Weinfurt [Wed, 8 May 2019 21:28:13 +0000 (14:28 -0700)]
handle Http2Stream add/remove better  (dotnet/corefx#37505)

* handle sream add/remove better

* abort connection only if it is not already disposed

* feedback from review

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

5 years agoUpdate ProjectNTfs, ProjectNTfsTestILC to beta-27708-01, beta-27708-01, respectively...
dotnet-maestro-bot [Wed, 8 May 2019 12:50:27 +0000 (05:50 -0700)]
Update ProjectNTfs, ProjectNTfsTestILC to beta-27708-01, beta-27708-01, respectively (dotnet/corefx#37507)

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

5 years ago React to APICompat changes enabling reverse APICompat for facades (dotnet/corefx...
Eric StJohn [Wed, 8 May 2019 02:46:58 +0000 (19:46 -0700)]
 React to APICompat changes enabling reverse APICompat for facades (dotnet/corefx#37375)

* React to APICompat changes enabling reverse APICompat for facades

* Fix UAP and NETFX reverse APICompat issues

* Fix reverse APICompat baseline for allconfigurations build

* Manually update to latest APICompat

* Manually update to latest CoreCLR and fix issues

* Baseline System.Threading.Tasks

* Revert "Manually update to latest CoreCLR and fix issues"

This partially reverts commit dotnet/corefx@ee800617b6a52cc66ac3214717f34b8896320ef9.

I'm keeping the baseline changes which will be needed when we get a new update.

* Temporarily baseline DiagnosticCounter API gaps

This can be removed when get a new CoreCLR

That's currently blocked due to regressions in tests.

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

5 years agoMerge pull request dotnet/corefx#37501 from dotnet/update-helix-sdk
Matt Galbraith [Tue, 7 May 2019 21:25:31 +0000 (14:25 -0700)]
Merge pull request dotnet/corefx#37501 from dotnet/update-helix-sdk

Update Helix SDK version

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

5 years agoFixing SystemNative_GetTimestampResolution for CLOCK_MONOTONIC (dotnet/corefx#37494)
Tanner Gooding [Tue, 7 May 2019 20:17:47 +0000 (13:17 -0700)]
Fixing SystemNative_GetTimestampResolution for CLOCK_MONOTONIC (dotnet/corefx#37494)

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

5 years agoPropagate System.Runtime.WindowsRuntime package build targets though transitive refer...
Jeremy Koritzinsky [Tue, 7 May 2019 19:38:54 +0000 (12:38 -0700)]
Propagate System.Runtime.WindowsRuntime package build targets though transitive references. (dotnet/corefx#37476)

* Propagate System.Runtime.WindowsRuntime package build targets though transitive references.

* PR Feedback.

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

5 years agoFix nullability mismatch on partial declarations
Stephen Toub [Tue, 7 May 2019 16:10:47 +0000 (12:10 -0400)]
Fix nullability mismatch on partial declarations

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

5 years agoMove WithCancellation/ConfigureAwait extension methods (dotnet/corefx#37367)
Stephen Toub [Tue, 7 May 2019 17:19:40 +0000 (13:19 -0400)]
Move WithCancellation/ConfigureAwait extension methods (dotnet/corefx#37367)

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

5 years agoRemove suppression for EventRegistrationToken now that it is no longer duplicated...
Eric StJohn [Tue, 7 May 2019 16:59:33 +0000 (09:59 -0700)]
Remove suppression for EventRegistrationToken now that it is no longer duplicated (dotnet/corefx#37481)

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

5 years agoRefactor null handling and add tests (dotnet/corefx#37300)
Steve Harter [Tue, 7 May 2019 15:53:25 +0000 (08:53 -0700)]
Refactor null handling and add tests (dotnet/corefx#37300)

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

5 years agoUpdate ProjectNTfs, ProjectNTfsTestILC to beta-27707-00, beta-27707-00, respectively...
dotnet-maestro-bot [Tue, 7 May 2019 15:44:38 +0000 (08:44 -0700)]
Update ProjectNTfs, ProjectNTfsTestILC to beta-27707-00, beta-27707-00, respectively (dotnet/corefx#37484)

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