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

fix(CA2208): false positive when message start with parameter name followed by punctuation #7065

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

HenryZhang-ZHY
Copy link
Contributor

fix: #6863

@HenryZhang-ZHY HenryZhang-ZHY requested a review from a team as a code owner December 3, 2023 09:40
Copy link

codecov bot commented Dec 3, 2023

Codecov Report

Merging #7065 (bf9337f) into main (ace28a1) will decrease coverage by 0.01%.
The diff coverage is 97.56%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7065      +/-   ##
==========================================
- Coverage   96.43%   96.43%   -0.01%     
==========================================
  Files        1412     1412              
  Lines      336962   337001      +39     
  Branches    11143    11144       +1     
==========================================
+ Hits       324956   324971      +15     
- Misses       9204     9225      +21     
- Partials     2802     2805       +3     

@HenryZhang-ZHY
Copy link
Contributor Author

@stephentoub PTAL

Copy link
Member

@buyaa-n buyaa-n left a comment

Choose a reason for hiding this comment

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

LGTM, thank you @HenryZhang-ZHY

@buyaa-n buyaa-n merged commit c237103 into dotnet:main Dec 11, 2023
14 checks passed
@buyaa-n
Copy link
Member

buyaa-n commented Dec 12, 2023

CC @jeffhandley @artl93 we might want to port the fix into 8.0 as it was regression introduced with https://github.com/dotnet/roslyn-analyzers/pull/6553/files and causing false positive warnings

@buyaa-n
Copy link
Member

buyaa-n commented Dec 12, 2023

/backport to release/8.0.2xx

Copy link
Contributor

Started backporting to release/8.0.2xx: https://github.com/dotnet/roslyn-analyzers/actions/runs/7185209527

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.

CA2208: false positive when exception message contains parameter name (but only in some cases)
2 participants