DotNetAnalyzers / StyleCopAnalyzers

An implementation of StyleCop rules using the .NET Compiler Platform
MIT License
2.61k stars 506 forks source link

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

Closed bjornhellander closed 2 months ago

bjornhellander commented 3 months ago

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

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

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

Additional details and impacted files ```diff @@ 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 commented 3 months ago

Ready for review