Skip to content

Conversation

@mus65
Copy link
Contributor

@mus65 mus65 commented Jul 16, 2025

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 ThrowHelper methods and some #if.

There may be more places to make use of it (or maybe I already overdid it 😄 ).

@mus65
Copy link
Contributor Author

mus65 commented Sep 11, 2025

@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?

@Rob-Hague
Copy link
Collaborator

Don't mind, if it's in separate commits then happy for it to be in 1 pr if it makes branch management easier

@mus65
Copy link
Contributor Author

mus65 commented Sep 11, 2025

Merged the extension member changes into this PR.

@mus65 mus65 changed the title Add .NET 10 target Add .NET 10 target and make use of C#14 extension members Sep 11, 2025
@mus65 mus65 marked this pull request as ready for review November 11, 2025 16:36
Copy link
Collaborator

@Rob-Hague Rob-Hague left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm otherwise

@mus65
Copy link
Contributor Author

mus65 commented Nov 15, 2025

I just realized that 6c3c06d is caused by analyzers which are still in preview. Imho we should not be dealing with these, so i disabled preview analyzers with 9f19333.

@Rob-Hague Rob-Hague merged commit 4e02502 into sshnet:develop Nov 15, 2025
6 checks passed
@Rob-Hague
Copy link
Collaborator

The fewer analyzers the better imo

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.

2 participants