-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Incorrect IDE0004 Cast is redundant on interplation #36631
Copy link
Copy link
Closed
Labels
Area-IDEBugDeveloper CommunityThe issue was originally reported on https://developercommunity.visualstudio.comThe issue was originally reported on https://developercommunity.visualstudio.comIDE-CodeStyleBuilt-in analyzers, fixes, and refactoringsBuilt-in analyzers, fixes, and refactoringsResolution-FixedThe bug has been fixed and/or the requested behavior has been implementedThe bug has been fixed and/or the requested behavior has been implemented
Milestone
Metadata
Metadata
Assignees
Labels
Area-IDEBugDeveloper CommunityThe issue was originally reported on https://developercommunity.visualstudio.comThe issue was originally reported on https://developercommunity.visualstudio.comIDE-CodeStyleBuilt-in analyzers, fixes, and refactoringsBuilt-in analyzers, fixes, and refactoringsResolution-FixedThe bug has been fixed and/or the requested behavior has been implementedThe bug has been fixed and/or the requested behavior has been implemented
Type
Fields
Give feedbackNo fields configured for issues without a type.
VSF_TYPE_MARKDOWNVisual Studio 2019 (16.1.2) incorrectly reports the cast in the following expression as redundant:
object x = (IFormattable)$"";This issue has been moved from https://developercommunity.visualstudio.com/content/problem/605169/incorrect-ide0004-cast-is-redundant-on-interplatio.html
VSTS ticketId: 917467
These are the original issue comments:
Visual Studio Feedback System on 6/13/2019, 01:53 AM (7 days ago):
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
These are the original issue solutions:
(no solutions)