Use new OS checks in src (#40520)
authorAdam Sitnik <adam.sitnik@gmail.com>
Mon, 10 Aug 2020 11:05:30 +0000 (13:05 +0200)
committerGitHub <noreply@github.com>
Mon, 10 Aug 2020 11:05:30 +0000 (13:05 +0200)
commitfb18a11af37209018899ed31470bd639fb9fc9b6
treeb1f2774c3f33becfa4ecd67ddafdeec30cfa8e2d
parent4ec3a25cfa9555d5ec07ec6ab2c8db98ad0489c8
Use new OS checks in src (#40520)

* use new OperatingSystem APIs in System.Net.Ping and remove dependency from System.Runtime.InteropServices.RuntimeInformation

* use new OperatingSystem APIs in System.Security.Cryptography.Algorithms

* use new OperatingSystem APIs in System.ComponentModel.Composition and improve perf..

* use new OperatingSystem APIs in System.Net.Http and remove dependency from System.Runtime.InteropServices.RuntimeInformation

* Apply suggestions from code review

* there is no need to cache the results anymore
src/libraries/Common/src/Extensions/CommandLineUtils/Utilities/DotNetMuxer.cs
src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/Interop/MsQuicStatusCodes.cs
src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/Interop/MsQuicStatusHelper.cs
src/libraries/Common/src/System/Net/NetworkInformation/UnixCommandLinePing.cs
src/libraries/System.ComponentModel.Composition/src/System/ComponentModel/Composition/Hosting/DirectoryCatalog.cs
src/libraries/System.Net.Http/src/System.Net.Http.csproj
src/libraries/System.Net.Ping/src/System.Net.Ping.csproj
src/libraries/System.Net.Ping/src/System/Net/NetworkInformation/Ping.Unix.cs
src/libraries/System.Security.Cryptography.Algorithms/src/System/Security/Cryptography/CryptoConfig.cs