Reporter | Angelina Elycheva (Angelina.Elycheva) |
---|---|
Created | Mar 10, 2015 2:04:57 PM |
Updated | Oct 11, 2018 5:10:22 PM |
Subsystem | Context Actions |
Assignee | Alisa Afonina (alisa.afonina) |
Priority | Normal |
State | Submitted |
Type | Feature |
Fix version | Backlog |
Affected versions | 2018.3 |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
Before
After:
if (d2 == 0) return 1;
if (d1 == 1) return 3;
if (d2 == 1) return 1;
if (d2 == 2) return 3;
After:
if (d2 == 0 || d2 == 1) return 1;
if (d1 == 1 || d2 == 2) return 3;