Reporter |
|
---|---|
Created | Apr 9, 2018 5:46:22 PM |
Updated | Apr 9, 2018 5:46:31 PM |
Subsystem | Code Analysis |
Assignee | Ivan Serduk (IvanSerduk) |
Priority | Normal |
State | Submitted |
Type | Feature |
Fix version | No Fix versions |
Affected versions | No Affected versions |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
When porting from other languages, sometimes one will come across unnecessary value "windowing" - for example, byte values that are AND'd with 0xff. This is a side effect of type treatment in other languages but in C# (for example), the & 0xff in that case is total superfluous. It would be nice if ReSharper could catch that and offer to remove it.