diff options
Diffstat (limited to 'test/ILLink.RoslynAnalyzer.Tests/LinkerTestCases.cs')
-rw-r--r-- | test/ILLink.RoslynAnalyzer.Tests/LinkerTestCases.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/ILLink.RoslynAnalyzer.Tests/LinkerTestCases.cs b/test/ILLink.RoslynAnalyzer.Tests/LinkerTestCases.cs index a52400284..37fca09bd 100644 --- a/test/ILLink.RoslynAnalyzer.Tests/LinkerTestCases.cs +++ b/test/ILLink.RoslynAnalyzer.Tests/LinkerTestCases.cs @@ -27,5 +27,12 @@ namespace ILLink.RoslynAnalyzer.Tests RunTest<RequiresUnreferencedCodeAnalyzer> (m, attrs, UseMSBuildProperties (MSBuildPropertyOptionNames.EnableTrimAnalyzer)); } + + [Theory] + [MemberData (nameof (TestCaseUtils.GetTestData), parameters: nameof (Interop))] + public void Interop (string testName, MethodDeclarationSyntax m, List<AttributeSyntax> attrs) + { + RunTest<COMAnalyzer> (m, attrs, UseMSBuildProperties (MSBuildPropertyOptionNames.EnableTrimAnalyzer)); + } } } |