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

Wrote my first Roslyn Diagnostic and Code Fix today.

Icon 4 Comments
Wrote my first Roslyn Diagnostic and Code Fix today.

The idea of it is diagnose to one of the code "smells" from vb6 style of coding in a vb.net program.

If ... Then ... End If

If cond Then statementEnd If

which can be simplified to a single line if statement.
If cond Then statement




...
- - - - -

Playing with VBnext (Roslyn) features.

Icon Leave Comment
Playing with VBnext (Roslyn) features.

Select Case Type Of

This make the already powerful Select Case statement, even more powerful.

Now you can us like in more of match exp with expression of Nemerle and F#.

...

Page 1 of 1