ReSharper 2018.1 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: 20 August 2018

See Also