-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
Area-IDEBugFeature - RecordsRecordsRecordsIDE-CodeStyleBuilt-in analyzers, fixes, and refactoringsBuilt-in analyzers, fixes, and refactoringsUrgency-Soonhelp 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
Description
Version Used:
VS16.8 preview 2
Steps to Reproduce:
record A(int X);
record B(int X, int Y /* Unexpected IDE0060 */) : A(X);
class C
{
void Func(B b)
{
Use(b.Y);
}
private void Use(int i)
{
}
}Expected Behavior:
Should not suggest removing int Y near the comment
Actual Behavior:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area-IDEBugFeature - RecordsRecordsRecordsIDE-CodeStyleBuilt-in analyzers, fixes, and refactoringsBuilt-in analyzers, fixes, and refactoringsUrgency-Soonhelp 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