Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code cleanup #2933

Closed
wants to merge 1 commit into from
Closed

Code cleanup #2933

wants to merge 1 commit into from

Conversation

vweijsters
Copy link
Contributor

I was playing around with VS2019 and noticed a lot of messages about code improvements 😄
There is room for more improvement, but #2599 is needed for that.

@codecov
Copy link

codecov bot commented Apr 10, 2019

Codecov Report

Merging #2933 into master will increase coverage by 0.03%.
The diff coverage is 90.71%.

@@            Coverage Diff             @@
##           master    #2933      +/-   ##
==========================================
+ Coverage   97.43%   97.47%   +0.03%     
==========================================
  Files         778      778              
  Lines      100192   100088     -104     
  Branches     3266     3263       -3     
==========================================
- Hits        97622    97556      -66     
+ Misses       1702     1664      -38     
  Partials      868      868

Copy link
Member

@sharwell sharwell left a comment

Choose a reason for hiding this comment

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

Is there an easy way to break this change up by topic or type of change?

nameof(SA1503CodeFixProvider)),
diagnostic);
}
}

private static Task<Document> GetTransformedDocumentAsync(Document document, SyntaxNode root, StatementSyntax node, CancellationToken cancellationToken)
Copy link
Member

Choose a reason for hiding this comment

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

📝 I'm not a fan of removing the cancellation token parameters. See dotnet/roslyn#34441, and especially the design conclusion in dotnet/roslyn#34441 (comment).

@vweijsters
Copy link
Contributor Author

I'll have a look tomorrow to see if I can break things up.

@vweijsters vweijsters closed this Apr 29, 2019
@vweijsters vweijsters deleted the cleanup branch April 29, 2019 21:00
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.

2 participants