ReSharper 2018.3 Help

Code Inspection: Double negation operator

Double negation, such as writing !!something is meaningless and can be safely removed. The only exception would be types such as DBbool where the negation operator is overloaded.

Last modified: 25 April 2019

See Also