rspec/rules/S2437/vbnet/rule.adoc

16 lines
444 B
Plaintext
Raw Normal View History

== Why is this an issue?
2021-01-21 04:09:13 +00:00
Certain bit operations are just silly and should not be performed because their results are predictable.
2021-02-02 15:02:10 +01:00
2021-01-27 13:42:22 +01:00
Specifically, using ``++AnyValue And -1++`` will always result in the original value, as will ``++AnyValue Xor 0++`` and ``++AnyValue Or 0++``.
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
endif::env-github,rspecator-view[]