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:
authorMichael Voorhees <michaelv@unity3d.com>2020-03-31 17:20:23 +0300
committerMarek Safar <marek.safar@gmail.com>2020-03-31 19:20:18 +0300
commitec2cbdb894e11065f42b1223f664d9688b749323 (patch)
tree42de7cce6ea1dee8034f7dbbdbf7e240a28b280c /test/Mono.Linker.Tests
parent33b245c47551754e8664832df1c2a4bf72920f05 (diff)
Fix for PR #1027
Diffstat (limited to 'test/Mono.Linker.Tests')
-rw-r--r--test/Mono.Linker.Tests/TestCasesRunner/TestCaseMetadaProvider.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Mono.Linker.Tests/TestCasesRunner/TestCaseMetadaProvider.cs b/test/Mono.Linker.Tests/TestCasesRunner/TestCaseMetadaProvider.cs
index 5e2964897..9b8ddac22 100644
--- a/test/Mono.Linker.Tests/TestCasesRunner/TestCaseMetadaProvider.cs
+++ b/test/Mono.Linker.Tests/TestCasesRunner/TestCaseMetadaProvider.cs
@@ -99,7 +99,7 @@ namespace Mono.Linker.Tests.TestCasesRunner {
&& _testCaseTypeDefinition.NestedTypes.Any (nestedType =>
nestedType.CustomAttributes.Any (attr =>
attr.AttributeType.Name == nameof (VerifyAllReflectionAccessPatternsAreValidatedAttribute)
- || _testCaseTypeDefinition.AllMethods ().Any (method => method.CustomAttributes.Any (attr =>
+ || nestedType.AllMethods ().Any (method => method.CustomAttributes.Any (attr =>
attr.AttributeType.Name == nameof (RecognizedReflectionAccessPatternAttribute) ||
attr.AttributeType.Name == nameof (UnrecognizedReflectionAccessPatternAttribute)))))) {
customizations.ReflectionPatternRecorder = new TestReflectionPatternRecorder ();