-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Incorrect IDE0004 in iterator #37473
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 15.9.11.
Steps to Reproduce:
Expected Behavior:
No suggestions.
Actual Behavior:
Roslyn suggests a fix:
This fix breaks the program's semantics, since the actual returned value's type changes from
ValueTuple<string, Nullable<decimal>>toValueTuple<string, double>.