Skip to content

Conversation

@mavasani
Copy link
Contributor

Implements the code fix part for #18818

First commit adds the unit tests as per the design, and second commit implements the de-duplication in code fix service.

@mavasani mavasani added this to the 16.6.P1 milestone Feb 19, 2020
@mavasani mavasani requested a review from sharwell February 19, 2020 00:58
@mavasani mavasani requested a review from a team as a code owner February 19, 2020 00:58
@mavasani mavasani mentioned this pull request Mar 11, 2020
23 tasks
string equivalenceKey,
Dictionary<Diagnostic, PooledHashSet<string>> uniqueDiagosticToEquivalenceKeysMap)
{
using var disposer = ArrayBuilder<Diagnostic>.GetInstance(out var newApplicableDiagnostics);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
using var disposer = ArrayBuilder<Diagnostic>.GetInstance(out var newApplicableDiagnostics);
using var _ = ArrayBuilder<Diagnostic>.GetInstance(out var newApplicableDiagnostics);

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, will do this as part of a follow-up change.

@mavasani mavasani merged commit e1b33f9 into dotnet:master Mar 18, 2020
@ghost ghost modified the milestones: 16.6.P1, Next Mar 18, 2020
@mavasani mavasani deleted the CodeFixes branch March 18, 2020 17:49
@mavasani mavasani modified the milestones: Next, 16.6.P3 Mar 18, 2020
@mavasani mavasani mentioned this pull request Mar 18, 2020
mavasani added a commit to mavasani/roslyn that referenced this pull request Jun 1, 2020
…#41768, and described in dotnet#44553 (comment)

Verified the test failed without any product change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants