Property | Value |
---|---|
Id | RCS1068 |
Category | Simplification |
Severity | Info |
bool f = !true; // RCS1068
bool f = false;
bool f = !!f2; // RCS1068
bool f = f2;
bool f = !items.Any(s => !string.IsNullOrEmpty(s)); // RCS1068
bool f = items.All(s => string.IsNullOrEmpty(s));
(Generated with DotMarkdown)