Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLakshan Fernando <lakshanf@microsoft.com>2022-02-10 23:53:52 +0300
committerGitHub <noreply@github.com>2022-02-10 23:53:52 +0300
commit6417e172640ab1aa91b35ff28e7c517f9327f3d5 (patch)
treed615d6a45e37c5896292ab1f6ccc15e5b1c42f08 /test/Mono.Linker.Tests.Cases
parent6f853abf26a1190a6cfd17fd86d643b86c01f1cb (diff)
No analyzer warnings for intrinsics (#2597)
* No Analyzer warnings for intrinsics * FB * FB2 * FB3
Diffstat (limited to 'test/Mono.Linker.Tests.Cases')
-rw-r--r--test/Mono.Linker.Tests.Cases/DataFlow/ApplyTypeAnnotations.cs3
-rw-r--r--test/Mono.Linker.Tests.Cases/DataFlow/ComplexTypeHandling.cs6
2 files changed, 0 insertions, 9 deletions
diff --git a/test/Mono.Linker.Tests.Cases/DataFlow/ApplyTypeAnnotations.cs b/test/Mono.Linker.Tests.Cases/DataFlow/ApplyTypeAnnotations.cs
index 5770bdfa4..c08adf35d 100644
--- a/test/Mono.Linker.Tests.Cases/DataFlow/ApplyTypeAnnotations.cs
+++ b/test/Mono.Linker.Tests.Cases/DataFlow/ApplyTypeAnnotations.cs
@@ -51,9 +51,6 @@ namespace Mono.Linker.Tests.Cases.DataFlow
}
[Kept]
- // Analyzer doesn't support intrinsics: https://github.com/dotnet/linker/issues/2374
- [ExpectedWarning ("IL2026", "System.Type.GetType(String)",
- ProducedBy = ProducedBy.Analyzer)]
// Analyzer doesn't track known types: https://github.com/dotnet/linker/issues/2273
[ExpectedWarning ("IL2072", "'type'", nameof (ApplyTypeAnnotations) + "." + nameof (RequireCombination) + "(Type)", "System.Type.GetType(String)",
ProducedBy = ProducedBy.Analyzer)]
diff --git a/test/Mono.Linker.Tests.Cases/DataFlow/ComplexTypeHandling.cs b/test/Mono.Linker.Tests.Cases/DataFlow/ComplexTypeHandling.cs
index 858d40088..51cce5f2c 100644
--- a/test/Mono.Linker.Tests.Cases/DataFlow/ComplexTypeHandling.cs
+++ b/test/Mono.Linker.Tests.Cases/DataFlow/ComplexTypeHandling.cs
@@ -140,9 +140,6 @@ namespace Mono.Linker.Tests.Cases.DataFlow
}
[Kept]
- // Analyzer doesn't support intrinsics: https://github.com/dotnet/linker/issues/2374
- [ExpectedWarning ("IL2026", "System.Type.GetType(String)",
- ProducedBy = ProducedBy.Analyzer)]
// Analyzer doesn't track known types: https://github.com/dotnet/linker/issues/2273
[ExpectedWarning ("IL2072", "'type'", nameof (ComplexTypeHandling) + "." + nameof (RequirePublicMethods) + "(Type)", "System.Type.GetType(String)",
ProducedBy = ProducedBy.Analyzer)]
@@ -160,9 +157,6 @@ namespace Mono.Linker.Tests.Cases.DataFlow
}
[Kept]
- // Analyzer doesn't support intrinsics: https://github.com/dotnet/linker/issues/2374
- [ExpectedWarning ("IL2026", "Activator.CreateInstance(String, String)",
- ProducedBy = ProducedBy.Analyzer)]
static void TestArrayCreateInstanceByName ()
{
Activator.CreateInstance ("test", "Mono.Linker.Tests.Cases.DataFlow.ComplexTypeHandling+ArrayCreateInstanceByNameElement[]");