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

Rewrite switch statements as expressions #865

Merged
merged 1 commit into from
Nov 4, 2022

Conversation

atifaziz
Copy link
Member

@atifaziz atifaziz commented Nov 4, 2022

This PR refactors switch statements into expressions.

@atifaziz atifaziz self-assigned this Nov 4, 2022
@codecov
Copy link

codecov bot commented Nov 4, 2022

Codecov Report

Merging #865 (9fe3ebc) into master (d684bf8) will increase coverage by 0.02%.
The diff coverage is 97.95%.

@@            Coverage Diff             @@
##           master     #865      +/-   ##
==========================================
+ Coverage   92.45%   92.47%   +0.02%     
==========================================
  Files         108      108              
  Lines        3446     3443       -3     
  Branches     1025     1021       -4     
==========================================
- Hits         3186     3184       -2     
  Misses        197      197              
+ Partials       63       62       -1     
Impacted Files Coverage Δ
MoreLinq/Fold.cs 98.07% <94.73%> (+2.07%) ⬆️
MoreLinq/Backsert.cs 96.55% <100.00%> (+0.25%) ⬆️
MoreLinq/Exclude.cs 95.23% <100.00%> (+0.50%) ⬆️
MoreLinq/MaxBy.cs 93.39% <100.00%> (-0.25%) ⬇️
MoreLinq/OrderedMerge.cs 93.84% <100.00%> (-0.44%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@atifaziz atifaziz merged commit 42dbe20 into morelinq:master Nov 4, 2022
@atifaziz atifaziz deleted the switch-expr branch November 4, 2022 21:21
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.

None yet

2 participants