rspec/rules/S2259/vbnet/exception-code-unreachable.adoc

9 lines
165 B
Plaintext
Raw Normal View History

2023-07-03 17:26:15 +02:00
[source,vbnet]
----
Public Sub Method()
Dim o As Object = Nothing
If False Then
o.ToString() ' Compliant: code is unreachable
End If
End Sub
----