diff options
author | Tlakaelel Axayakatl Ceja <tlakaelel.ceja@microsoft.com> | 2021-01-04 22:24:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-04 22:24:50 +0300 |
commit | 2df20b053bfd651e10f2e38d38b6f9970d3bb3d5 (patch) | |
tree | 5923b2341c534a474eb84612e7f6f4a9ba9a30ea /test/ILLink.RoslynAnalyzer.Tests | |
parent | b007c01f174082f0e59cd0b72c4679cc08107775 (diff) |
Support for RequiresAndCallsOtherRequiresMethods (#1706)
-Check parent to see if it has any UnreferencedCodeAttribute
-Since allowMultiple is disabled by default, only check the attributes until first UnreferencedCodeAttribute is found
Diffstat (limited to 'test/ILLink.RoslynAnalyzer.Tests')
-rw-r--r-- | test/ILLink.RoslynAnalyzer.Tests/LinkerTestCases.cs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/ILLink.RoslynAnalyzer.Tests/LinkerTestCases.cs b/test/ILLink.RoslynAnalyzer.Tests/LinkerTestCases.cs index f205fb25e..33068ff8c 100644 --- a/test/ILLink.RoslynAnalyzer.Tests/LinkerTestCases.cs +++ b/test/ILLink.RoslynAnalyzer.Tests/LinkerTestCases.cs @@ -18,7 +18,6 @@ namespace ILLink.RoslynAnalyzer.Tests public void RequiresCapability (MethodDeclarationSyntax m, List<AttributeSyntax> attrs) { switch (m.Identifier.ValueText) { - case "RequiresAndCallsOtherRequiresMethods": case "MethodWithDuplicateRequiresAttribute": return; } |