SerilogAnalyzer icon indicating copy to clipboard operation
SerilogAnalyzer copied to clipboard

Errors are not showing on VB .NET projects

Open Lindsey1986 opened this issue 6 years ago • 2 comments
trafficstars

It looks like the analyzer is not detecting the errors in VB .NET projects, only in C# projects...

Example code in VB (no errors detected): image


Same code C#: image

Lindsey1986 avatar Jul 23 '19 14:07 Lindsey1986

Yes, that is expected. Most of SerilogAnalyzer is a syntax analyzer so adding support for VB.NET would require duplicating and rewriting everything or dropping support for old versions of VS / roslyn and investigate the possibility of an IOperation based analyzer.

Suchiman avatar Jul 23 '19 14:07 Suchiman

Oh, I see. OK, thank you @Suchiman. Feel free to close this issue if VB .NET support is not something you plan to have

Lindsey1986 avatar Jul 23 '19 15:07 Lindsey1986