rspec/rules/S2259/vbnet/exception-code-unreachable.adoc
2023-07-03 17:26:15 +02:00

9 lines
165 B
Plaintext

[source,vbnet]
----
Public Sub Method()
Dim o As Object = Nothing
If False Then
o.ToString() ' Compliant: code is unreachable
End If
End Sub
----