-
-
Notifications
You must be signed in to change notification settings - Fork 970
Add .NET 10 target and make use of C#14 extension members #1672
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
Conversation
946d39d to
9283535
Compare
|
@Rob-Hague I created a separate PR for extension members #1699. I figured it's easier to review this separately. Or should I just add it here? |
|
Don't mind, if it's in separate commits then happy for it to be in 1 pr if it makes branch management easier |
|
Merged the extension member changes into this PR. |
This is fixed in the final release. This reverts commit 5a59ac9.
Rob-Hague
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm otherwise
src/Renci.SshNet/Abstractions/RandomNumberGeneratorExtensions.cs
Outdated
Show resolved
Hide resolved
|
The fewer analyzers the better imo |
This adds the new target and fixes/suppresses new analyzer warnings.
Also make use of the C# 14 extension members to get rid of most
ThrowHelpermethods and some#if.There may be more places to make use of it (or maybe I already overdid it 😄 ).