Subscribe to The Madman Scribblings        RSS Feed
- - - - -

I coaxed Roslyn to validate a String.Format at pre-compile time.

Icon 1 Comments
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.

Icon Leave Comment
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
...

Page 1 of 1