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

CA1024: Do not report on tasks return types #3972

Merged
merged 1 commit into from
Aug 7, 2020

Conversation

Evangelink
Copy link
Member

Fix #3877

@Evangelink Evangelink requested a review from a team as a code owner August 7, 2020 13:32
Comment on lines +77 to +81
if (methodSymbol.IsGenericMethod ||
methodSymbol.IsVirtual ||
methodSymbol.IsOverride ||
methodSymbol.Name == GetHashCodeName ||
methodSymbol.Name == GetEnumeratorName ||
Copy link
Member Author

Choose a reason for hiding this comment

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

I think these checks shall be done before the MatchesConfiguredVisibility.

@codecov
Copy link

codecov bot commented Aug 7, 2020

Codecov Report

Merging #3972 into master will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #3972      +/-   ##
==========================================
- Coverage   95.62%   95.62%   -0.01%     
==========================================
  Files        1155     1155              
  Lines      254863   254927      +64     
  Branches    15266    15271       +5     
==========================================
+ Hits       243724   243781      +57     
- Misses       9183     9193      +10     
+ Partials     1956     1953       -3     

@mavasani mavasani merged commit 2208884 into dotnet:master Aug 7, 2020
@Evangelink Evangelink deleted the CA1024-task branch August 8, 2020 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update CA1024 to not report on get method return tasks
2 participants