-
Notifications
You must be signed in to change notification settings - Fork 4.2k
IDE0004 False positive #33043
Copy link
Copy link
Closed
Labels
Area-IDEBugIDE-CodeStyleBuilt-in analyzers, fixes, and refactoringsBuilt-in analyzers, fixes, and refactoringshelp 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-IDEBugIDE-CodeStyleBuilt-in analyzers, fixes, and refactoringsBuilt-in analyzers, fixes, and refactoringshelp 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.
Version Used: VS 2019 preview 2
Steps to Reproduce:
Expected Behavior:
No diagnostic is reported
Actual Behavior:
IDE0004 is reported. If you apply the fix (remove the cast), the code doesn't compile.