Delete unnecessary ReferenceSystemPrivateCoreLib from CoreCLR tests (#33629)
authorJan Kotas <jkotas@microsoft.com>
Mon, 16 Mar 2020 18:36:36 +0000 (11:36 -0700)
committerGitHub <noreply@github.com>
Mon, 16 Mar 2020 18:36:36 +0000 (11:36 -0700)
src/coreclr/tests/src/Interop/ExecInDefAppDom/ExecInDefAppDom.cs
src/coreclr/tests/src/Interop/ExecInDefAppDom/ExecInDefAppDom.csproj
src/coreclr/tests/src/Interop/NativeLibraryResolveCallback/CallbackStressTest.cs
src/coreclr/tests/src/Interop/NativeLibraryResolveCallback/CallbackStressTest.csproj
src/coreclr/tests/src/Interop/NativeLibraryResolveCallback/CallbackTests.cs
src/coreclr/tests/src/Interop/NativeLibraryResolveCallback/CallbackTests.csproj
src/coreclr/tests/src/Interop/NativeLibraryResolveEvent/ResolveEventTests.cs
src/coreclr/tests/src/Interop/NativeLibraryResolveEvent/ResolveEventTests.csproj
src/coreclr/tests/src/Interop/NativeLibraryResolveEvent/TestAsm/TestAsm.csproj

index 23bdbf5fbeba6cce8ff50b42b752e2a25351b450..aac0b84aa44472be9b319fd32841126c47e2aa2c 100644 (file)
@@ -4,8 +4,6 @@
 using System;
 using System.Runtime.InteropServices;
 
-using Console = Internal.Console;
-
 public class FakeInjectedCode
 {
     int NonStatic(String argument) { return 0;}
index a8072592722b515e0efc147b4eadc317508a7b58..ebf42300ffdc158cf4969afe7f24bbc912039420 100644 (file)
@@ -1,7 +1,6 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
     <OutputType>Exe</OutputType>
-    <ReferenceSystemPrivateCoreLib>true</ReferenceSystemPrivateCoreLib>
   </PropertyGroup>
   <Import Project="$([MSBuild]::GetPathOfFileAbove(Interop.settings.targets))" />
   <ItemGroup>
index 19f5310fa15875f5463a55c6316fac43c0807895..150dd7eccf831b33dfba987f4a82980b825e867d 100644 (file)
@@ -9,8 +9,6 @@ using System.Runtime.InteropServices;
 using System.Runtime.CompilerServices;
 using System.Threading;
 
-using Console = Internal.Console;
-
 [assembly: DefaultDllImportSearchPaths(DllImportSearchPath.SafeDirectories)]
 public class CallbackStressTest
 {
index e7ba58f1d6589c003ba86ac06244429dfbb8df73..af8f826e4440b5e3dc59c9981380b73cb0f0e77a 100644 (file)
@@ -2,7 +2,6 @@
   <PropertyGroup>
     <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <ReferenceSystemPrivateCoreLib>true</ReferenceSystemPrivateCoreLib>
     <DefineConstants Condition="$(TargetOS) == 'Windows_NT'">WINDOWS</DefineConstants>
   </PropertyGroup>
   <ItemGroup>
index 0e7384950f5f2ac1aac9c183cd5952472e9543b6..30e338b28f726352e1b62184b9701e38b928bea7 100644 (file)
@@ -6,8 +6,6 @@ using System.IO;
 using System.Reflection;
 using System.Runtime.InteropServices;
 
-using Console = Internal.Console;
-
 [assembly: DefaultDllImportSearchPaths(DllImportSearchPath.SafeDirectories)]
 public class CallbackTests
 {
index 3dd5b8fb0403ddb2897fde980e762c4a2438e837..0d53181302a5623721b219a453ea22e32117c623 100644 (file)
@@ -2,7 +2,6 @@
   <PropertyGroup>
     <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <ReferenceSystemPrivateCoreLib>true</ReferenceSystemPrivateCoreLib>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="CallbackTests.cs" />
index 245bfc652929be0cae86c3e330e4bf4b6471d867..99b7b1bd21bcae2fbcf69e7ed2f724450b0d4304 100644 (file)
@@ -7,8 +7,6 @@ using System.Runtime.Loader;
 using System.Reflection;
 using System.Runtime.InteropServices;
 
-using Console = Internal.Console;
-
 public class ALC : AssemblyLoadContext
 {
     protected override Assembly Load(AssemblyName assemblyName)
index 81af7f69b369a5f7ee146aa723ac08fb01883cef..3635d48bfcbaf13c6fd5e458ec0371612817dc33 100644 (file)
@@ -2,7 +2,6 @@
   <PropertyGroup>
     <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <ReferenceSystemPrivateCoreLib>true</ReferenceSystemPrivateCoreLib>
     <!-- The test leaves AssemblyLoadContext.Default.ResolvingUnmanagedDll event registered to a method in the test at exit -->
     <UnloadabilityIncompatible>true</UnloadabilityIncompatible>
   </PropertyGroup>
index 973ed9eb010a5f71184b76526deab8575239c4d8..9ecaeb692d211dcbea3f22c0fb4b7404885cc57f 100644 (file)
@@ -2,7 +2,6 @@
   <PropertyGroup>
     <OutputType>Library</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <ReferenceSystemPrivateCoreLib>true</ReferenceSystemPrivateCoreLib>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="*.cs" />