| Priority |
Normal |
| Type | Bug |
| State | Fixed |
| Assignee | Andrey Simanovsky |
| Subsystem | No subsystem |
| Affected versions |
No affected versions
|
| Fixed in |
2.0.2
|
| Fixed in build |
Next build |
| Build |
262
|
| Fixed in build |
264
|
RSRP-29034 |
'Use equality operator' shall be disabled if return value ignored |
|
|
class Program
{
static void Main()
{
Equals(null, null);
}
}
class Program
{
static void Main()
{
null == null; // error CS0201: Only assignment, call, increment, decrement, and new object expressions can be used as a statement
}
}