RefactoringEssentials icon indicating copy to clipboard operation
RefactoringEssentials copied to clipboard

?: Conversion inserts unnecessary casting

Open FickoDeLux opened this issue 8 years ago • 1 comments

I get this where "SmoothenMinRange" is a const int and "NUD_Percent" is a NummericUpAndDown Control:

NUD_Percent.Value = (_isSharpenTool) ? (decimal)0 : (decimal)SmoothenMinRange;

FickoDeLux avatar Mar 05 '17 15:03 FickoDeLux

This duplicates #289.

AndrewBoklashko avatar Mar 05 '17 16:03 AndrewBoklashko