You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
valhristov
changed the title
Fix S1940: should not suggest check inversion for Nullable<T>
Fix S1940: "Inverted boolean checks" should not suggest inversion for Nullable<T>
Jun 1, 2017
RSPEC-1940
Repro steps
Expected behavior
No trigger of S1940 rule.
Actual behavior
SL suggests to replace it with:
but
id <= 0
is false whenid==null
Related information
The text was updated successfully, but these errors were encountered: