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

Update SA1003 to handle the null-coalescing assignment operator, the unsigned right-shift operator, the unsigned right-shift assignment operator and the null-forgiving operator #3823

Conversation

bjornhellander
Copy link
Contributor

Fixes #3822. Also found some more operators that were not being handled by SA1003.

…unsigned right-shift operator, the unsigned right-shift assignment operator and the null-forgiving operator

DotNetAnalyzers#3822
Copy link

codecov bot commented Apr 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.45%. Comparing base (6327501) to head (9a680bd).
Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3823      +/-   ##
==========================================
+ Coverage   94.37%   97.45%   +3.08%     
==========================================
  Files         924      925       +1     
  Lines      109815   110040     +225     
  Branches     3302     3302              
==========================================
+ Hits       103635   107242    +3607     
+ Misses       5170     1835    -3335     
+ Partials     1010      963      -47     

@bjornhellander
Copy link
Contributor Author

Ready for review

@sharwell sharwell merged commit 045aba1 into DotNetAnalyzers:master Apr 8, 2024
19 checks passed
@sharwell sharwell added this to the 1.2-beta.next milestone Apr 8, 2024
@bjornhellander bjornhellander deleted the feature/sa1003-null-coalescing-assignment-operator-3822 branch April 8, 2024 18:28
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.

SA1003 should validate null-coalescing assignment operator
2 participants