roslyn-sdk
roslyn-sdk copied to clipboard
VisualBasicCodeFixVerifier passes tests even when analyzer isn't configured for VB
An analyzer that is only attributed with:
[DiagnosticAnalyzer(LanguageNames.CSharp)]
May still work properly for VB and pass VB analyzer verifications, yet it won't work at all for VB in the product because the attribute is wrong.
The test should fail if the language being tested isn't among the list of languages in the attribute.
Same for code fix providers.