Skip to content

Port fix for duplicate IDEDiagnosticIDs to 15.7#24648

Merged
chborl merged 3 commits intodotnet:dev15.7.xfrom
chborl:twoIDsOn157
Feb 6, 2018
Merged

Port fix for duplicate IDEDiagnosticIDs to 15.7#24648
chborl merged 3 commits intodotnet:dev15.7.xfrom
chborl:twoIDsOn157

Conversation

@chborl
Copy link
Contributor

@chborl chborl commented Feb 5, 2018

Backporting #24590 to 15.7

Original template copied here:
Customer scenario
Both the Validate Format String and Remove Unreachable Code analyzers use the same ID, so a user would see the same code for both of these issues and if they suppress either one it would suppress both.

Bugs this fixes
#23983

Workarounds, if any
none

Risk
No code risk, but it is a breaking change. If a customer previously suppressed the Validate Format String analzyer, it would start firing again because it has a new ID number. @kuhlenh will change it in our documentation and add it to the breaking change log.

Performance impact
none

Is this a regression from a previous update?
no

Root cause analysis
How was the bug found?
Test documentation updated?

@chborl chborl requested a review from a team as a code owner February 5, 2018 22:32
@chborl
Copy link
Contributor Author

chborl commented Feb 5, 2018

@jasonmalinowski @sharwell for approval. Nothing changed from the previously approved PR, just retargeted to dev15.7.x.

@sharwell sharwell added this to the 15.7 milestone Feb 5, 2018
@jinujoseph
Copy link
Contributor

@Pilchie for ask mode approval

@Pilchie
Copy link
Member

Pilchie commented Feb 6, 2018

Approved - but we really need to add some static analysis to stop this from happening.

@chborl chborl merged commit 65c6cbb into dotnet:dev15.7.x Feb 6, 2018
@chborl chborl deleted the twoIDsOn157 branch October 26, 2018 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants