diff options
Diffstat (limited to 'test/Mono.Linker.Tests.Cases/DataFlow/DynamicDependencyDataflow.cs')
-rw-r--r-- | test/Mono.Linker.Tests.Cases/DataFlow/DynamicDependencyDataflow.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/Mono.Linker.Tests.Cases/DataFlow/DynamicDependencyDataflow.cs b/test/Mono.Linker.Tests.Cases/DataFlow/DynamicDependencyDataflow.cs index 8237bc4db..029e5848b 100644 --- a/test/Mono.Linker.Tests.Cases/DataFlow/DynamicDependencyDataflow.cs +++ b/test/Mono.Linker.Tests.Cases/DataFlow/DynamicDependencyDataflow.cs @@ -18,18 +18,16 @@ namespace Mono.Linker.Tests.Cases.DataFlow [DynamicallyAccessedMembers (DynamicallyAccessedMemberTypes.PublicMethods)] static Type TypeWithPublicMethods; - // Intrinsic is disabled https://github.com/dotnet/linker/issues/2559 [Kept] - [ExpectedWarning ("IL2080", nameof (Type.GetField), ProducedBy = ProducedBy.Trimmer)] + [ExpectedWarning ("IL2080", nameof (Type.GetField))] [DynamicDependency ("DynamicDependencyTo")] static void DynamicDependencyFrom () { _ = TypeWithPublicMethods.GetField ("f"); } - // Intrinsic is disabled https://github.com/dotnet/linker/issues/2559 [Kept] - [ExpectedWarning ("IL2080", nameof (Type.GetProperty), ProducedBy = ProducedBy.Trimmer)] + [ExpectedWarning ("IL2080", nameof (Type.GetProperty))] static void DynamicDependencyTo () { _ = TypeWithPublicMethods.GetProperty ("p"); |