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:
authorTlakaelel Axayakatl Ceja <tlakaelel.ceja@microsoft.com>2021-03-20 05:08:01 +0300
committerGitHub <noreply@github.com>2021-03-20 05:08:01 +0300
commit8bbc089bbf6db9343f94861e647137e71dfb719f (patch)
treea94adda9f76e6e676e38f6f01695b34ef117e26a /test/Mono.Linker.Tests.Cases/DataFlow
parentf602b28f011d775e32cba4f6ed05606b17cc20bd (diff)
Add Recognized pattern to actually verify there is no errors (#1908)
Add Recognized Reflection Access Pattern to PropertyIndexers test otherwise, the linker will not test for errors
Diffstat (limited to 'test/Mono.Linker.Tests.Cases/DataFlow')
-rw-r--r--test/Mono.Linker.Tests.Cases/DataFlow/PropertyDataFlow.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Mono.Linker.Tests.Cases/DataFlow/PropertyDataFlow.cs b/test/Mono.Linker.Tests.Cases/DataFlow/PropertyDataFlow.cs
index 25ee91195..64cd80822 100644
--- a/test/Mono.Linker.Tests.Cases/DataFlow/PropertyDataFlow.cs
+++ b/test/Mono.Linker.Tests.Cases/DataFlow/PropertyDataFlow.cs
@@ -269,6 +269,7 @@ namespace Mono.Linker.Tests.Cases.DataFlow
set { PropertyWithExistingAttributes_Field = value; }
}
+ [RecognizedReflectionAccessPattern]
public void TestPropertyWithIndexerWithMatchingAnnotations ([DynamicallyAccessedMembers (DynamicallyAccessedMemberTypes.PublicConstructors)] Type myType)
{
var propclass = new PropertyWithIndexer ();