rspec/rules/S1301/vbnet/rule.adoc

31 lines
448 B
Plaintext
Raw Normal View History

include::../description.adoc[]
== Noncompliant Code Example
----
Select Case variable
Case 0
doSomething()
Case Else
doSomethingElse()
End Select
----
== Compliant Solution
----
If variable = 0 Then
doSomething()
Else
doSomethingElse()
End If
----
ifdef::env-github,rspecator-view[]
'''
== Comments And Links
(visible only on this page)
include::../comments-and-links.adoc[]
endif::env-github,rspecator-view[]