As you probably know I be messing around with Roslyn, to create code diagnostics.
So here's a preview of my latest one.
Note: That is it currently reports the first error in the String.Format
Improving the Code Smell.
Fixed: Now it respects and preserves any trailing comments after the code, controlled by the If Statement.
Fixed: Correctly detects the number of lines of code inside the block.Diagnostic Analyzer