diff options
author | Tlakaelel Axayakatl Ceja <tlakaelel.ceja@microsoft.com> | 2022-05-11 00:29:09 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-11 00:29:09 +0300 |
commit | 6aaa900a0b1268fe4a6ce3e8af4678e84ea154fd (patch) | |
tree | 476de43a4d1559530ff9e446d87532067cc7858a /test | |
parent | b9c9da264c5bc24a8e32fc5d2bda239dffc01fdb (diff) |
Match analyzer and linker requires methods (#2788)
Match analyzer and linker methods that handle Requires to be more similar according to their behavior
Delete non existent ILLink.xsd from projitems
Fixup IL3052 and add SharedStrings from NativeAOT
Diffstat (limited to 'test')
-rw-r--r-- | test/Mono.Linker.Tests.Cases/RequiresCapability/RequiresOnStaticConstructor.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Mono.Linker.Tests.Cases/RequiresCapability/RequiresOnStaticConstructor.cs b/test/Mono.Linker.Tests.Cases/RequiresCapability/RequiresOnStaticConstructor.cs index 66ba4ef9d..db3af83d2 100644 --- a/test/Mono.Linker.Tests.Cases/RequiresCapability/RequiresOnStaticConstructor.cs +++ b/test/Mono.Linker.Tests.Cases/RequiresCapability/RequiresOnStaticConstructor.cs @@ -79,7 +79,7 @@ namespace Mono.Linker.Tests.Cases.RequiresCapability { [ExpectedWarning ("IL2116", "StaticCtorTriggeredByMethodCall..cctor()")] [ExpectedWarning ("IL3004", "StaticCtorTriggeredByMethodCall..cctor()", ProducedBy = ProducedBy.Analyzer)] - [ExpectedWarning ("IL3052", "StaticCtorTriggeredByMethodCall..cctor()", ProducedBy = ProducedBy.Analyzer)] + [ExpectedWarning ("IL3056", "StaticCtorTriggeredByMethodCall..cctor()", ProducedBy = ProducedBy.Analyzer)] [RequiresUnreferencedCode ("Message for --StaticCtorTriggeredByMethodCall.Cctor--")] [RequiresAssemblyFiles ("Message for --StaticCtorTriggeredByMethodCall.Cctor--")] [RequiresDynamicCode ("Message for --StaticCtorTriggeredByMethodCall.Cctor--")] |