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 23bdbf5..aac0b84 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 a807259..ebf4230 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 19f5310..150dd7e 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 e7ba58f..af8f826 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 0e73849..30e338b 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 3dd5b8f..0d53181 100644 (file)
@@ -2,7 +2,6 @@
   <PropertyGroup>
     <OutputType>Exe</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <ReferenceSystemPrivateCoreLib>true</ReferenceSystemPrivateCoreLib>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="CallbackTests.cs" />
index 245bfc6..99b7b1b 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 81af7f6..3635d48 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 973ed9e..9ecaeb6 100644 (file)
@@ -2,7 +2,6 @@
   <PropertyGroup>
     <OutputType>Library</OutputType>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <ReferenceSystemPrivateCoreLib>true</ReferenceSystemPrivateCoreLib>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="*.cs" />