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

Improve CA1305 for nullable types #7306

Merged
merged 1 commit into from
Aug 29, 2024
Merged

Conversation

CollinAlpert
Copy link
Contributor

Affected analyzer: SpecifyIFormatProviderAnalyzer
Affected diagnostic IDs: CA1305

This PR improves nullable support for CA1305. So far only nullable number types were analyzed, this is now extended to all nullables.

Copy link

codecov bot commented May 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.48%. Comparing base (bc8aca0) to head (3871ef7).
Report is 41 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7306   +/-   ##
=======================================
  Coverage   96.47%   96.48%           
=======================================
  Files        1443     1443           
  Lines      345400   345408    +8     
  Branches    11364    11362    -2     
=======================================
+ Hits       333239   333251   +12     
+ Misses       9282     9279    -3     
+ Partials     2879     2878    -1     

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.

Looks good, thank you @CollinAlpert

@buyaa-n buyaa-n merged commit 68eda2d into dotnet:main Aug 29, 2024
14 checks passed
@CollinAlpert CollinAlpert deleted the improve-ca1305 branch August 30, 2024 06:32
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.

None yet

2 participants