From 1d96189abb1b2cfe00dff817c63b84b25534746a Mon Sep 17 00:00:00 2001 From: Mateo Torres-Ruiz Date: Thu, 1 Apr 2021 04:56:37 -0700 Subject: Change behavior of copy action to not rewrite assemblies (#1869) Co-authored-by: Marek Safar --- test/Mono.Linker.Tests.Cases/LinkXml/CanPreserveAnExportedType.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/Mono.Linker.Tests.Cases/LinkXml/CanPreserveAnExportedType.cs') diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/CanPreserveAnExportedType.cs b/test/Mono.Linker.Tests.Cases/LinkXml/CanPreserveAnExportedType.cs index 90017d03f..b083b446f 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/CanPreserveAnExportedType.cs +++ b/test/Mono.Linker.Tests.Cases/LinkXml/CanPreserveAnExportedType.cs @@ -10,9 +10,9 @@ namespace Mono.Linker.Tests.Cases.LinkXml // Add another assembly in that uses the forwarder just to make things a little more complex [SetupCompileBefore ("Forwarder.dll", new[] { "Dependencies/CanPreserveAnExportedType_Forwarder.cs" }, references: new[] { "Library.dll" })] - [RemovedAssembly ("Forwarder.dll")] [KeptMemberInAssembly ("Library.dll", typeof (CanPreserveAnExportedType_Library), "Field1", "Method()", ".ctor()")] [SetupLinkerDescriptorFile ("CanPreserveAnExportedType.xml")] + [KeptTypeInAssembly ("Forwarder.dll", typeof (CanPreserveAnExportedType_Library))] class CanPreserveAnExportedType { public static void Main () -- cgit v1.2.3