rspec/rules/S2178/vbnet/rule.adoc

26 lines
440 B
Plaintext
Raw Normal View History

2020-06-30 12:48:07 +02:00
include::../description.adoc[]
== Noncompliant Code Example
----
If GetTrue() Or GetFalse() Then ' Noncompliant; both sides evaluated
End If
----
== Compliant Solution
----
If GetTrue() OrElse GetFalse() Then ' true short-circuit logic
End If
----
include::../see.adoc[]
ifdef::env-github,rspecator-view[]
'''
== Comments And Links
(visible only on this page)
include::../comments-and-links.adoc[]
endif::env-github,rspecator-view[]