diff options
author | Sven Boemer <sbomer@gmail.com> | 2021-07-12 20:44:09 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-12 20:44:09 +0300 |
commit | 664e78edc72dd0a48e6f55e352051b6ba61bba9a (patch) | |
tree | 9620f92c72371c77ed7ad01813d9cef901e8e36d /test/Mono.Linker.Tests.Cases/TypeForwarding/AttributeArgumentForwardedWithCopyAction.cs | |
parent | 73fbf96cb452f291cceba684034b8548d54d82eb (diff) |
Fix writing of updated copyused scopes (#2140)
* Fix writing of updated copyused scopes
Fixes https://github.com/mono/linker/issues/2138
* Fix using order
Diffstat (limited to 'test/Mono.Linker.Tests.Cases/TypeForwarding/AttributeArgumentForwardedWithCopyAction.cs')
-rw-r--r-- | test/Mono.Linker.Tests.Cases/TypeForwarding/AttributeArgumentForwardedWithCopyAction.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Mono.Linker.Tests.Cases/TypeForwarding/AttributeArgumentForwardedWithCopyAction.cs b/test/Mono.Linker.Tests.Cases/TypeForwarding/AttributeArgumentForwardedWithCopyAction.cs index 0c5d01131..71e154036 100644 --- a/test/Mono.Linker.Tests.Cases/TypeForwarding/AttributeArgumentForwardedWithCopyAction.cs +++ b/test/Mono.Linker.Tests.Cases/TypeForwarding/AttributeArgumentForwardedWithCopyAction.cs @@ -23,8 +23,8 @@ namespace Mono.Linker.Tests.Cases.TypeForwarding [SetupCompileAfter ("Implementation.dll", new[] { "Dependencies/ImplementationLibrary.cs" })] [SetupCompileAfter ("Forwarder.dll", new[] { "Dependencies/ForwarderLibrary.cs" }, references: new[] { "Implementation.dll" })] - [KeptMemberInAssembly ("Forwarder.dll", typeof (ImplementationLibrary))] - [KeptMemberInAssembly ("Implementation.dll", typeof (ImplementationLibrary))] + [KeptTypeInAssembly ("Forwarder.dll", typeof (ImplementationLibrary))] + [KeptTypeInAssembly ("Implementation.dll", typeof (ImplementationLibrary))] static class AttributeArgumentForwardedWithCopyAction { static void Main () |