Redundant Cast incorrect for SimpleArguments #44516
Labels
Area-IDE
Bug
IDE-CodeStyle
Built-in analyzers, fixes, and refactorings
Resolution-Fixed
The bug has been fixed and/or the requested behavior has been implemented
Milestone
Version Used:
VS 16.6 and 16.7 Preview 1
Steps to Reproduce:
Expected Behavior:
No Cast is Redundant messages
Actual Behavior:
Cast is Redundant messages and if you follow suggestion you get error BC30512 Option Strict On disallows implicit conversions from 'Double' to 'Integer'. This happens for all Math functions that return non integers and constants.
The text was updated successfully, but these errors were encountered: