-
Notifications
You must be signed in to change notification settings - Fork 4.2k
False positive "Cast is redundant" #37041
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.comhelp wantedThe issue is "up for grabs" - add a comment if you are interested in working on itThe issue is "up for grabs" - add a comment if you are interested in working on it
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.comhelp wantedThe issue is "up for grabs" - add a comment if you are interested in working on itThe issue is "up for grabs" - add a comment if you are interested in working on it
Type
Fields
Give feedbackNo fields configured for issues without a type.
VSF_TYPE_MARKDOWNVisual Studio says that cast in list. Add((Func<B>) Foo); is redundant in the following code (but it is not redundant, removing the cast changes the output of the program).
This issue has been moved from https://developercommunity.visualstudio.com/content/problem/635779/false-positive-cast-is-redundant.html
VSTS ticketId: 943413
These are the original issue comments:
Visual Studio Feedback System on 7/8/2019, 02:11 AM (8 hours 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)