From 0c321a10d478eaac26cb0daf3fdf83dd1fa094c6 Mon Sep 17 00:00:00 2001 From: dotnet-maestro-bot Date: Thu, 11 Oct 2018 01:43:17 -0700 Subject: [PATCH 01/10] Update BuildTools, CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-03311-01, preview1-27011-01, preview1-27011-01, preview1-27011-01, beta-27011-00, beta-27011-00, respectively Commit migrated from https://github.com/dotnet/corefx/commit/158c017422fad006ec58af5727e3ef6f1b6093ea --- src/libraries/BuildToolsVersion.txt | 1 + src/libraries/dependencies.props | 36 ++++++++++++++--------------- 2 files changed, 19 insertions(+), 18 deletions(-) create mode 100644 src/libraries/BuildToolsVersion.txt diff --git a/src/libraries/BuildToolsVersion.txt b/src/libraries/BuildToolsVersion.txt new file mode 100644 index 00000000000..f3914aa11d9 --- /dev/null +++ b/src/libraries/BuildToolsVersion.txt @@ -0,0 +1 @@ +3.0.0-preview1-03311-01 diff --git a/src/libraries/dependencies.props b/src/libraries/dependencies.props index c23b805c866..f5ec7974b9c 100644 --- a/src/libraries/dependencies.props +++ b/src/libraries/dependencies.props @@ -9,15 +9,15 @@ These ref versions are pulled from https://github.com/dotnet/versions. --> - 5961860e77929f5991d7ff64b7a4855e9f42eaef - 3ea9c6ffe2d45e251f07501da11099dec0f3aadc - 5961860e77929f5991d7ff64b7a4855e9f42eaef + 6ad5a5320d83cbb3571ed507e236e5112d87d544 + 6ad5a5320d83cbb3571ed507e236e5112d87d544 + 6ad5a5320d83cbb3571ed507e236e5112d87d544 96dc7805f5df4a70a55783964ce69dcd91bfca80 - 33b40c4941580fcefaba1f5b31da0c8c36fec5b4 - 33b40c4941580fcefaba1f5b31da0c8c36fec5b4 + 6ad5a5320d83cbb3571ed507e236e5112d87d544 + 6ad5a5320d83cbb3571ed507e236e5112d87d544 8bd1ec5fac9f0eec34ff6b34b1d878b4359e02dd 9004703a1923e5c5582ceb8d79712df777412446 - 3ea9c6ffe2d45e251f07501da11099dec0f3aadc + b074b82f8d5cd98ee14a6a861aa003d41a055748 6aee9d4f0b918a9458cdf07d22094d4523204a6c @@ -32,16 +32,16 @@ - preview1-27009-06 - 3.0.0-preview1-27009-06 - 3.0.0-preview1-27008-04 - 3.0.0-preview1-27008-04 - beta-27009-00 - beta-27009-00 - 1.0.0-beta-27009-00 - 3.0.0-preview1-27009-01 - 3.0.0-preview1-27009-01 - 3.0.0-preview1-27009-01 + preview1-27011-01 + 3.0.0-preview1-27011-01 + 3.0.0-preview1-27011-01 + 3.0.0-preview1-27011-01 + beta-27011-00 + beta-27011-00 + 1.0.0-beta-27011-00 + 3.0.0-preview1-27011-01 + 3.0.0-preview1-27011-01 + 3.0.0-preview1-27011-01 4.4.0 @@ -65,10 +65,10 @@ Microsoft.DotNet.Build.Tasks.Feed - 3.0.0-preview1-03308-01 + 3.0.0-preview1-03315-01 microsoft.dotnet.buildtools - 3.0.0-preview1-03308-01 + 3.0.0-preview1-03315-01 From 5a04721d4f6397d487e657fd533c9942dd601699 Mon Sep 17 00:00:00 2001 From: Fei Peng Date: Wed, 10 Oct 2018 11:14:23 -0700 Subject: [PATCH 02/10] Explode generic Intel hardware intrinsic on all the supported types Commit migrated from https://github.com/dotnet/corefx/commit/2544dece6d98198793504acb57d0c5b5acaa355e --- .../ref/System.Runtime.Intrinsics.cs | 136 +++++++++++++----- 1 file changed, 104 insertions(+), 32 deletions(-) diff --git a/src/libraries/System.Runtime.Intrinsics/ref/System.Runtime.Intrinsics.cs b/src/libraries/System.Runtime.Intrinsics/ref/System.Runtime.Intrinsics.cs index 429ea85a2ac..a5c096e5ad2 100644 --- a/src/libraries/System.Runtime.Intrinsics/ref/System.Runtime.Intrinsics.cs +++ b/src/libraries/System.Runtime.Intrinsics/ref/System.Runtime.Intrinsics.cs @@ -266,7 +266,16 @@ namespace System.Runtime.Intrinsics.X86 public static uint Extract(Vector256 value, byte index) { throw null; } public static long Extract(Vector256 value, byte index) { throw null; } public static ulong Extract(Vector256 value, byte index) { throw null; } - public static Vector128 ExtractVector128(Vector256 value, byte index) where T : struct { throw null; } + public static Vector128 ExtractVector128(Vector256 value, byte index) { throw null; } + public static Vector128 ExtractVector128(Vector256 value, byte index) { throw null; } + public static Vector128 ExtractVector128(Vector256 value, byte index) { throw null; } + public static Vector128 ExtractVector128(Vector256 value, byte index) { throw null; } + public static Vector128 ExtractVector128(Vector256 value, byte index) { throw null; } + public static Vector128 ExtractVector128(Vector256 value, byte index) { throw null; } + public static Vector128 ExtractVector128(Vector256 value, byte index) { throw null; } + public static Vector128 ExtractVector128(Vector256 value, byte index) { throw null; } + public static Vector128 ExtractVector128(Vector256 value, byte index) { throw null; } + public static Vector128 ExtractVector128(Vector256 value, byte index) { throw null; } public static unsafe void ExtractVector128(byte* address, Vector256 value, byte index) { throw null; } public static unsafe void ExtractVector128(sbyte* address, Vector256 value, byte index) { throw null; } public static unsafe void ExtractVector128(short* address, Vector256 value, byte index) { throw null; } @@ -293,7 +302,16 @@ namespace System.Runtime.Intrinsics.X86 public static Vector256 Insert(Vector256 value, uint data, byte index) { throw null; } public static Vector256 Insert(Vector256 value, long data, byte index) { throw null; } public static Vector256 Insert(Vector256 value, ulong data, byte index) { throw null; } - public static Vector256 InsertVector128(Vector256 value, Vector128 data, byte index) where T : struct { throw null; } + public static Vector256 InsertVector128(Vector256 value, Vector128 data, byte index) { throw null; } + public static Vector256 InsertVector128(Vector256 value, Vector128 data, byte index) { throw null; } + public static Vector256 InsertVector128(Vector256 value, Vector128 data, byte index) { throw null; } + public static Vector256 InsertVector128(Vector256 value, Vector128 data, byte index) { throw null; } + public static Vector256 InsertVector128(Vector256 value, Vector128 data, byte index) { throw null; } + public static Vector256 InsertVector128(Vector256 value, Vector128 data, byte index) { throw null; } + public static Vector256 InsertVector128(Vector256 value, Vector128 data, byte index) { throw null; } + public static Vector256 InsertVector128(Vector256 value, Vector128 data, byte index) { throw null; } + public static Vector256 InsertVector128(Vector256 value, Vector128 data, byte index) { throw null; } + public static Vector256 InsertVector128(Vector256 value, Vector128 data, byte index) { throw null; } public static unsafe Vector256 InsertVector128(Vector256 value, sbyte* address, byte index) { throw null; } public static unsafe Vector256 InsertVector128(Vector256 value, byte* address, byte index) { throw null; } public static unsafe Vector256 InsertVector128(Vector256 value, short* address, byte index) { throw null; } @@ -354,7 +372,16 @@ namespace System.Runtime.Intrinsics.X86 public static Vector128 Permute(Vector128 value, byte control) { throw null; } public static Vector256 Permute(Vector256 value, byte control) { throw null; } public static Vector256 Permute(Vector256 value, byte control) { throw null; } - public static Vector256 Permute2x128(Vector256 left, Vector256 right, byte control) where T : struct { throw null; } + public static Vector256 Permute2x128(Vector256 left, Vector256 right, byte control) { throw null; } + public static Vector256 Permute2x128(Vector256 left, Vector256 right, byte control) { throw null; } + public static Vector256 Permute2x128(Vector256 left, Vector256 right, byte control) { throw null; } + public static Vector256 Permute2x128(Vector256 left, Vector256 right, byte control) { throw null; } + public static Vector256 Permute2x128(Vector256 left, Vector256 right, byte control) { throw null; } + public static Vector256 Permute2x128(Vector256 left, Vector256 right, byte control) { throw null; } + public static Vector256 Permute2x128(Vector256 left, Vector256 right, byte control) { throw null; } + public static Vector256 Permute2x128(Vector256 left, Vector256 right, byte control) { throw null; } + public static Vector256 Permute2x128(Vector256 left, Vector256 right, byte control) { throw null; } + public static Vector256 Permute2x128(Vector256 left, Vector256 right, byte control) { throw null; } public static Vector128 PermuteVar(Vector128 left, Vector128 control) { throw null; } public static Vector128 PermuteVar(Vector128 left, Vector128 control) { throw null; } public static Vector256 PermuteVar(Vector256 left, Vector256 control) { throw null; } @@ -423,13 +450,40 @@ namespace System.Runtime.Intrinsics.X86 public static Vector256 Subtract(Vector256 left, Vector256 right) { throw null; } public static bool TestC(Vector128 left, Vector128 right) { throw null; } public static bool TestC(Vector128 left, Vector128 right) { throw null; } - public static bool TestC(Vector256 left, Vector256 right) where T : struct { throw null; } + public static bool TestC(Vector256 left, Vector256 right) { throw null; } + public static bool TestC(Vector256 left, Vector256 right) { throw null; } + public static bool TestC(Vector256 left, Vector256 right) { throw null; } + public static bool TestC(Vector256 left, Vector256 right) { throw null; } + public static bool TestC(Vector256 left, Vector256 right) { throw null; } + public static bool TestC(Vector256 left, Vector256 right) { throw null; } + public static bool TestC(Vector256 left, Vector256 right) { throw null; } + public static bool TestC(Vector256 left, Vector256 right) { throw null; } + public static bool TestC(Vector256 left, Vector256 right) { throw null; } + public static bool TestC(Vector256 left, Vector256 right) { throw null; } public static bool TestNotZAndNotC(Vector128 left, Vector128 right) { throw null; } public static bool TestNotZAndNotC(Vector128 left, Vector128 right) { throw null; } - public static bool TestNotZAndNotC(Vector256 left, Vector256 right) where T : struct { throw null; } + public static bool TestNotZAndNotC(Vector256 left, Vector256 right) { throw null; } + public static bool TestNotZAndNotC(Vector256 left, Vector256 right) { throw null; } + public static bool TestNotZAndNotC(Vector256 left, Vector256 right) { throw null; } + public static bool TestNotZAndNotC(Vector256 left, Vector256 right) { throw null; } + public static bool TestNotZAndNotC(Vector256 left, Vector256 right) { throw null; } + public static bool TestNotZAndNotC(Vector256 left, Vector256 right) { throw null; } + public static bool TestNotZAndNotC(Vector256 left, Vector256 right) { throw null; } + public static bool TestNotZAndNotC(Vector256 left, Vector256 right) { throw null; } + public static bool TestNotZAndNotC(Vector256 left, Vector256 right) { throw null; } + public static bool TestNotZAndNotC(Vector256 left, Vector256 right) { throw null; } public static bool TestZ(Vector128 left, Vector128 right) { throw null; } public static bool TestZ(Vector128 left, Vector128 right) { throw null; } - public static bool TestZ(Vector256 left, Vector256 right) where T : struct { throw null; } + public static bool TestZ(Vector256 left, Vector256 right) { throw null; } + public static bool TestZ(Vector256 left, Vector256 right) { throw null; } + public static bool TestZ(Vector256 left, Vector256 right) { throw null; } + public static bool TestZ(Vector256 left, Vector256 right) { throw null; } + public static bool TestZ(Vector256 left, Vector256 right) { throw null; } + public static bool TestZ(Vector256 left, Vector256 right) { throw null; } + public static bool TestZ(Vector256 left, Vector256 right) { throw null; } + public static bool TestZ(Vector256 left, Vector256 right) { throw null; } + public static bool TestZ(Vector256 left, Vector256 right) { throw null; } + public static bool TestZ(Vector256 left, Vector256 right) { throw null; } public static Vector256 UnpackHigh(Vector256 left, Vector256 right) { throw null; } public static Vector256 UnpackHigh(Vector256 left, Vector256 right) { throw null; } public static Vector256 UnpackLow(Vector256 left, Vector256 right) { throw null; } @@ -496,7 +550,16 @@ namespace System.Runtime.Intrinsics.X86 public static Vector256 BlendVariable(Vector256 left, Vector256 right, Vector256 mask) { throw null; } public static Vector256 BlendVariable(Vector256 left, Vector256 right, Vector256 mask) { throw null; } public static Vector256 BlendVariable(Vector256 left, Vector256 right, Vector256 mask) { throw null; } - public static Vector128 BroadcastScalarToVector128(Vector128 value) where T : struct { throw null; } + public static Vector128 BroadcastScalarToVector128(Vector128 value) { throw null; } + public static Vector128 BroadcastScalarToVector128(Vector128 value) { throw null; } + public static Vector128 BroadcastScalarToVector128(Vector128 value) { throw null; } + public static Vector128 BroadcastScalarToVector128(Vector128 value) { throw null; } + public static Vector128 BroadcastScalarToVector128(Vector128 value) { throw null; } + public static Vector128 BroadcastScalarToVector128(Vector128 value) { throw null; } + public static Vector128 BroadcastScalarToVector128(Vector128 value) { throw null; } + public static Vector128 BroadcastScalarToVector128(Vector128 value) { throw null; } + public static Vector128 BroadcastScalarToVector128(Vector128 value) { throw null; } + public static Vector128 BroadcastScalarToVector128(Vector128 value) { throw null; } public static unsafe Vector128 BroadcastScalarToVector128(byte* source) { throw null; } public static unsafe Vector128 BroadcastScalarToVector128(sbyte* source) { throw null; } public static unsafe Vector128 BroadcastScalarToVector128(short* source) { throw null; } @@ -505,7 +568,16 @@ namespace System.Runtime.Intrinsics.X86 public static unsafe Vector128 BroadcastScalarToVector128(uint* source) { throw null; } public static unsafe Vector128 BroadcastScalarToVector128(long* source) { throw null; } public static unsafe Vector128 BroadcastScalarToVector128(ulong* source) { throw null; } - public static Vector256 BroadcastScalarToVector256(Vector128 value) where T : struct { throw null; } + public static Vector256 BroadcastScalarToVector256(Vector128 value) { throw null; } + public static Vector256 BroadcastScalarToVector256(Vector128 value) { throw null; } + public static Vector256 BroadcastScalarToVector256(Vector128 value) { throw null; } + public static Vector256 BroadcastScalarToVector256(Vector128 value) { throw null; } + public static Vector256 BroadcastScalarToVector256(Vector128 value) { throw null; } + public static Vector256 BroadcastScalarToVector256(Vector128 value) { throw null; } + public static Vector256 BroadcastScalarToVector256(Vector128 value) { throw null; } + public static Vector256 BroadcastScalarToVector256(Vector128 value) { throw null; } + public static Vector256 BroadcastScalarToVector256(Vector128 value) { throw null; } + public static Vector256 BroadcastScalarToVector256(Vector128 value) { throw null; } public static unsafe Vector256 BroadcastScalarToVector256(byte* source) { throw null; } public static unsafe Vector256 BroadcastScalarToVector256(sbyte* source) { throw null; } public static unsafe Vector256 BroadcastScalarToVector256(short* source) { throw null; } @@ -549,21 +621,21 @@ namespace System.Runtime.Intrinsics.X86 public static Vector256 ConvertToVector256UInt64(Vector128 value) { throw null; } public static Vector256 ConvertToVector256UInt64(Vector128 value) { throw null; } public static Vector256 ConvertToVector256UInt64(Vector128 value) { throw null; } - public static Vector128 ExtractVector128(Vector256 value, byte index) { throw null; } + public new static Vector128 ExtractVector128(Vector256 value, byte index) { throw null; } public new static unsafe void ExtractVector128(sbyte* address, Vector256 value, byte index) { throw null; } - public static Vector128 ExtractVector128(Vector256 value, byte index) { throw null; } + public new static Vector128 ExtractVector128(Vector256 value, byte index) { throw null; } public new static unsafe void ExtractVector128(byte* address, Vector256 value, byte index) { throw null; } - public static Vector128 ExtractVector128(Vector256 value, byte index) { throw null; } + public new static Vector128 ExtractVector128(Vector256 value, byte index) { throw null; } public new static unsafe void ExtractVector128(short* address, Vector256 value, byte index) { throw null; } - public static Vector128 ExtractVector128(Vector256 value, byte index) { throw null; } + public new static Vector128 ExtractVector128(Vector256 value, byte index) { throw null; } public new static unsafe void ExtractVector128(ushort* address, Vector256 value, byte index) { throw null; } - public static Vector128 ExtractVector128(Vector256 value, byte index) { throw null; } + public new static Vector128 ExtractVector128(Vector256 value, byte index) { throw null; } public new static unsafe void ExtractVector128(int* address, Vector256 value, byte index) { throw null; } - public static Vector128 ExtractVector128(Vector256 value, byte index) { throw null; } + public new static Vector128 ExtractVector128(Vector256 value, byte index) { throw null; } public new static unsafe void ExtractVector128(uint* address, Vector256 value, byte index) { throw null; } - public static Vector128 ExtractVector128(Vector256 value, byte index) { throw null; } + public new static Vector128 ExtractVector128(Vector256 value, byte index) { throw null; } public new static unsafe void ExtractVector128(long* address, Vector256 value, byte index) { throw null; } - public static Vector128 ExtractVector128(Vector256 value, byte index) { throw null; } + public new static Vector128 ExtractVector128(Vector256 value, byte index) { throw null; } public new static unsafe void ExtractVector128(ulong* address, Vector256 value, byte index) { throw null; } public static unsafe Vector128 GatherVector128(int* baseAddress, Vector128 index, byte scale) { throw null; } public static unsafe Vector128 GatherVector128(uint* baseAddress, Vector128 index, byte scale) { throw null; } @@ -619,21 +691,21 @@ namespace System.Runtime.Intrinsics.X86 public static Vector256 HorizontalSubtract(Vector256 left, Vector256 right) { throw null; } public static Vector256 HorizontalSubtract(Vector256 left, Vector256 right) { throw null; } public static Vector256 HorizontalSubtractSaturate(Vector256 left, Vector256 right) { throw null; } - public static Vector256 InsertVector128(Vector256 value, Vector128 data, byte index) { throw null; } + public new static Vector256 InsertVector128(Vector256 value, Vector128 data, byte index) { throw null; } public new static unsafe Vector256 InsertVector128(Vector256 value, sbyte* address, byte index) { throw null; } - public static Vector256 InsertVector128(Vector256 value, Vector128 data, byte index) { throw null; } + public new static Vector256 InsertVector128(Vector256 value, Vector128 data, byte index) { throw null; } public new static unsafe Vector256 InsertVector128(Vector256 value, byte* address, byte index) { throw null; } - public static Vector256 InsertVector128(Vector256 value, Vector128 data, byte index) { throw null; } + public new static Vector256 InsertVector128(Vector256 value, Vector128 data, byte index) { throw null; } public new static unsafe Vector256 InsertVector128(Vector256 value, short* address, byte index) { throw null; } - public static Vector256 InsertVector128(Vector256 value, Vector128 data, byte index) { throw null; } + public new static Vector256 InsertVector128(Vector256 value, Vector128 data, byte index) { throw null; } public new static unsafe Vector256 InsertVector128(Vector256 value, ushort* address, byte index) { throw null; } - public static Vector256 InsertVector128(Vector256 value, Vector128 data, byte index) { throw null; } + public new static Vector256 InsertVector128(Vector256 value, Vector128 data, byte index) { throw null; } public new static unsafe Vector256 InsertVector128(Vector256 value, int* address, byte index) { throw null; } - public static Vector256 InsertVector128(Vector256 value, Vector128 data, byte index) { throw null; } + public new static Vector256 InsertVector128(Vector256 value, Vector128 data, byte index) { throw null; } public new static unsafe Vector256 InsertVector128(Vector256 value, uint* address, byte index) { throw null; } - public static Vector256 InsertVector128(Vector256 value, Vector128 data, byte index) { throw null; } + public new static Vector256 InsertVector128(Vector256 value, Vector128 data, byte index) { throw null; } public new static unsafe Vector256 InsertVector128(Vector256 value, long* address, byte index) { throw null; } - public static Vector256 InsertVector128(Vector256 value, Vector128 data, byte index) { throw null; } + public new static Vector256 InsertVector128(Vector256 value, Vector128 data, byte index) { throw null; } public new static unsafe Vector256 InsertVector128(Vector256 value, ulong* address, byte index) { throw null; } public static unsafe Vector128 MaskLoad(int* address, Vector128 mask) { throw null; } public static unsafe Vector256 LoadAlignedVector256NonTemporal(sbyte* address) { throw null; } @@ -697,14 +769,14 @@ namespace System.Runtime.Intrinsics.X86 public static Vector256 PackSignedSaturate(Vector256 left, Vector256 right) { throw null; } public static Vector256 PackUnsignedSaturate(Vector256 left, Vector256 right) { throw null; } public static Vector256 PackUnsignedSaturate(Vector256 left, Vector256 right) { throw null; } - public static Vector256 Permute2x128(Vector256 left, Vector256 right, byte control) { throw null; } - public static Vector256 Permute2x128(Vector256 left, Vector256 right, byte control) { throw null; } - public static Vector256 Permute2x128(Vector256 left, Vector256 right, byte control) { throw null; } - public static Vector256 Permute2x128(Vector256 left, Vector256 right, byte control) { throw null; } - public static Vector256 Permute2x128(Vector256 left, Vector256 right, byte control) { throw null; } - public static Vector256 Permute2x128(Vector256 left, Vector256 right, byte control) { throw null; } - public static Vector256 Permute2x128(Vector256 left, Vector256 right, byte control) { throw null; } - public static Vector256 Permute2x128(Vector256 left, Vector256 right, byte control) { throw null; } + public new static Vector256 Permute2x128(Vector256 left, Vector256 right, byte control) { throw null; } + public new static Vector256 Permute2x128(Vector256 left, Vector256 right, byte control) { throw null; } + public new static Vector256 Permute2x128(Vector256 left, Vector256 right, byte control) { throw null; } + public new static Vector256 Permute2x128(Vector256 left, Vector256 right, byte control) { throw null; } + public new static Vector256 Permute2x128(Vector256 left, Vector256 right, byte control) { throw null; } + public new static Vector256 Permute2x128(Vector256 left, Vector256 right, byte control) { throw null; } + public new static Vector256 Permute2x128(Vector256 left, Vector256 right, byte control) { throw null; } + public new static Vector256 Permute2x128(Vector256 left, Vector256 right, byte control) { throw null; } public static Vector256 Permute4x64(Vector256 value, byte control) { throw null; } public static Vector256 Permute4x64(Vector256 value, byte control) { throw null; } public static Vector256 Permute4x64(Vector256 value, byte control) { throw null; } From ff1cee711b47491f0cbf969ee2ed5d59458e2648 Mon Sep 17 00:00:00 2001 From: Viktor Date: Mon, 8 Oct 2018 01:19:19 +0200 Subject: [PATCH 03/10] Automatically copy runtime config files if executable Commit migrated from https://github.com/dotnet/corefx/commit/09768a9f0e54d326bbaceec81c8b6a56e322147e --- .../Properties/coverage.runtimeconfig.json | 2 +- .../Properties/xunit.console.runtimeconfig.json | 2 +- .../Invariant/Properties/coverage.runtimeconfig.json | 2 +- .../Invariant/Properties/xunit.console.runtimeconfig.json | 2 +- .../VoidMainWithExitCodeApp.csproj | 6 ------ .../VoidMainWithExitCodeApp.exe.config | 6 ------ .../VoidMainWithExitCodeApp.runtimeconfig.json | 8 -------- ...em.ServiceProcess.ServiceController.TestService.csproj | 5 ----- ...ocess.ServiceController.TestService.runtimeconfig.json | 8 -------- .../DefaultApartmentStateMain.csproj | 8 -------- .../DefaultApartmentStateMain.exe.config | 6 ------ .../DefaultApartmentStateMain.runtimeconfig.json | 8 -------- .../System.Threading.Thread/tests/MTAMain/MTAMain.csproj | 8 -------- .../tests/MTAMain/MTAMain.exe.config | 6 ------ .../tests/MTAMain/MTAMain.runtimeconfig.json | 8 -------- .../System.Threading.Thread/tests/STAMain/STAMain.csproj | 6 ------ .../tests/STAMain/STAMain.exe.config | 6 ------ .../tests/STAMain/STAMain.runtimeconfig.json | 8 -------- 18 files changed, 4 insertions(+), 101 deletions(-) delete mode 100644 src/libraries/System.Runtime.Extensions/tests/VoidMainWithExitCodeApp/VoidMainWithExitCodeApp.exe.config delete mode 100644 src/libraries/System.Runtime.Extensions/tests/VoidMainWithExitCodeApp/VoidMainWithExitCodeApp.runtimeconfig.json delete mode 100644 src/libraries/System.ServiceProcess.ServiceController/tests/System.ServiceProcess.ServiceController.TestService/System.ServiceProcess.ServiceController.TestService.runtimeconfig.json delete mode 100644 src/libraries/System.Threading.Thread/tests/DefaultApartmentStateMain/DefaultApartmentStateMain.exe.config delete mode 100644 src/libraries/System.Threading.Thread/tests/DefaultApartmentStateMain/DefaultApartmentStateMain.runtimeconfig.json delete mode 100644 src/libraries/System.Threading.Thread/tests/MTAMain/MTAMain.exe.config delete mode 100644 src/libraries/System.Threading.Thread/tests/MTAMain/MTAMain.runtimeconfig.json delete mode 100644 src/libraries/System.Threading.Thread/tests/STAMain/STAMain.exe.config delete mode 100644 src/libraries/System.Threading.Thread/tests/STAMain/STAMain.runtimeconfig.json diff --git a/src/libraries/System.Globalization.Calendars/tests/CalendarTestWithConfigSwitch/Properties/coverage.runtimeconfig.json b/src/libraries/System.Globalization.Calendars/tests/CalendarTestWithConfigSwitch/Properties/coverage.runtimeconfig.json index 76404ec7ebd..2eba2fa62f6 100644 --- a/src/libraries/System.Globalization.Calendars/tests/CalendarTestWithConfigSwitch/Properties/coverage.runtimeconfig.json +++ b/src/libraries/System.Globalization.Calendars/tests/CalendarTestWithConfigSwitch/Properties/coverage.runtimeconfig.json @@ -6,6 +6,6 @@ "framework": { "name": "Microsoft.NETCore.App", "version": "10.10.10" - } + } } } \ No newline at end of file diff --git a/src/libraries/System.Globalization.Calendars/tests/CalendarTestWithConfigSwitch/Properties/xunit.console.runtimeconfig.json b/src/libraries/System.Globalization.Calendars/tests/CalendarTestWithConfigSwitch/Properties/xunit.console.runtimeconfig.json index d70b969847a..edf573f3a79 100644 --- a/src/libraries/System.Globalization.Calendars/tests/CalendarTestWithConfigSwitch/Properties/xunit.console.runtimeconfig.json +++ b/src/libraries/System.Globalization.Calendars/tests/CalendarTestWithConfigSwitch/Properties/xunit.console.runtimeconfig.json @@ -6,6 +6,6 @@ "framework": { "name": "Microsoft.NETCore.App", "version": "9.9.9" - } + } } } \ No newline at end of file diff --git a/src/libraries/System.Globalization/tests/Invariant/Properties/coverage.runtimeconfig.json b/src/libraries/System.Globalization/tests/Invariant/Properties/coverage.runtimeconfig.json index a80f4246591..dabe8cec66c 100644 --- a/src/libraries/System.Globalization/tests/Invariant/Properties/coverage.runtimeconfig.json +++ b/src/libraries/System.Globalization/tests/Invariant/Properties/coverage.runtimeconfig.json @@ -6,6 +6,6 @@ "framework": { "name": "Microsoft.NETCore.App", "version": "10.10.10" - } + } } } \ No newline at end of file diff --git a/src/libraries/System.Globalization/tests/Invariant/Properties/xunit.console.runtimeconfig.json b/src/libraries/System.Globalization/tests/Invariant/Properties/xunit.console.runtimeconfig.json index db2c754a2c4..41d1a2fea2f 100644 --- a/src/libraries/System.Globalization/tests/Invariant/Properties/xunit.console.runtimeconfig.json +++ b/src/libraries/System.Globalization/tests/Invariant/Properties/xunit.console.runtimeconfig.json @@ -6,6 +6,6 @@ "framework": { "name": "Microsoft.NETCore.App", "version": "9.9.9" - } + } } } diff --git a/src/libraries/System.Runtime.Extensions/tests/VoidMainWithExitCodeApp/VoidMainWithExitCodeApp.csproj b/src/libraries/System.Runtime.Extensions/tests/VoidMainWithExitCodeApp/VoidMainWithExitCodeApp.csproj index 17f3eba5a50..94e4e83ad1e 100644 --- a/src/libraries/System.Runtime.Extensions/tests/VoidMainWithExitCodeApp/VoidMainWithExitCodeApp.csproj +++ b/src/libraries/System.Runtime.Extensions/tests/VoidMainWithExitCodeApp/VoidMainWithExitCodeApp.csproj @@ -15,11 +15,5 @@ Common\System\Diagnostics\CodeAnalysis\ExcludeFromCodeCoverageAssemblyAttribute.cs - - PreserveNewest - - - PreserveNewest - \ No newline at end of file diff --git a/src/libraries/System.Runtime.Extensions/tests/VoidMainWithExitCodeApp/VoidMainWithExitCodeApp.exe.config b/src/libraries/System.Runtime.Extensions/tests/VoidMainWithExitCodeApp/VoidMainWithExitCodeApp.exe.config deleted file mode 100644 index b955a1b9b2c..00000000000 --- a/src/libraries/System.Runtime.Extensions/tests/VoidMainWithExitCodeApp/VoidMainWithExitCodeApp.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/src/libraries/System.Runtime.Extensions/tests/VoidMainWithExitCodeApp/VoidMainWithExitCodeApp.runtimeconfig.json b/src/libraries/System.Runtime.Extensions/tests/VoidMainWithExitCodeApp/VoidMainWithExitCodeApp.runtimeconfig.json deleted file mode 100644 index 0e7c179be9d..00000000000 --- a/src/libraries/System.Runtime.Extensions/tests/VoidMainWithExitCodeApp/VoidMainWithExitCodeApp.runtimeconfig.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "runtimeOptions": { - "framework": { - "name": "Microsoft.NETCore.App", - "version": "9.9.9" - } - } -} \ No newline at end of file diff --git a/src/libraries/System.ServiceProcess.ServiceController/tests/System.ServiceProcess.ServiceController.TestService/System.ServiceProcess.ServiceController.TestService.csproj b/src/libraries/System.ServiceProcess.ServiceController/tests/System.ServiceProcess.ServiceController.TestService/System.ServiceProcess.ServiceController.TestService.csproj index 2b5d1d4d8fa..19a473070c1 100644 --- a/src/libraries/System.ServiceProcess.ServiceController/tests/System.ServiceProcess.ServiceController.TestService/System.ServiceProcess.ServiceController.TestService.csproj +++ b/src/libraries/System.ServiceProcess.ServiceController/tests/System.ServiceProcess.ServiceController.TestService/System.ServiceProcess.ServiceController.TestService.csproj @@ -49,9 +49,4 @@ Common\System\Threading\Tasks\TaskTimeoutExtensions.cs - - - PreserveNewest - - \ No newline at end of file diff --git a/src/libraries/System.ServiceProcess.ServiceController/tests/System.ServiceProcess.ServiceController.TestService/System.ServiceProcess.ServiceController.TestService.runtimeconfig.json b/src/libraries/System.ServiceProcess.ServiceController/tests/System.ServiceProcess.ServiceController.TestService/System.ServiceProcess.ServiceController.TestService.runtimeconfig.json deleted file mode 100644 index 573682438bf..00000000000 --- a/src/libraries/System.ServiceProcess.ServiceController/tests/System.ServiceProcess.ServiceController.TestService/System.ServiceProcess.ServiceController.TestService.runtimeconfig.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "runtimeOptions": { - "framework": { - "name": "Microsoft.NETCore.App", - "version": "9.9.9" - } - } -} diff --git a/src/libraries/System.Threading.Thread/tests/DefaultApartmentStateMain/DefaultApartmentStateMain.csproj b/src/libraries/System.Threading.Thread/tests/DefaultApartmentStateMain/DefaultApartmentStateMain.csproj index 533e7d55dba..e1664a0a863 100644 --- a/src/libraries/System.Threading.Thread/tests/DefaultApartmentStateMain/DefaultApartmentStateMain.csproj +++ b/src/libraries/System.Threading.Thread/tests/DefaultApartmentStateMain/DefaultApartmentStateMain.csproj @@ -10,12 +10,4 @@ - - - PreserveNewest - - - PreserveNewest - - \ No newline at end of file diff --git a/src/libraries/System.Threading.Thread/tests/DefaultApartmentStateMain/DefaultApartmentStateMain.exe.config b/src/libraries/System.Threading.Thread/tests/DefaultApartmentStateMain/DefaultApartmentStateMain.exe.config deleted file mode 100644 index b955a1b9b2c..00000000000 --- a/src/libraries/System.Threading.Thread/tests/DefaultApartmentStateMain/DefaultApartmentStateMain.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/src/libraries/System.Threading.Thread/tests/DefaultApartmentStateMain/DefaultApartmentStateMain.runtimeconfig.json b/src/libraries/System.Threading.Thread/tests/DefaultApartmentStateMain/DefaultApartmentStateMain.runtimeconfig.json deleted file mode 100644 index 0e7c179be9d..00000000000 --- a/src/libraries/System.Threading.Thread/tests/DefaultApartmentStateMain/DefaultApartmentStateMain.runtimeconfig.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "runtimeOptions": { - "framework": { - "name": "Microsoft.NETCore.App", - "version": "9.9.9" - } - } -} \ No newline at end of file diff --git a/src/libraries/System.Threading.Thread/tests/MTAMain/MTAMain.csproj b/src/libraries/System.Threading.Thread/tests/MTAMain/MTAMain.csproj index 02070c64e50..199faabd499 100644 --- a/src/libraries/System.Threading.Thread/tests/MTAMain/MTAMain.csproj +++ b/src/libraries/System.Threading.Thread/tests/MTAMain/MTAMain.csproj @@ -10,12 +10,4 @@ - - - PreserveNewest - - - PreserveNewest - - \ No newline at end of file diff --git a/src/libraries/System.Threading.Thread/tests/MTAMain/MTAMain.exe.config b/src/libraries/System.Threading.Thread/tests/MTAMain/MTAMain.exe.config deleted file mode 100644 index b955a1b9b2c..00000000000 --- a/src/libraries/System.Threading.Thread/tests/MTAMain/MTAMain.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/src/libraries/System.Threading.Thread/tests/MTAMain/MTAMain.runtimeconfig.json b/src/libraries/System.Threading.Thread/tests/MTAMain/MTAMain.runtimeconfig.json deleted file mode 100644 index 0e7c179be9d..00000000000 --- a/src/libraries/System.Threading.Thread/tests/MTAMain/MTAMain.runtimeconfig.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "runtimeOptions": { - "framework": { - "name": "Microsoft.NETCore.App", - "version": "9.9.9" - } - } -} \ No newline at end of file diff --git a/src/libraries/System.Threading.Thread/tests/STAMain/STAMain.csproj b/src/libraries/System.Threading.Thread/tests/STAMain/STAMain.csproj index eb71806e832..efb87a811b0 100644 --- a/src/libraries/System.Threading.Thread/tests/STAMain/STAMain.csproj +++ b/src/libraries/System.Threading.Thread/tests/STAMain/STAMain.csproj @@ -9,11 +9,5 @@ - - PreserveNewest - - - PreserveNewest - \ No newline at end of file diff --git a/src/libraries/System.Threading.Thread/tests/STAMain/STAMain.exe.config b/src/libraries/System.Threading.Thread/tests/STAMain/STAMain.exe.config deleted file mode 100644 index b955a1b9b2c..00000000000 --- a/src/libraries/System.Threading.Thread/tests/STAMain/STAMain.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/src/libraries/System.Threading.Thread/tests/STAMain/STAMain.runtimeconfig.json b/src/libraries/System.Threading.Thread/tests/STAMain/STAMain.runtimeconfig.json deleted file mode 100644 index 0e7c179be9d..00000000000 --- a/src/libraries/System.Threading.Thread/tests/STAMain/STAMain.runtimeconfig.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "runtimeOptions": { - "framework": { - "name": "Microsoft.NETCore.App", - "version": "9.9.9" - } - } -} \ No newline at end of file From 7d582523cd31cbdbe9363397e1646576f9c348a9 Mon Sep 17 00:00:00 2001 From: "Eric St. John" Date: Thu, 11 Oct 2018 09:13:48 -0700 Subject: [PATCH 04/10] Make ApiCompat.proj use ApiCompatExcludeAttributeList Commit migrated from https://github.com/dotnet/corefx/commit/4c3613388afdc1486d0c44b2a8eec3019cb6c838 --- src/libraries/shims/ApiCompat.proj | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libraries/shims/ApiCompat.proj b/src/libraries/shims/ApiCompat.proj index 47dccd43bd1..67f96d3b10a 100644 --- a/src/libraries/shims/ApiCompat.proj +++ b/src/libraries/shims/ApiCompat.proj @@ -42,8 +42,7 @@ > $(ApiCompatArgs) -implDirs:"$(ApiCompatImplementationDirs)" - + $(ApiCompatArgs) -excludeAttributes:"$(ApiCompatExcludeAttributeList)" -baseline:"$(ApiCompatBaselineIgnoreFile)" 0 From a49c0a27ecff0b1c996b8534d82a742dd11c72e7 Mon Sep 17 00:00:00 2001 From: "Eric St. John" Date: Thu, 11 Oct 2018 09:52:09 -0700 Subject: [PATCH 05/10] Fix baselines for ApiCompat.proj attribute differences The logging changed here after I formatted the flags enums and sorted them. Commit migrated from https://github.com/dotnet/corefx/commit/ea11da3e1c18146d33ddfd213fa9b86d37dbe732 --- .../shims/ApiCompatBaseline.netcoreapp.netstandard20.txt | 4 ++-- .../shims/ApiCompatBaseline.netcoreapp.netstandard20Only.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libraries/shims/ApiCompatBaseline.netcoreapp.netstandard20.txt b/src/libraries/shims/ApiCompatBaseline.netcoreapp.netstandard20.txt index 8a1db791d92..360360ced7e 100644 --- a/src/libraries/shims/ApiCompatBaseline.netcoreapp.netstandard20.txt +++ b/src/libraries/shims/ApiCompatBaseline.netcoreapp.netstandard20.txt @@ -42,5 +42,5 @@ CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultPropertyAttribute' exists on 'System.Diagnostics.Process' in the contract but not the implementation. CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.IO.FileSystemWatcher' in the contract but not the implementation. -# AttributeTargets.Class was added -CannotChangeAttribute : Attribute 'System.AttributeUsageAttribute' on 'System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute' changed from '[AttributeUsageAttribute((AttributeTargets)(748), Inherited=false, AllowMultiple=false)]' in the contract to '[AttributeUsageAttribute((AttributeTargets)(749), Inherited=false, AllowMultiple=false)]' in the implementation. \ No newline at end of file +# AttributeTargets.Assembly was added +CannotChangeAttribute : Attribute 'System.AttributeUsageAttribute' on 'System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute' changed from '[AttributeUsageAttribute(AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Event | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Struct, Inherited=false, AllowMultiple=false)]' in the contract to '[AttributeUsageAttribute(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Event | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Struct, Inherited=false, AllowMultiple=false)]' in the implementation. diff --git a/src/libraries/shims/ApiCompatBaseline.netcoreapp.netstandard20Only.txt b/src/libraries/shims/ApiCompatBaseline.netcoreapp.netstandard20Only.txt index fdb7e581b62..e38871c4561 100644 --- a/src/libraries/shims/ApiCompatBaseline.netcoreapp.netstandard20Only.txt +++ b/src/libraries/shims/ApiCompatBaseline.netcoreapp.netstandard20Only.txt @@ -5,7 +5,7 @@ CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.Diagnostics.Process' in the contract but not the implementation. CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultPropertyAttribute' exists on 'System.Diagnostics.Process' in the contract but not the implementation. CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.IO.FileSystemWatcher' in the contract but not the implementation. -CannotChangeAttribute : Attribute 'System.AttributeUsageAttribute' on 'System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute' changed from '[AttributeUsageAttribute((AttributeTargets)(748), Inherited=false, AllowMultiple=false)]' in the contract to '[AttributeUsageAttribute((AttributeTargets)(749), Inherited=false, AllowMultiple=false)]' in the implementation. +CannotChangeAttribute : Attribute 'System.AttributeUsageAttribute' on 'System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute' changed from '[AttributeUsageAttribute(AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Event | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Struct, Inherited=false, AllowMultiple=false)]' in the contract to '[AttributeUsageAttribute(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Event | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Struct, Inherited=false, AllowMultiple=false)]' in the implementation.# System.Runtime is passed in (incorrectly) as a contract assembly for netstandard. This causes issues because CCI can't determine a winner for duplicate types # System.Runtime is passed in (incorrectly) as a contract assembly for netstandard. This causes issues because CCI can't determine a winner for duplicate types CannotRemoveAttribute : Attribute 'Microsoft.Cci.DummyTypeReference' exists on 'System.Threading.Tasks.ValueTask' in the contract but not the implementation. From 4e154b76543d00c0a4709b5906016f90041b990a Mon Sep 17 00:00:00 2001 From: "Eric St. John" Date: Thu, 11 Oct 2018 11:41:51 -0700 Subject: [PATCH 06/10] Fix NETCoreAppAOT baseline for System.Runtime.Intrinsics Commit migrated from https://github.com/dotnet/corefx/commit/dba76f38c84488e7b03cadd392ef5d4e230a8ea6 --- .../src/ApiCompatBaseline.netcoreappaot.txt | 81 ++++++++++++++++++- 1 file changed, 80 insertions(+), 1 deletion(-) diff --git a/src/libraries/System.Runtime.Intrinsics/src/ApiCompatBaseline.netcoreappaot.txt b/src/libraries/System.Runtime.Intrinsics/src/ApiCompatBaseline.netcoreappaot.txt index 86a327a3b99..e0fdba8e067 100644 --- a/src/libraries/System.Runtime.Intrinsics/src/ApiCompatBaseline.netcoreappaot.txt +++ b/src/libraries/System.Runtime.Intrinsics/src/ApiCompatBaseline.netcoreappaot.txt @@ -7,4 +7,83 @@ MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx2.BroadcastScalarToV MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx2.BroadcastScalarToVector256(System.UInt16*)' does not exist in the implementation but it does exist in the contract. MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx2.BroadcastScalarToVector256(System.UInt32*)' does not exist in the implementation but it does exist in the contract. MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx2.BroadcastScalarToVector256(System.UInt64*)' does not exist in the implementation but it does exist in the contract. -Total Issues: 8 \ No newline at end of file +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.ExtractVector128(System.Runtime.Intrinsics.Vector256, System.Byte)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.ExtractVector128(System.Runtime.Intrinsics.Vector256, System.Byte)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.ExtractVector128(System.Runtime.Intrinsics.Vector256, System.Byte)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.ExtractVector128(System.Runtime.Intrinsics.Vector256, System.Byte)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.ExtractVector128(System.Runtime.Intrinsics.Vector256, System.Byte)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.ExtractVector128(System.Runtime.Intrinsics.Vector256, System.Byte)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.ExtractVector128(System.Runtime.Intrinsics.Vector256, System.Byte)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.ExtractVector128(System.Runtime.Intrinsics.Vector256, System.Byte)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.ExtractVector128(System.Runtime.Intrinsics.Vector256, System.Byte)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.ExtractVector128(System.Runtime.Intrinsics.Vector256, System.Byte)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.InsertVector128(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector128, System.Byte)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.InsertVector128(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector128, System.Byte)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.InsertVector128(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector128, System.Byte)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.InsertVector128(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector128, System.Byte)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.InsertVector128(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector128, System.Byte)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.InsertVector128(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector128, System.Byte)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.InsertVector128(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector128, System.Byte)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.InsertVector128(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector128, System.Byte)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.InsertVector128(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector128, System.Byte)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.InsertVector128(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector128, System.Byte)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.Permute2x128(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256, System.Byte)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.Permute2x128(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256, System.Byte)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.Permute2x128(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256, System.Byte)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.Permute2x128(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256, System.Byte)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.Permute2x128(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256, System.Byte)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.Permute2x128(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256, System.Byte)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.Permute2x128(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256, System.Byte)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.Permute2x128(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256, System.Byte)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.Permute2x128(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256, System.Byte)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.Permute2x128(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256, System.Byte)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.TestC(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.TestC(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.TestC(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.TestC(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.TestC(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.TestC(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.TestC(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.TestC(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.TestC(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.TestC(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.TestNotZAndNotC(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.TestNotZAndNotC(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.TestNotZAndNotC(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.TestNotZAndNotC(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.TestNotZAndNotC(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.TestNotZAndNotC(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.TestNotZAndNotC(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.TestNotZAndNotC(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.TestNotZAndNotC(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.TestNotZAndNotC(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.TestZ(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.TestZ(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.TestZ(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.TestZ(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.TestZ(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.TestZ(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.TestZ(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.TestZ(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.TestZ(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx.TestZ(System.Runtime.Intrinsics.Vector256, System.Runtime.Intrinsics.Vector256)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx2.BroadcastScalarToVector128(System.Runtime.Intrinsics.Vector128)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx2.BroadcastScalarToVector128(System.Runtime.Intrinsics.Vector128)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx2.BroadcastScalarToVector128(System.Runtime.Intrinsics.Vector128)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx2.BroadcastScalarToVector128(System.Runtime.Intrinsics.Vector128)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx2.BroadcastScalarToVector128(System.Runtime.Intrinsics.Vector128)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx2.BroadcastScalarToVector128(System.Runtime.Intrinsics.Vector128)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx2.BroadcastScalarToVector128(System.Runtime.Intrinsics.Vector128)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx2.BroadcastScalarToVector128(System.Runtime.Intrinsics.Vector128)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx2.BroadcastScalarToVector128(System.Runtime.Intrinsics.Vector128)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx2.BroadcastScalarToVector128(System.Runtime.Intrinsics.Vector128)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx2.BroadcastScalarToVector256(System.Runtime.Intrinsics.Vector128)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx2.BroadcastScalarToVector256(System.Runtime.Intrinsics.Vector128)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx2.BroadcastScalarToVector256(System.Runtime.Intrinsics.Vector128)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx2.BroadcastScalarToVector256(System.Runtime.Intrinsics.Vector128)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx2.BroadcastScalarToVector256(System.Runtime.Intrinsics.Vector128)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx2.BroadcastScalarToVector256(System.Runtime.Intrinsics.Vector128)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx2.BroadcastScalarToVector256(System.Runtime.Intrinsics.Vector128)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx2.BroadcastScalarToVector256(System.Runtime.Intrinsics.Vector128)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx2.BroadcastScalarToVector256(System.Runtime.Intrinsics.Vector128)' does not exist in the implementation but it does exist in the contract. +MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Avx2.BroadcastScalarToVector256(System.Runtime.Intrinsics.Vector128)' does not exist in the implementation but it does exist in the contract. From ee1b5ad8ae221c86304b73f7c48cf6498b59db7d Mon Sep 17 00:00:00 2001 From: "Eric St. John" Date: Thu, 11 Oct 2018 11:57:39 -0700 Subject: [PATCH 07/10] Fix NETCoreAppAOT build of System.Memory NETCoreAppAOT's CoreLib has picked up these types. Commit migrated from https://github.com/dotnet/corefx/commit/4ca66d68e0c235daf1e368c98150e7da80935b83 --- src/libraries/System.Memory/src/System.Memory.csproj | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/libraries/System.Memory/src/System.Memory.csproj b/src/libraries/System.Memory/src/System.Memory.csproj index 67fa39dde5e..1aab519e55c 100644 --- a/src/libraries/System.Memory/src/System.Memory.csproj +++ b/src/libraries/System.Memory/src/System.Memory.csproj @@ -20,11 +20,6 @@ - - - - - From c1bbde4c967fba4277eab6d8b474c5c997064854 Mon Sep 17 00:00:00 2001 From: "Eric St. John" Date: Thu, 11 Oct 2018 12:39:34 -0700 Subject: [PATCH 08/10] Fix UAP apicompat attribute diffs Commit migrated from https://github.com/dotnet/corefx/commit/1598bc2701030cd70743838dafb707601ab5e53f --- src/libraries/BuildToolsVersion.txt | 1 - .../ApiCompatBaseline.uap.netstandard20.txt | 24 ++++++++++++++++++- ...piCompatBaseline.uap.netstandard20Only.txt | 8 ++++++- ...ApiCompatBaseline.uapaot.netstandard20.txt | 22 +++++++++++++++++ ...ompatBaseline.uapaot.netstandard20Only.txt | 8 ++++++- 5 files changed, 59 insertions(+), 4 deletions(-) delete mode 100644 src/libraries/BuildToolsVersion.txt diff --git a/src/libraries/BuildToolsVersion.txt b/src/libraries/BuildToolsVersion.txt deleted file mode 100644 index f3914aa11d9..00000000000 --- a/src/libraries/BuildToolsVersion.txt +++ /dev/null @@ -1 +0,0 @@ -3.0.0-preview1-03311-01 diff --git a/src/libraries/shims/ApiCompatBaseline.uap.netstandard20.txt b/src/libraries/shims/ApiCompatBaseline.uap.netstandard20.txt index 2b12622b2c9..fac0fcc70a7 100644 --- a/src/libraries/shims/ApiCompatBaseline.uap.netstandard20.txt +++ b/src/libraries/shims/ApiCompatBaseline.uap.netstandard20.txt @@ -33,4 +33,26 @@ TypeCannotChangeClassification : Type 'System.IO.FileAttributes' is a 'class' in # As part of https://github.com/dotnet/corefx/pull/30233 these setters were removed. We need to baseline these until we can start harvesting the newer package that has them removed. MembersMustExist : Member 'System.Security.Cryptography.Pkcs.CmsSigner.Certificates.set(System.Security.Cryptography.X509Certificates.X509Certificate2Collection)' does not exist in the implementation but it does exist in the contract. MembersMustExist : Member 'System.Security.Cryptography.Pkcs.CmsSigner.SignedAttributes.set(System.Security.Cryptography.CryptographicAttributeObjectCollection)' does not exist in the implementation but it does exist in the contract. -MembersMustExist : Member 'System.Security.Cryptography.Pkcs.CmsSigner.UnsignedAttributes.set(System.Security.Cryptography.CryptographicAttributeObjectCollection)' does not exist in the implementation but it does exist in the contract. \ No newline at end of file +MembersMustExist : Member 'System.Security.Cryptography.Pkcs.CmsSigner.UnsignedAttributes.set(System.Security.Cryptography.CryptographicAttributeObjectCollection)' does not exist in the implementation but it does exist in the contract. + +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.ComponentModel.BackgroundWorker' in the contract but not the implementation. +CannotChangeAttribute : Attribute 'System.Diagnostics.SwitchLevelAttribute' on 'System.Diagnostics.BooleanSwitch' changed from '[SwitchLevelAttribute(typeof(bool))]' in the contract to '[SwitchLevelAttribute(typeof(Boolean))]' in the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.Diagnostics.Process' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultPropertyAttribute' exists on 'System.Diagnostics.Process' in the contract but not the implementation. +CannotChangeAttribute : Attribute 'System.AttributeUsageAttribute' on 'System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute' changed from '[AttributeUsageAttribute(AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Event | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Struct, Inherited=false, AllowMultiple=false)]' in the contract to '[AttributeUsageAttribute(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Event | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Struct, Inherited=false, AllowMultiple=false)]' in the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.IO.FileSystemWatcher' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.ComponentModel.BackgroundWorker' in the contract but not the implementation. +CannotChangeAttribute : Attribute 'System.Diagnostics.SwitchLevelAttribute' on 'System.Diagnostics.BooleanSwitch' changed from '[SwitchLevelAttribute(typeof(bool))]' in the contract to '[SwitchLevelAttribute(typeof(Boolean))]' in the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.Diagnostics.Process' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultPropertyAttribute' exists on 'System.Diagnostics.Process' in the contract but not the implementation. +CannotChangeAttribute : Attribute 'System.AttributeUsageAttribute' on 'System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute' changed from '[AttributeUsageAttribute(AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Event | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Struct, Inherited=false, AllowMultiple=false)]' in the contract to '[AttributeUsageAttribute(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Event | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Struct, Inherited=false, AllowMultiple=false)]' in the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.IO.FileSystemWatcher' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.ComponentModel.BackgroundWorker' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.Diagnostics.Process' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultPropertyAttribute' exists on 'System.Diagnostics.Process' in the contract but not the implementation. +CannotChangeAttribute : Attribute 'System.Diagnostics.SwitchLevelAttribute' on 'System.Diagnostics.BooleanSwitch' changed from '[SwitchLevelAttribute(typeof(bool))]' in the contract to '[SwitchLevelAttribute(typeof(Boolean))]' in the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.TypeConverterAttribute' exists on 'System.DirectoryServices.DirectoryEntry' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.IO.FileSystemWatcher' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.TypeConverterAttribute' exists on 'System.Management.ManagementPath' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.TypeConverterAttribute' exists on 'System.Management.ManagementQuery' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.TypeConverterAttribute' exists on 'System.Management.ManagementScope' in the contract but not the implementation. diff --git a/src/libraries/shims/ApiCompatBaseline.uap.netstandard20Only.txt b/src/libraries/shims/ApiCompatBaseline.uap.netstandard20Only.txt index b5b3f20d60a..c28c57c2649 100644 --- a/src/libraries/shims/ApiCompatBaseline.uap.netstandard20Only.txt +++ b/src/libraries/shims/ApiCompatBaseline.uap.netstandard20Only.txt @@ -1,4 +1,10 @@ Compat issues with assembly netstandard: TypeCannotChangeClassification : Type 'System.RuntimeArgumentHandle' is a 'ref struct' in the implementation but is a 'struct' in the contract. TypeCannotChangeClassification : Type 'System.TypedReference' is a 'ref struct' in the implementation but is a 'struct' in the contract. -Total Issues: 2 + +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.ComponentModel.BackgroundWorker' in the contract but not the implementation. +CannotChangeAttribute : Attribute 'System.Diagnostics.SwitchLevelAttribute' on 'System.Diagnostics.BooleanSwitch' changed from '[SwitchLevelAttribute(typeof(bool))]' in the contract to '[SwitchLevelAttribute(typeof(Boolean))]' in the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.Diagnostics.Process' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultPropertyAttribute' exists on 'System.Diagnostics.Process' in the contract but not the implementation. +CannotChangeAttribute : Attribute 'System.AttributeUsageAttribute' on 'System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute' changed from '[AttributeUsageAttribute(AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Event | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Struct, Inherited=false, AllowMultiple=false)]' in the contract to '[AttributeUsageAttribute(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Event | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Struct, Inherited=false, AllowMultiple=false)]' in the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.IO.FileSystemWatcher' in the contract but not the implementation. diff --git a/src/libraries/shims/ApiCompatBaseline.uapaot.netstandard20.txt b/src/libraries/shims/ApiCompatBaseline.uapaot.netstandard20.txt index e0da39f2b08..15417fc3db1 100644 --- a/src/libraries/shims/ApiCompatBaseline.uapaot.netstandard20.txt +++ b/src/libraries/shims/ApiCompatBaseline.uapaot.netstandard20.txt @@ -37,3 +37,25 @@ MembersMustExist : Member 'System.Security.Cryptography.Pkcs.CmsSigner.UnsignedA Compat issues with assembly System.Memory: TypesMustExist : Type 'System.Buffers.Binary.BinaryPrimitives' does not exist in the implementation but it does exist in the contract. + +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.ComponentModel.BackgroundWorker' in the contract but not the implementation. +CannotChangeAttribute : Attribute 'System.Diagnostics.SwitchLevelAttribute' on 'System.Diagnostics.BooleanSwitch' changed from '[SwitchLevelAttribute(typeof(bool))]' in the contract to '[SwitchLevelAttribute(typeof(Boolean))]' in the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.Diagnostics.Process' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultPropertyAttribute' exists on 'System.Diagnostics.Process' in the contract but not the implementation. +CannotChangeAttribute : Attribute 'System.AttributeUsageAttribute' on 'System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute' changed from '[AttributeUsageAttribute(AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Event | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Struct, Inherited=false, AllowMultiple=false)]' in the contract to '[AttributeUsageAttribute(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Event | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Struct, Inherited=false, AllowMultiple=false)]' in the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.IO.FileSystemWatcher' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.ComponentModel.BackgroundWorker' in the contract but not the implementation. +CannotChangeAttribute : Attribute 'System.Diagnostics.SwitchLevelAttribute' on 'System.Diagnostics.BooleanSwitch' changed from '[SwitchLevelAttribute(typeof(bool))]' in the contract to '[SwitchLevelAttribute(typeof(Boolean))]' in the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.Diagnostics.Process' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultPropertyAttribute' exists on 'System.Diagnostics.Process' in the contract but not the implementation. +CannotChangeAttribute : Attribute 'System.AttributeUsageAttribute' on 'System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute' changed from '[AttributeUsageAttribute(AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Event | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Struct, Inherited=false, AllowMultiple=false)]' in the contract to '[AttributeUsageAttribute(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Event | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Struct, Inherited=false, AllowMultiple=false)]' in the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.IO.FileSystemWatcher' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.ComponentModel.BackgroundWorker' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.Diagnostics.Process' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultPropertyAttribute' exists on 'System.Diagnostics.Process' in the contract but not the implementation. +CannotChangeAttribute : Attribute 'System.Diagnostics.SwitchLevelAttribute' on 'System.Diagnostics.BooleanSwitch' changed from '[SwitchLevelAttribute(typeof(bool))]' in the contract to '[SwitchLevelAttribute(typeof(Boolean))]' in the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.TypeConverterAttribute' exists on 'System.DirectoryServices.DirectoryEntry' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.IO.FileSystemWatcher' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.TypeConverterAttribute' exists on 'System.Management.ManagementPath' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.TypeConverterAttribute' exists on 'System.Management.ManagementQuery' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.TypeConverterAttribute' exists on 'System.Management.ManagementScope' in the contract but not the implementation. diff --git a/src/libraries/shims/ApiCompatBaseline.uapaot.netstandard20Only.txt b/src/libraries/shims/ApiCompatBaseline.uapaot.netstandard20Only.txt index b5b3f20d60a..e50c33f6b6a 100644 --- a/src/libraries/shims/ApiCompatBaseline.uapaot.netstandard20Only.txt +++ b/src/libraries/shims/ApiCompatBaseline.uapaot.netstandard20Only.txt @@ -1,4 +1,10 @@ Compat issues with assembly netstandard: TypeCannotChangeClassification : Type 'System.RuntimeArgumentHandle' is a 'ref struct' in the implementation but is a 'struct' in the contract. TypeCannotChangeClassification : Type 'System.TypedReference' is a 'ref struct' in the implementation but is a 'struct' in the contract. -Total Issues: 2 + +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.ComponentModel.BackgroundWorker' in the contract but not the implementation. +CannotChangeAttribute : Attribute 'System.Diagnostics.SwitchLevelAttribute' on 'System.Diagnostics.BooleanSwitch' changed from '[SwitchLevelAttribute(typeof(bool))]' in the contract to '[SwitchLevelAttribute(typeof(Boolean))]' in the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.Diagnostics.Process' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultPropertyAttribute' exists on 'System.Diagnostics.Process' in the contract but not the implementation. +CannotChangeAttribute : Attribute 'System.AttributeUsageAttribute' on 'System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute' changed from '[AttributeUsageAttribute(AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Event | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Struct, Inherited=false, AllowMultiple=false)]' in the contract to '[AttributeUsageAttribute(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Event | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Struct, Inherited=false, AllowMultiple=false)]' in the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.IO.FileSystemWatcher' in the contract but not the implementation. \ No newline at end of file From 034a892836a338fd90d96e59cab11019bc32336b Mon Sep 17 00:00:00 2001 From: Viktor Date: Tue, 16 Oct 2018 11:26:41 +0200 Subject: [PATCH 09/10] Update buildtools Commit migrated from https://github.com/dotnet/corefx/commit/80b5856cf51aecffa3746ebc9a2a0adbe9fb9ce7 --- src/libraries/dependencies.props | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libraries/dependencies.props b/src/libraries/dependencies.props index f5ec7974b9c..fe174904bf3 100644 --- a/src/libraries/dependencies.props +++ b/src/libraries/dependencies.props @@ -17,7 +17,7 @@ 6ad5a5320d83cbb3571ed507e236e5112d87d544 8bd1ec5fac9f0eec34ff6b34b1d878b4359e02dd 9004703a1923e5c5582ceb8d79712df777412446 - b074b82f8d5cd98ee14a6a861aa003d41a055748 + 40b05a06fd39b8b39bb24c58957e58f0aacefb25 6aee9d4f0b918a9458cdf07d22094d4523204a6c @@ -65,10 +65,10 @@ Microsoft.DotNet.Build.Tasks.Feed - 3.0.0-preview1-03315-01 + 3.0.0-preview1-03316-04 microsoft.dotnet.buildtools - 3.0.0-preview1-03315-01 + 3.0.0-preview1-03316-04 From 993a0c2ef213f0bf4e9fa3b4ec725844bdcd3dc5 Mon Sep 17 00:00:00 2001 From: Viktor Date: Tue, 16 Oct 2018 20:58:27 +0200 Subject: [PATCH 10/10] Change test data file paths to respect Content TargetPath Commit migrated from https://github.com/dotnet/corefx/commit/fdc9de8db8785331749a985501fd05e2cc3673db --- .../tests/Mono/DataTableExtensionsTest.cs | 2 +- .../tests/Mono/EnumerableRowCollectionTest.cs | 2 +- .../FunctionalTests/AddressParsingTests.cs | 6 +- .../ConnectionsParsingTests.cs | 16 +- .../tests/FunctionalTests/DnsParsingTests.cs | 8 +- .../tests/FunctionalTests/MiscParsingTests.cs | 14 +- .../FunctionalTests/StatisticsParsingTests.cs | 18 +- ...NetworkInformation.Functional.Tests.csproj | 59 +-- .../tests/BasicScenarioTests.cs | 38 +- .../tests/TestFeeds/atom_feeds.dat | 350 +++++++++--------- .../tests/TestFeeds/rss_feeds.dat | 126 +++---- .../BasicScenarioTests.netcoreapp.cs | 14 +- 12 files changed, 298 insertions(+), 355 deletions(-) diff --git a/src/libraries/System.Data.DataSetExtensions/tests/Mono/DataTableExtensionsTest.cs b/src/libraries/System.Data.DataSetExtensions/tests/Mono/DataTableExtensionsTest.cs index 60cdc772ab5..5a7a83b4bca 100644 --- a/src/libraries/System.Data.DataSetExtensions/tests/Mono/DataTableExtensionsTest.cs +++ b/src/libraries/System.Data.DataSetExtensions/tests/Mono/DataTableExtensionsTest.cs @@ -40,7 +40,7 @@ namespace MonoTests.System.Data { public class DataTableExtensionsTest { - private string _testDataSet = "testdataset1.xml"; + private string _testDataSet = "Mono/testdataset1.xml"; [Fact] public void CopyToDataTableNoArgNoRows() diff --git a/src/libraries/System.Data.DataSetExtensions/tests/Mono/EnumerableRowCollectionTest.cs b/src/libraries/System.Data.DataSetExtensions/tests/Mono/EnumerableRowCollectionTest.cs index 8f634e13fc4..aab1b2ac9a3 100644 --- a/src/libraries/System.Data.DataSetExtensions/tests/Mono/EnumerableRowCollectionTest.cs +++ b/src/libraries/System.Data.DataSetExtensions/tests/Mono/EnumerableRowCollectionTest.cs @@ -39,7 +39,7 @@ namespace MonoTests.System.Data { public class EnumerableRowCollectionTest { - private string _testDataSet = "testdataset1.xml"; + private string _testDataSet = "Mono/testdataset1.xml"; [Fact] public void QueryWhere() diff --git a/src/libraries/System.Net.NetworkInformation/tests/FunctionalTests/AddressParsingTests.cs b/src/libraries/System.Net.NetworkInformation/tests/FunctionalTests/AddressParsingTests.cs index 684fadc085b..7a7597b33a0 100644 --- a/src/libraries/System.Net.NetworkInformation/tests/FunctionalTests/AddressParsingTests.cs +++ b/src/libraries/System.Net.NetworkInformation/tests/FunctionalTests/AddressParsingTests.cs @@ -14,7 +14,7 @@ namespace System.Net.NetworkInformation.Tests public void GatewayAddressParsing() { string fileName = GetTestFilePath(); - FileUtil.NormalizeLineEndings("route", fileName); + FileUtil.NormalizeLineEndings("NetworkFiles/route", fileName); List gatewayAddresses = StringParsingHelpers.ParseGatewayAddressesFromRouteFile(fileName, "wlan0"); Assert.Equal(3, gatewayAddresses.Count); @@ -27,7 +27,7 @@ namespace System.Net.NetworkInformation.Tests public void DhcpServerAddressParsing() { string fileName = GetTestFilePath(); - FileUtil.NormalizeLineEndings("dhclient.leases", fileName); + FileUtil.NormalizeLineEndings("NetworkFiles/dhclient.leases", fileName); List dhcpServerAddresses = StringParsingHelpers.ParseDhcpServerAddressesFromLeasesFile(fileName, "wlan0"); Assert.Equal(1, dhcpServerAddresses.Count); Assert.Equal(IPAddress.Parse("10.105.128.4"), dhcpServerAddresses[0]); @@ -37,7 +37,7 @@ namespace System.Net.NetworkInformation.Tests public void WinsServerAddressParsing() { string fileName = GetTestFilePath(); - FileUtil.NormalizeLineEndings("smb.conf", fileName); + FileUtil.NormalizeLineEndings("NetworkFiles/smb.conf", fileName); List winsServerAddresses = StringParsingHelpers.ParseWinsServerAddressesFromSmbConfFile(fileName); Assert.Equal(1, winsServerAddresses.Count); diff --git a/src/libraries/System.Net.NetworkInformation/tests/FunctionalTests/ConnectionsParsingTests.cs b/src/libraries/System.Net.NetworkInformation/tests/FunctionalTests/ConnectionsParsingTests.cs index 87688dd3410..eaaa031b9e0 100644 --- a/src/libraries/System.Net.NetworkInformation/tests/FunctionalTests/ConnectionsParsingTests.cs +++ b/src/libraries/System.Net.NetworkInformation/tests/FunctionalTests/ConnectionsParsingTests.cs @@ -14,8 +14,8 @@ namespace System.Net.NetworkInformation.Tests { string sockstatFile = GetTestFilePath(); string sockstat6File = GetTestFilePath(); - FileUtil.NormalizeLineEndings("sockstat", sockstatFile); - FileUtil.NormalizeLineEndings("sockstat6", sockstat6File); + FileUtil.NormalizeLineEndings("NetworkFiles/sockstat", sockstatFile); + FileUtil.NormalizeLineEndings("NetworkFiles/sockstat6", sockstat6File); int numTcp = StringParsingHelpers.ParseNumSocketConnections(sockstatFile, "TCP"); Assert.Equal(4, numTcp); @@ -35,8 +35,8 @@ namespace System.Net.NetworkInformation.Tests { string tcpFile = GetTestFilePath(); string tcp6File = GetTestFilePath(); - FileUtil.NormalizeLineEndings("tcp", tcpFile); - FileUtil.NormalizeLineEndings("tcp6", tcp6File); + FileUtil.NormalizeLineEndings("NetworkFiles/tcp", tcpFile); + FileUtil.NormalizeLineEndings("NetworkFiles/tcp6", tcp6File); TcpConnectionInformation[] infos = StringParsingHelpers.ParseActiveTcpConnectionsFromFiles(tcpFile, tcp6File); Assert.Equal(10, infos.Length); @@ -82,8 +82,8 @@ namespace System.Net.NetworkInformation.Tests { string tcpFile = GetTestFilePath(); string tcp6File = GetTestFilePath(); - FileUtil.NormalizeLineEndings("tcp", tcpFile); - FileUtil.NormalizeLineEndings("tcp6", tcp6File); + FileUtil.NormalizeLineEndings("NetworkFiles/tcp", tcpFile); + FileUtil.NormalizeLineEndings("NetworkFiles/tcp6", tcp6File); IPEndPoint[] listeners = StringParsingHelpers.ParseActiveTcpListenersFromFiles(tcpFile, tcp6File); // There is only one socket in Listening state @@ -96,8 +96,8 @@ namespace System.Net.NetworkInformation.Tests { string udpFile = GetTestFilePath(); string udp6File = GetTestFilePath(); - FileUtil.NormalizeLineEndings("udp", udpFile); - FileUtil.NormalizeLineEndings("udp6", udp6File); + FileUtil.NormalizeLineEndings("NetworkFiles/udp", udpFile); + FileUtil.NormalizeLineEndings("NetworkFiles/udp6", udp6File); IPEndPoint[] listeners = StringParsingHelpers.ParseActiveUdpListenersFromFiles(udpFile, udp6File); Assert.Equal(15, listeners.Length); diff --git a/src/libraries/System.Net.NetworkInformation/tests/FunctionalTests/DnsParsingTests.cs b/src/libraries/System.Net.NetworkInformation/tests/FunctionalTests/DnsParsingTests.cs index 416b9fd271e..b3e83c87347 100644 --- a/src/libraries/System.Net.NetworkInformation/tests/FunctionalTests/DnsParsingTests.cs +++ b/src/libraries/System.Net.NetworkInformation/tests/FunctionalTests/DnsParsingTests.cs @@ -9,8 +9,8 @@ namespace System.Net.NetworkInformation.Tests { public class DnsParsingTests : FileCleanupTestBase { - [InlineData("resolv.conf")] - [InlineData("resolv_nonewline.conf")] + [InlineData("NetworkFiles/resolv.conf")] + [InlineData("NetworkFiles/resolv_nonewline.conf")] [Theory] public void DnsSuffixParsing(string file) { @@ -21,8 +21,8 @@ namespace System.Net.NetworkInformation.Tests Assert.Equal("fake.suffix.net", suffix); } - [InlineData("resolv.conf")] - [InlineData("resolv_nonewline.conf")] + [InlineData("NetworkFiles/resolv.conf")] + [InlineData("NetworkFiles/resolv_nonewline.conf")] [Theory] public void DnsAddressesParsing(string file) { diff --git a/src/libraries/System.Net.NetworkInformation/tests/FunctionalTests/MiscParsingTests.cs b/src/libraries/System.Net.NetworkInformation/tests/FunctionalTests/MiscParsingTests.cs index 54152936aae..bc990fad269 100644 --- a/src/libraries/System.Net.NetworkInformation/tests/FunctionalTests/MiscParsingTests.cs +++ b/src/libraries/System.Net.NetworkInformation/tests/FunctionalTests/MiscParsingTests.cs @@ -13,7 +13,7 @@ namespace System.Net.NetworkInformation.Tests public void NumRoutesParsing() { string fileName = GetTestFilePath(); - FileUtil.NormalizeLineEndings("route", fileName); + FileUtil.NormalizeLineEndings("NetworkFiles/route", fileName); int numRoutes = StringParsingHelpers.ParseNumRoutesFromRouteFile(fileName); Assert.Equal(4, numRoutes); } @@ -22,7 +22,7 @@ namespace System.Net.NetworkInformation.Tests public void DefaultTtlParsing() { string fileName = GetTestFilePath(); - FileUtil.NormalizeLineEndings("snmp", fileName); + FileUtil.NormalizeLineEndings("NetworkFiles/snmp", fileName); int ttl = StringParsingHelpers.ParseDefaultTtlFromFile(fileName); Assert.Equal(64, ttl); } @@ -30,27 +30,27 @@ namespace System.Net.NetworkInformation.Tests [Fact] public static void RawIntFileParsing() { - int val = StringParsingHelpers.ParseRawIntFile("rawint"); + int val = StringParsingHelpers.ParseRawIntFile("NetworkFiles/rawint"); Assert.Equal(12, val); - int max = StringParsingHelpers.ParseRawIntFile("rawint_maxvalue"); + int max = StringParsingHelpers.ParseRawIntFile("NetworkFiles/rawint_maxvalue"); Assert.Equal(int.MaxValue, max); } [Fact] public static void RawLongFileParsing() { - long val = StringParsingHelpers.ParseRawLongFile("rawlong"); + long val = StringParsingHelpers.ParseRawLongFile("NetworkFiles/rawlong"); Assert.Equal(3147483647L, val); - long max = StringParsingHelpers.ParseRawLongFile("rawlong_maxvalue"); + long max = StringParsingHelpers.ParseRawLongFile("NetworkFiles/rawlong_maxvalue"); Assert.Equal(long.MaxValue, max); } [Fact] public static void RawHexIntParsing() { - int val = StringParsingHelpers.ParseRawHexFileAsInt("rawhexint"); + int val = StringParsingHelpers.ParseRawHexFileAsInt("NetworkFiles/rawhexint"); Assert.Equal(10, val); } } diff --git a/src/libraries/System.Net.NetworkInformation/tests/FunctionalTests/StatisticsParsingTests.cs b/src/libraries/System.Net.NetworkInformation/tests/FunctionalTests/StatisticsParsingTests.cs index 13c6317b2b6..c5432f289e2 100644 --- a/src/libraries/System.Net.NetworkInformation/tests/FunctionalTests/StatisticsParsingTests.cs +++ b/src/libraries/System.Net.NetworkInformation/tests/FunctionalTests/StatisticsParsingTests.cs @@ -13,7 +13,7 @@ namespace System.Net.NetworkInformation.Tests public void Icmpv4Parsing() { string fileName = GetTestFilePath(); - FileUtil.NormalizeLineEndings("snmp", fileName); + FileUtil.NormalizeLineEndings("NetworkFiles/snmp", fileName); Icmpv4StatisticsTable table = StringParsingHelpers.ParseIcmpv4FromSnmpFile(fileName); Assert.Equal(1, table.InMsgs); Assert.Equal(2, table.InErrors); @@ -48,7 +48,7 @@ namespace System.Net.NetworkInformation.Tests public void Icmpv6Parsing() { string fileName = GetTestFilePath(); - FileUtil.NormalizeLineEndings("snmp6", fileName); + FileUtil.NormalizeLineEndings("NetworkFiles/snmp6", fileName); Icmpv6StatisticsTable table = StringParsingHelpers.ParseIcmpv6FromSnmp6File(fileName); Assert.Equal(1, table.InMsgs); Assert.Equal(2, table.InErrors); @@ -88,7 +88,7 @@ namespace System.Net.NetworkInformation.Tests public void TcpGlobalStatisticsParsing() { string fileName = GetTestFilePath(); - FileUtil.NormalizeLineEndings("snmp", fileName); + FileUtil.NormalizeLineEndings("NetworkFiles/snmp", fileName); TcpGlobalStatisticsTable table = StringParsingHelpers.ParseTcpGlobalStatisticsFromSnmpFile(fileName); Assert.Equal(1, table.RtoAlgorithm); Assert.Equal(200, table.RtoMin); @@ -111,7 +111,7 @@ namespace System.Net.NetworkInformation.Tests public void Udpv4GlobalStatisticsParsing() { string fileName = GetTestFilePath(); - FileUtil.NormalizeLineEndings("snmp", fileName); + FileUtil.NormalizeLineEndings("NetworkFiles/snmp", fileName); UdpGlobalStatisticsTable table = StringParsingHelpers.ParseUdpv4GlobalStatisticsFromSnmpFile(fileName); Assert.Equal(7181, table.InDatagrams); Assert.Equal(150, table.NoPorts); @@ -126,7 +126,7 @@ namespace System.Net.NetworkInformation.Tests public void Udpv6GlobalStatisticsParsing() { string fileName = GetTestFilePath(); - FileUtil.NormalizeLineEndings("snmp6", fileName); + FileUtil.NormalizeLineEndings("NetworkFiles/snmp6", fileName); UdpGlobalStatisticsTable table = StringParsingHelpers.ParseUdpv6GlobalStatisticsFromSnmp6File(fileName); Assert.Equal(19, table.InDatagrams); Assert.Equal(0, table.NoPorts); @@ -141,7 +141,7 @@ namespace System.Net.NetworkInformation.Tests public void Ipv4GlobalStatisticsParsing() { string fileName = GetTestFilePath(); - FileUtil.NormalizeLineEndings("snmp", fileName); + FileUtil.NormalizeLineEndings("NetworkFiles/snmp", fileName); IPGlobalStatisticsTable table = StringParsingHelpers.ParseIPv4GlobalStatisticsFromSnmpFile(fileName); Assert.Equal(false, table.Forwarding); @@ -169,7 +169,7 @@ namespace System.Net.NetworkInformation.Tests public void Ipv6GlobalStatisticsParsing() { string fileName = GetTestFilePath(); - FileUtil.NormalizeLineEndings("snmp6", fileName); + FileUtil.NormalizeLineEndings("NetworkFiles/snmp6", fileName); IPGlobalStatisticsTable table = StringParsingHelpers.ParseIPv6GlobalStatisticsFromSnmp6File(fileName); Assert.Equal(189, table.InReceives); @@ -195,7 +195,7 @@ namespace System.Net.NetworkInformation.Tests public void IpInterfaceStatisticsParsingFirst() { string fileName = GetTestFilePath(); - FileUtil.NormalizeLineEndings("dev", fileName); + FileUtil.NormalizeLineEndings("NetworkFiles/dev", fileName); IPInterfaceStatisticsTable table = StringParsingHelpers.ParseInterfaceStatisticsTableFromFile(fileName, "wlan0"); Assert.Equal(26622u, table.BytesReceived); @@ -221,7 +221,7 @@ namespace System.Net.NetworkInformation.Tests public void IpInterfaceStatisticsParsingLast() { string fileName = GetTestFilePath(); - FileUtil.NormalizeLineEndings("dev", fileName); + FileUtil.NormalizeLineEndings("NetworkFiles/dev", fileName); IPInterfaceStatisticsTable table = StringParsingHelpers.ParseInterfaceStatisticsTableFromFile(fileName, "lo"); Assert.Equal(uint.MaxValue, table.BytesReceived); diff --git a/src/libraries/System.Net.NetworkInformation/tests/FunctionalTests/System.Net.NetworkInformation.Functional.Tests.csproj b/src/libraries/System.Net.NetworkInformation/tests/FunctionalTests/System.Net.NetworkInformation.Functional.Tests.csproj index 9fc9c54c668..1712dbb44c4 100644 --- a/src/libraries/System.Net.NetworkInformation/tests/FunctionalTests/System.Net.NetworkInformation.Functional.Tests.csproj +++ b/src/libraries/System.Net.NetworkInformation/tests/FunctionalTests/System.Net.NetworkInformation.Functional.Tests.csproj @@ -72,64 +72,7 @@ - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - + PreserveNewest diff --git a/src/libraries/System.ServiceModel.Syndication/tests/BasicScenarioTests.cs b/src/libraries/System.ServiceModel.Syndication/tests/BasicScenarioTests.cs index 26401efb91d..a9e2c2e043d 100644 --- a/src/libraries/System.ServiceModel.Syndication/tests/BasicScenarioTests.cs +++ b/src/libraries/System.ServiceModel.Syndication/tests/BasicScenarioTests.cs @@ -53,7 +53,7 @@ namespace System.ServiceModel.Syndication.Tests { // *** SETUP *** \\\ SyndicationFeed sf; - using (XmlReader xmlr = XmlReader.Create(@"SimpleRssFeed.xml")) + using (XmlReader xmlr = XmlReader.Create("TestFeeds/SimpleRssFeed.xml")) { sf = SyndicationFeed.Load(xmlr); Assert.True(sf != null); @@ -86,7 +86,7 @@ namespace System.ServiceModel.Syndication.Tests { // *** SETUP *** \\\ SyndicationFeed sf; - using (XmlReader xmlr = XmlReader.Create(@"rssSpecExample.xml")) + using (XmlReader xmlr = XmlReader.Create("TestFeeds/rssSpecExample.xml")) { sf = SyndicationFeed.Load(xmlr); Assert.True(sf != null); @@ -120,7 +120,7 @@ namespace System.ServiceModel.Syndication.Tests { // *** SETUP *** \\\ SyndicationFeed sf; - using (XmlReader xmlr = XmlReader.Create(@"SimpleAtomFeed.xml")) + using (XmlReader xmlr = XmlReader.Create("TestFeeds/SimpleAtomFeed.xml")) { sf = SyndicationFeed.Load(xmlr); Assert.True(sf != null); @@ -153,7 +153,7 @@ namespace System.ServiceModel.Syndication.Tests { // *** SETUP *** \\\ SyndicationFeed sf; - using (XmlReader xmlr = XmlReader.Create(@"atom_spec_example.xml")) + using (XmlReader xmlr = XmlReader.Create("TestFeeds/atom_spec_example.xml")) { sf = SyndicationFeed.Load(xmlr); Assert.True(sf != null); @@ -236,7 +236,7 @@ namespace System.ServiceModel.Syndication.Tests public static void SyndicationFeed_Load_Rss() { XmlReaderSettings setting = new XmlReaderSettings(); - using (XmlReader reader = XmlReader.Create(@"rssSpecExample.xml", setting)) + using (XmlReader reader = XmlReader.Create("TestFeeds/rssSpecExample.xml", setting)) { SyndicationFeed rss = SyndicationFeed.Load(reader); Assert.True(rss.Items != null); @@ -247,7 +247,7 @@ namespace System.ServiceModel.Syndication.Tests public static void SyndicationFeed_Load_Atom() { XmlReaderSettings setting = new XmlReaderSettings(); - using (XmlReader reader = XmlReader.Create(@"atom_spec_example.xml", setting)) + using (XmlReader reader = XmlReader.Create("TestFeeds/atom_spec_example.xml", setting)) { SyndicationFeed atom = SyndicationFeed.Load(reader); Assert.True(atom.Items != null); @@ -258,7 +258,7 @@ namespace System.ServiceModel.Syndication.Tests [SkipOnTargetFramework(TargetFrameworkMonikers.NetFramework, "Disjoint items not supported on NetFX")] public static void SyndicationFeed_Rss_TestDisjointItems() { - using (XmlReader reader = XmlReader.Create(@"RssDisjointItems.xml")) + using (XmlReader reader = XmlReader.Create("TestFeeds/RssDisjointItems.xml")) { // *** EXECUTE *** \\ SyndicationFeed sf = SyndicationFeed.Load(reader); @@ -279,7 +279,7 @@ namespace System.ServiceModel.Syndication.Tests [SkipOnTargetFramework(TargetFrameworkMonikers.NetFramework, "Disjoint items not supported on NetFX")] public static void SyndicationFeed_Atom_TestDisjointItems() { - using (XmlReader reader = XmlReader.Create(@"AtomDisjointItems.xml")) + using (XmlReader reader = XmlReader.Create("TestFeeds/AtomDisjointItems.xml")) { // *** EXECUTE *** \\ SyndicationFeed sf = SyndicationFeed.Load(reader); @@ -300,7 +300,7 @@ namespace System.ServiceModel.Syndication.Tests public static void SyndicationFeed_Rss_WrongDateFormat() { // *** SETUP *** \\ - XmlReader reader = XmlReader.Create(@"rssSpecExampleWrongDateFormat.xml"); + XmlReader reader = XmlReader.Create("TestFeeds/rssSpecExampleWrongDateFormat.xml"); // *** EXECUTE *** \\ SyndicationFeed res = SyndicationFeed.Load(reader); @@ -318,14 +318,14 @@ namespace System.ServiceModel.Syndication.Tests [Fact] public static void AtomEntryPositiveTest() { - string file = @"brief-entry-noerror.xml"; + string file = "TestFeeds/brief-entry-noerror.xml"; ReadWriteSyndicationItem(file, (itemObject) => new Atom10ItemFormatter(itemObject)); } [Fact] public static void AtomEntryPositiveTest_write() { - string file = @"AtomEntryTest.xml"; + string file = "TestFeeds/AtomEntryTest.xml"; string serializeFilePath = Path.GetTempFileName(); bool toDeletedFile = true; @@ -372,7 +372,7 @@ namespace System.ServiceModel.Syndication.Tests [Fact] public static void AtomFeedPositiveTest() { - string dataFile = @"atom_feeds.dat"; + string dataFile = "TestFeeds/atom_feeds.dat"; List fileList = GetTestFilesForFeedTest(dataFile); List allowableDifferences = GetAtomFeedPositiveTestAllowableDifferences(); @@ -385,14 +385,14 @@ namespace System.ServiceModel.Syndication.Tests [Fact] public static void RssEntryPositiveTest() { - string file = @"RssEntry.xml"; + string file = "TestFeeds/RssEntry.xml"; ReadWriteSyndicationItem(file, (itemObject) => new Rss20ItemFormatter(itemObject)); } [Fact] public static void RssFeedPositiveTest() { - string dataFile = @"rss_feeds.dat"; + string dataFile = "TestFeeds/rss_feeds.dat"; List fileList = GetTestFilesForFeedTest(dataFile); List allowableDifferences = GetRssFeedPositiveTestAllowableDifferences(); @@ -405,7 +405,7 @@ namespace System.ServiceModel.Syndication.Tests [Fact] public static void DiffAtomNsTest() { - string file = @"diff_atom_ns.xml"; + string file = "TestFeeds/FailureFeeds/diff_atom_ns.xml"; using (XmlReader reader = XmlReader.Create(file)) { Assert.Throws(typeof(XmlException), () => { SyndicationItem.Load(reader); }); @@ -415,7 +415,7 @@ namespace System.ServiceModel.Syndication.Tests [Fact] public static void DiffRssNsTest() { - string file = @"diff_rss_ns.xml"; + string file = "TestFeeds/FailureFeeds/diff_rss_ns.xml"; using (XmlReader reader = XmlReader.Create(file)) { Assert.Throws(typeof(XmlException), () => { SyndicationItem.Load(reader); }); @@ -425,7 +425,7 @@ namespace System.ServiceModel.Syndication.Tests [Fact] public static void DiffRssVersionTest() { - string file = @"diff_rss_version.xml"; + string file = "TestFeeds/FailureFeeds/diff_rss_version.xml"; using (XmlReader reader = XmlReader.Create(file)) { Assert.Throws(typeof(XmlException), () => { SyndicationItem.Load(reader); }); @@ -435,7 +435,7 @@ namespace System.ServiceModel.Syndication.Tests [Fact] public static void NoRssVersionTest() { - string file = @"no_rss_version.xml"; + string file = "TestFeeds/FailureFeeds/no_rss_version.xml"; using (XmlReader reader = XmlReader.Create(file)) { Assert.Throws(typeof(XmlException), () => { SyndicationItem.Load(reader); }); @@ -630,7 +630,7 @@ namespace System.ServiceModel.Syndication.Tests { if (!file.StartsWith("#")) { - file = file.Trim(); + file = Path.Combine("TestFeeds", file.Trim()); if (File.Exists(file)) { fileList.Add(Path.GetFullPath(file)); diff --git a/src/libraries/System.ServiceModel.Syndication/tests/TestFeeds/atom_feeds.dat b/src/libraries/System.ServiceModel.Syndication/tests/TestFeeds/atom_feeds.dat index 05f07efdc79..7476d6dfd9c 100644 --- a/src/libraries/System.ServiceModel.Syndication/tests/TestFeeds/atom_feeds.dat +++ b/src/libraries/System.ServiceModel.Syndication/tests/TestFeeds/atom_feeds.dat @@ -1,175 +1,175 @@ -absolute_rel.xml -alternate-no-content.xml -author-at-entry-only.xml -author-at-feed-and-entry.xml -author-at-feed-only.xml -authorless-with-no-entries.xml -authorless-with-one-entry.xml -category-label-escaped-html.xml -category-no-label.xml -category-no-scheme.xml -category-scheme-invalid-iri.xml -category-scheme-rel-iri.xml -category-entry-ext.xml -category-feed-ext.xml -category-feed.xml -contains-email.xml -content-application-xthml.xml -content-base64-no-summary.xml -content-jpeg-invalid-base64.xml -content-jpeg-valid-base64.xml -content-no-alternate.xml -content-no-type-escaped-html.xml -content-plain-with-children.xml -content-src-no-summary.xml -content-src-no-type-no-error.xml -content-src-no-type.xml -content-src-relative-ref.xml -content-src-type-html.xml -content-src-type-text-html.xml -content-src-type-text.xml -content-src-type-xhtml.xml -content-src.xml -content-text-html.xml -content-xhtml-escaped.xml -content-xhtml-mixed.xml -content-xhtml-no-xhtml-div.xml -content-xhtml-notmarkup.xml -content-xhtml-text-children.xml -duplicate-entries.xml -email-rss20-style.xml -email-with-name.xml -email-with-plus.xml -empty-content.xml -empty-title.xml -empty_author.xml -escaped_text.xml -example_html_title.xml -example_text_title.xml -example_xhtml_summary1.xml -example_xhtml_summary2.xml -example_xhtml_summary3.xml -extension-unknown-noerror.xml -extensive-noerror.xml -extensive-nowarn.xml -generator-escaped-html.xml -generator-no-text.xml -generator_relative_ref.xml -icon_invalid_uri.xml -icon_relative_ref.xml -id-dot-segments.xml -id-empty-fragment-id.xml -id-empty-path.xml -id-empty-query.xml -id-explicit-authority.xml -id-explicit-default-port.xml -id-host-uppercase.xml -id-noniana.xml -id-not-uri.xml -id-percent-encoded-lower.xml -id-percent-encoded.xml -id-relative-uri.xml -id-uppercase-scheme.xml -id-valid-tag-uris.xml -infoset-attr-order.xml -infoset-char-ref.xml -infoset-element-whitespace.xml -infoset-empty1.xml -infoset-empty2.xml -infoset-quote-single.xml -invalid-email.xml -invalid-uri.xml -invalid-xml-base.xml -invalid-xml-lang.xml -invalid_html.xml -license-noerror.xml -link-extensions.xml -link-full-uri.xml -link-href-relative.xml -link-hreflang-invalid-language.xml -link-rel-full.xml -link-rel-iana.xml -link-rel-isegment-nz-nc.xml -link-rel-relative.xml -link-same-rel-different-types.xml -link-same-rel-type-different-hreflang.xml -link-same-rel-type-hreflang.xml -link-same-rel-type-no-hreflang.xml -link-title-with-badchars.xml -link-title-with-html.xml -link-type-invalid-mime.xml -link-type-parameters.xml -logo_relative_ref.xml -missing-id-source.xml -missing-self.xml -missing-title-source.xml -missing-updated-source.xml -missing_xhtml_div.xml -missing_xhtml_ns.xml -multi-enclosure-test.xml -multiple-alternates-differing-source.xml -multiple-alternates-differing.xml -multiple-alternates-matching-source.xml -multiple-alternates-matching.xml -multiple-authors-source.xml -multiple-authors.xml -multiple-categories-entry.xml -multiple-categories-source.xml -multiple-categories.xml -multiple-contributors-entry.xml -multiple-contributors-source.xml -multiple-contributors.xml -multiple-icons-source.xml -multiple-icons.xml -multiple-related-matching.xml -no-content-or-alternate.xml -no-content-or-summary.xml -no-name.xml -prefixed-namespace.xml -rdf-extensions.xml -rel-colon.xml -related-same-rel-type-hreflang.xml -relative-ref.xml -rights-text-with-escaped-html.xml -rights-xhtml-no-xmldiv.xml -self-vs-alternate.xml -subtitle-blank.xml -summary-content-base64.xml -summary-content-src.xml -text_with_escaped_html.xml -title-blank.xml -trackback-about-entry.xml -trackback-ping-entry.xml -trackback-ping-outside-entry.xml -type-html.xml -type-multipart-alternative.xml -type-text-html.xml -type-text.xml -type-xhtml.xml -type-xml.xml -undeterminable-vocabulary.xml -undeterminable-vocabulary2.xml -undeterminable-vocabulary3.xml -unregistered-rel.xml -updated-example3.xml -valid-xml-base-iri.xml -ws-author-uri.xml -ws-category-scheme.xml -ws-content-src.xml -ws-entry-id.xml -ws-entry-published.xml -ws-entry-updated.xml -ws-feed-icon.xml -ws-feed-id.xml -ws-feed-logo.xml -ws-feed-updated.xml -ws-generator-uri.xml -ws-link-href.xml -ws-link-rel.xml -xhtml-extensions.xml -xml-base-ambiguous.xml -xml-base-elem-ne-doc.xml -xml-base.xml -xml-lang-blank.xml -xml-lang.xml -zero-entries.xml +AtomFeeds/absolute_rel.xml +AtomFeeds/alternate-no-content.xml +AtomFeeds/author-at-entry-only.xml +AtomFeeds/author-at-feed-and-entry.xml +AtomFeeds/author-at-feed-only.xml +AtomFeeds/authorless-with-no-entries.xml +AtomFeeds/authorless-with-one-entry.xml +AtomFeeds/category-label-escaped-html.xml +AtomFeeds/category-no-label.xml +AtomFeeds/category-no-scheme.xml +AtomFeeds/category-scheme-invalid-iri.xml +AtomFeeds/category-scheme-rel-iri.xml +AtomFeeds/category-entry-ext.xml +AtomFeeds/category-feed-ext.xml +AtomFeeds/category-feed.xml +AtomFeeds/contains-email.xml +AtomFeeds/content-application-xthml.xml +AtomFeeds/content-base64-no-summary.xml +AtomFeeds/content-jpeg-invalid-base64.xml +AtomFeeds/content-jpeg-valid-base64.xml +AtomFeeds/content-no-alternate.xml +AtomFeeds/content-no-type-escaped-html.xml +AtomFeeds/content-plain-with-children.xml +AtomFeeds/content-src-no-summary.xml +AtomFeeds/content-src-no-type-no-error.xml +AtomFeeds/content-src-no-type.xml +AtomFeeds/content-src-relative-ref.xml +AtomFeeds/content-src-type-html.xml +AtomFeeds/content-src-type-text-html.xml +AtomFeeds/content-src-type-text.xml +AtomFeeds/content-src-type-xhtml.xml +AtomFeeds/content-src.xml +AtomFeeds/content-text-html.xml +AtomFeeds/content-xhtml-escaped.xml +AtomFeeds/content-xhtml-mixed.xml +AtomFeeds/content-xhtml-no-xhtml-div.xml +AtomFeeds/content-xhtml-notmarkup.xml +AtomFeeds/content-xhtml-text-children.xml +AtomFeeds/duplicate-entries.xml +AtomFeeds/email-rss20-style.xml +AtomFeeds/email-with-name.xml +AtomFeeds/email-with-plus.xml +AtomFeeds/empty-content.xml +AtomFeeds/empty-title.xml +AtomFeeds/empty_author.xml +AtomFeeds/escaped_text.xml +AtomFeeds/example_html_title.xml +AtomFeeds/example_text_title.xml +AtomFeeds/example_xhtml_summary1.xml +AtomFeeds/example_xhtml_summary2.xml +AtomFeeds/example_xhtml_summary3.xml +AtomFeeds/extension-unknown-noerror.xml +AtomFeeds/extensive-noerror.xml +AtomFeeds/extensive-nowarn.xml +AtomFeeds/generator-escaped-html.xml +AtomFeeds/generator-no-text.xml +AtomFeeds/generator_relative_ref.xml +AtomFeeds/icon_invalid_uri.xml +AtomFeeds/icon_relative_ref.xml +AtomFeeds/id-dot-segments.xml +AtomFeeds/id-empty-fragment-id.xml +AtomFeeds/id-empty-path.xml +AtomFeeds/id-empty-query.xml +AtomFeeds/id-explicit-authority.xml +AtomFeeds/id-explicit-default-port.xml +AtomFeeds/id-host-uppercase.xml +AtomFeeds/id-noniana.xml +AtomFeeds/id-not-uri.xml +AtomFeeds/id-percent-encoded-lower.xml +AtomFeeds/id-percent-encoded.xml +AtomFeeds/id-relative-uri.xml +AtomFeeds/id-uppercase-scheme.xml +AtomFeeds/id-valid-tag-uris.xml +AtomFeeds/infoset-attr-order.xml +AtomFeeds/infoset-char-ref.xml +AtomFeeds/infoset-element-whitespace.xml +AtomFeeds/infoset-empty1.xml +AtomFeeds/infoset-empty2.xml +AtomFeeds/infoset-quote-single.xml +AtomFeeds/invalid-email.xml +AtomFeeds/invalid-uri.xml +AtomFeeds/invalid-xml-base.xml +AtomFeeds/invalid-xml-lang.xml +AtomFeeds/invalid_html.xml +AtomFeeds/license-noerror.xml +AtomFeeds/link-extensions.xml +AtomFeeds/link-full-uri.xml +AtomFeeds/link-href-relative.xml +AtomFeeds/link-hreflang-invalid-language.xml +AtomFeeds/link-rel-full.xml +AtomFeeds/link-rel-iana.xml +AtomFeeds/link-rel-isegment-nz-nc.xml +AtomFeeds/link-rel-relative.xml +AtomFeeds/link-same-rel-different-types.xml +AtomFeeds/link-same-rel-type-different-hreflang.xml +AtomFeeds/link-same-rel-type-hreflang.xml +AtomFeeds/link-same-rel-type-no-hreflang.xml +AtomFeeds/link-title-with-badchars.xml +AtomFeeds/link-title-with-html.xml +AtomFeeds/link-type-invalid-mime.xml +AtomFeeds/link-type-parameters.xml +AtomFeeds/logo_relative_ref.xml +AtomFeeds/missing-id-source.xml +AtomFeeds/missing-self.xml +AtomFeeds/missing-title-source.xml +AtomFeeds/missing-updated-source.xml +AtomFeeds/missing_xhtml_div.xml +AtomFeeds/missing_xhtml_ns.xml +AtomFeeds/multi-enclosure-test.xml +AtomFeeds/multiple-alternates-differing-source.xml +AtomFeeds/multiple-alternates-differing.xml +AtomFeeds/multiple-alternates-matching-source.xml +AtomFeeds/multiple-alternates-matching.xml +AtomFeeds/multiple-authors-source.xml +AtomFeeds/multiple-authors.xml +AtomFeeds/multiple-categories-entry.xml +AtomFeeds/multiple-categories-source.xml +AtomFeeds/multiple-categories.xml +AtomFeeds/multiple-contributors-entry.xml +AtomFeeds/multiple-contributors-source.xml +AtomFeeds/multiple-contributors.xml +AtomFeeds/multiple-icons-source.xml +AtomFeeds/multiple-icons.xml +AtomFeeds/multiple-related-matching.xml +AtomFeeds/no-content-or-alternate.xml +AtomFeeds/no-content-or-summary.xml +AtomFeeds/no-name.xml +AtomFeeds/prefixed-namespace.xml +AtomFeeds/rdf-extensions.xml +AtomFeeds/rel-colon.xml +AtomFeeds/related-same-rel-type-hreflang.xml +AtomFeeds/relative-ref.xml +AtomFeeds/rights-text-with-escaped-html.xml +AtomFeeds/rights-xhtml-no-xmldiv.xml +AtomFeeds/self-vs-alternate.xml +AtomFeeds/subtitle-blank.xml +AtomFeeds/summary-content-base64.xml +AtomFeeds/summary-content-src.xml +AtomFeeds/text_with_escaped_html.xml +AtomFeeds/title-blank.xml +AtomFeeds/trackback-about-entry.xml +AtomFeeds/trackback-ping-entry.xml +AtomFeeds/trackback-ping-outside-entry.xml +AtomFeeds/type-html.xml +AtomFeeds/type-multipart-alternative.xml +AtomFeeds/type-text-html.xml +AtomFeeds/type-text.xml +AtomFeeds/type-xhtml.xml +AtomFeeds/type-xml.xml +AtomFeeds/undeterminable-vocabulary.xml +AtomFeeds/undeterminable-vocabulary2.xml +AtomFeeds/undeterminable-vocabulary3.xml +AtomFeeds/unregistered-rel.xml +AtomFeeds/updated-example3.xml +AtomFeeds/valid-xml-base-iri.xml +AtomFeeds/ws-author-uri.xml +AtomFeeds/ws-category-scheme.xml +AtomFeeds/ws-content-src.xml +AtomFeeds/ws-entry-id.xml +AtomFeeds/ws-entry-published.xml +AtomFeeds/ws-entry-updated.xml +AtomFeeds/ws-feed-icon.xml +AtomFeeds/ws-feed-id.xml +AtomFeeds/ws-feed-logo.xml +AtomFeeds/ws-feed-updated.xml +AtomFeeds/ws-generator-uri.xml +AtomFeeds/ws-link-href.xml +AtomFeeds/ws-link-rel.xml +AtomFeeds/xhtml-extensions.xml +AtomFeeds/xml-base-ambiguous.xml +AtomFeeds/xml-base-elem-ne-doc.xml +AtomFeeds/xml-base.xml +AtomFeeds/xml-lang-blank.xml +AtomFeeds/xml-lang.xml +AtomFeeds/zero-entries.xml diff --git a/src/libraries/System.ServiceModel.Syndication/tests/TestFeeds/rss_feeds.dat b/src/libraries/System.ServiceModel.Syndication/tests/TestFeeds/rss_feeds.dat index cd3d483ca43..babd4017e77 100644 --- a/src/libraries/System.ServiceModel.Syndication/tests/TestFeeds/rss_feeds.dat +++ b/src/libraries/System.ServiceModel.Syndication/tests/TestFeeds/rss_feeds.dat @@ -1,63 +1,63 @@ -blank_title.xml -cloud_domain.xml -cloud_path.xml -cloud_port.xml -cloud_port_integer.xml -cloud_protocol.xml -cloud_registerprocedure.xml -contains_language.xml -docs.xml -empty_author_rss.xml -empty_category.xml -funky_content_encoded.xml -language.xml -language_country_code.xml -language_iso6392.xml -link.xml -no_guid.xml -pubdate.xml -pubdate_a.xml -pubdate_april.xml -pubdate_august.xml -pubdate_cst.xml -pubdate_edt.xml -pubdate_est.xml -pubdate_february.xml -pubdate_friday.xml -pubdate_january.xml -pubdate_july.xml -pubdate_june.xml -pubdate_march.xml -pubdate_may.xml -pubdate_mdt.xml -pubdate_mst.xml -pubdate_november.xml -pubdate_no_seconds.xml -pubdate_no_weekday.xml -pubdate_october.xml -pubdate_one_digit_day.xml -pubdate_pdt.xml -pubdate_pre_y2k.xml -pubdate_pst.xml -pubdate_september.xml -pubdate_thursday.xml -pubdate_tuesday.xml -pubdate_ut.xml -pubdate_wednesday.xml -pubdate_with_differential.xml -pubdate_with_differential2.xml -pubdate_with_diff_min.xml -pubdate_z.xml -skipDays.xml -skipDays_7_days.xml -skipHours.xml -textInput_description.xml -textInput_name.xml -textInput_title.xml -textInput_valid_link.xml -ttl.xml -valid_lastBuildDate.xml -valid_managingEditor.xml -valid_title.xml -valid_webMaster.xml -webMaster_name_and_email.xml +RssFeeds/blank_title.xml +RssFeeds/cloud_domain.xml +RssFeeds/cloud_path.xml +RssFeeds/cloud_port.xml +RssFeeds/cloud_port_integer.xml +RssFeeds/cloud_protocol.xml +RssFeeds/cloud_registerprocedure.xml +RssFeeds/contains_language.xml +RssFeeds/docs.xml +RssFeeds/empty_author_rss.xml +RssFeeds/empty_category.xml +RssFeeds/funky_content_encoded.xml +RssFeeds/language.xml +RssFeeds/language_country_code.xml +RssFeeds/language_iso6392.xml +RssFeeds/link.xml +RssFeeds/no_guid.xml +RssFeeds/pubdate.xml +RssFeeds/pubdate_a.xml +RssFeeds/pubdate_april.xml +RssFeeds/pubdate_august.xml +RssFeeds/pubdate_cst.xml +RssFeeds/pubdate_edt.xml +RssFeeds/pubdate_est.xml +RssFeeds/pubdate_february.xml +RssFeeds/pubdate_friday.xml +RssFeeds/pubdate_january.xml +RssFeeds/pubdate_july.xml +RssFeeds/pubdate_june.xml +RssFeeds/pubdate_march.xml +RssFeeds/pubdate_may.xml +RssFeeds/pubdate_mdt.xml +RssFeeds/pubdate_mst.xml +RssFeeds/pubdate_november.xml +RssFeeds/pubdate_no_seconds.xml +RssFeeds/pubdate_no_weekday.xml +RssFeeds/pubdate_october.xml +RssFeeds/pubdate_one_digit_day.xml +RssFeeds/pubdate_pdt.xml +RssFeeds/pubdate_pre_y2k.xml +RssFeeds/pubdate_pst.xml +RssFeeds/pubdate_september.xml +RssFeeds/pubdate_thursday.xml +RssFeeds/pubdate_tuesday.xml +RssFeeds/pubdate_ut.xml +RssFeeds/pubdate_wednesday.xml +RssFeeds/pubdate_with_differential.xml +RssFeeds/pubdate_with_differential2.xml +RssFeeds/pubdate_with_diff_min.xml +RssFeeds/pubdate_z.xml +RssFeeds/skipDays.xml +RssFeeds/skipDays_7_days.xml +RssFeeds/skipHours.xml +RssFeeds/textInput_description.xml +RssFeeds/textInput_name.xml +RssFeeds/textInput_title.xml +RssFeeds/textInput_valid_link.xml +RssFeeds/ttl.xml +RssFeeds/valid_lastBuildDate.xml +RssFeeds/valid_managingEditor.xml +RssFeeds/valid_title.xml +RssFeeds/valid_webMaster.xml +RssFeeds/webMaster_name_and_email.xml diff --git a/src/libraries/System.ServiceModel.Syndication/tests/netcoreapp/BasicScenarioTests.netcoreapp.cs b/src/libraries/System.ServiceModel.Syndication/tests/netcoreapp/BasicScenarioTests.netcoreapp.cs index dbd5fd7ee0d..8da9b2a63c4 100644 --- a/src/libraries/System.ServiceModel.Syndication/tests/netcoreapp/BasicScenarioTests.netcoreapp.cs +++ b/src/libraries/System.ServiceModel.Syndication/tests/netcoreapp/BasicScenarioTests.netcoreapp.cs @@ -18,7 +18,7 @@ namespace System.ServiceModel.Syndication.Tests // *** EXECUTE *** \\ SyndicationFeed feed; DateTimeOffset dto = new DateTimeOffset(2017, 1, 2, 3, 4, 5, new TimeSpan(0)); - using (XmlReader reader = XmlReader.Create(@"RssSpecCustomParser.xml")) + using (XmlReader reader = XmlReader.Create("TestFeeds/RssSpecCustomParser.xml")) { var formatter = new Rss20FeedFormatter(); formatter.DateTimeParser = (XmlDateTimeData xmlDateTimeData, out DateTimeOffset dateTimeOffset) => @@ -41,7 +41,7 @@ namespace System.ServiceModel.Syndication.Tests // *** SETUP *** \\ // *** EXECUTE *** \\ SyndicationFeed feed; - using (XmlReader reader = XmlReader.Create(@"RssSpecCustomParser.xml")) + using (XmlReader reader = XmlReader.Create("TestFeeds/RssSpecCustomParser.xml")) { var formatter = new Rss20FeedFormatter { @@ -76,7 +76,7 @@ namespace System.ServiceModel.Syndication.Tests // *** EXECUTE *** \\ SyndicationFeed feed; DateTimeOffset dto = new DateTimeOffset(2017, 1, 2, 3, 4, 5, new TimeSpan(0)); - using (XmlReader reader = XmlReader.Create(@"SimpleAtomFeedCustomParser.xml")) + using (XmlReader reader = XmlReader.Create("TestFeeds/SimpleAtomFeedCustomParser.xml")) { var formatter = new Atom10FeedFormatter { @@ -105,7 +105,7 @@ namespace System.ServiceModel.Syndication.Tests // *** SETUP *** \\ // *** EXECUTE *** \\ SyndicationFeed feed; - using (XmlReader reader = XmlReader.Create(@"SimpleAtomFeedCustomParser.xml")) + using (XmlReader reader = XmlReader.Create("TestFeeds/SimpleAtomFeedCustomParser.xml")) { var formatter = new Atom10FeedFormatter { @@ -134,7 +134,7 @@ namespace System.ServiceModel.Syndication.Tests [Fact] public static void SyndicationFeed_RSS_Optional_Elements() { - using (XmlReader reader = XmlReader.Create(@"rssSpecExample.xml")) + using (XmlReader reader = XmlReader.Create("TestFeeds/rssSpecExample.xml")) { SyndicationFeed feed = SyndicationFeed.Load(reader); @@ -163,7 +163,7 @@ namespace System.ServiceModel.Syndication.Tests { List allowableDifferences = GetRssFeedPositiveTestAllowableDifferences(); ReadWriteSyndicationFeed( - file: "rssOptionalElements.xml", + file: "TestFeeds/rssOptionalElements.xml", feedFormatter: (feedObject) => new Rss20FeedFormatter(feedObject), allowableDifferences: allowableDifferences ); @@ -174,7 +174,7 @@ namespace System.ServiceModel.Syndication.Tests { List allowableDifferences = GetRssFeedPositiveTestAllowableDifferences(); ReadWriteSyndicationFeed( - file: "rssOptionalElements.xml", + file: "TestFeeds/rssOptionalElements.xml", feedFormatter: (feedObject) => new Rss20FeedFormatter(feedObject), allowableDifferences: allowableDifferences, verifySyndicationFeedRead: (feed) =>