DotNetAnalyzers / NullParameterCheckRefactoring

Null Parameter Check Refactoring for Reference Type Parameters
MIT License
14 stars 4 forks source link

Support for Visual Basic #6

Closed tugberkugurlu closed 10 years ago

AdamSpeight2008 commented 10 years ago

Note to implementers there are at least two possible forms to check for

If param Is Nothing Then Throw New NullArgumentException( )

2.

If param Is Nothing Then
 Throw New NullArgumentException( )
End If

I think the first form should be used as the Code-Fix / Refactoring.

AdamSpeight2008 commented 10 years ago

Done. I'll fork this and add in the VB version for (VS2015).

tugberkugurlu commented 10 years ago

awesome!