| Reporter |
Alexander (sash_subscr)
|
|---|---|
| Created | Jan 15, 2012 4:41:28 PM |
| Updated | Mar 21, 2012 8:10:11 PM |
| Priority | Normal |
| Type | Feature |
| Fix versions | No Fix versions |
| State | Submitted |
| Assignee | Evgeny Pasynkov (pasynkov) |
| Subsystem | Code Analysis |
| Affected versions | 6.1 |
| Fixed in build | No Fixed in build |
// string.IsNullOrEmpty(str) can be removed.
string str = Request.QueryString["name"];
if (string.IsNullOrEmpty(str) || str != "not empty const string")
{ ... }
// (str == null) can be removed.
string str = Request.QueryString["name"];
if (str == null || str != "const string")
{ ... }
string str = Request.QueryString["name"];
if (string.IsNullOrEmpty(str) || str != "not empty const string")
{ ... }
// (str == null) can be removed.
string str = Request.QueryString["name"];
if (str == null || str != "const string")
{ ... }
Alexander (sash_subscr)