diff options
author | Mateo Torres-Ruiz <mateoatr@users.noreply.github.com> | 2021-04-01 14:56:37 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-01 14:56:37 +0300 |
commit | 1d96189abb1b2cfe00dff817c63b84b25534746a (patch) | |
tree | 37bb5a8f110a36727054c3f6dc4acc6aa1dccaac /test/Mono.Linker.Tests.Cases/LinkXml/CanPreserveAnExportedType.cs | |
parent | f4147aa53a425420f725c9cb5dbd36552df99372 (diff) |
Change behavior of copy action to not rewrite assemblies (#1869)
Co-authored-by: Marek Safar <marek.safar@gmail.com>
Diffstat (limited to 'test/Mono.Linker.Tests.Cases/LinkXml/CanPreserveAnExportedType.cs')
-rw-r--r-- | test/Mono.Linker.Tests.Cases/LinkXml/CanPreserveAnExportedType.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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 () |