Skip to content

Replace PolySharp by the Polyfill source package and adopt ArgumentNullException.ThrowIfNull()/ArgumentException.ThrowIfNullOrEmpty()#2406

Merged
kevinchalet merged 1 commit intoopeniddict:devfrom
kevinchalet:polyfills
Dec 28, 2025
Merged

Replace PolySharp by the Polyfill source package and adopt ArgumentNullException.ThrowIfNull()/ArgumentException.ThrowIfNullOrEmpty()#2406
kevinchalet merged 1 commit intoopeniddict:devfrom
kevinchalet:polyfills

Conversation

@kevinchalet
Copy link
Member

This PR replaces PolySharp by Polyfill: while PolySharp worked great, Polyfill offers a lot more options thanks to its ".NET 10 extension everything" approach (including the ArgumentNullException.ThrowIfNull()/ArgumentException.ThrowIfNullOrEmpty() guard methods or the OperatingSystem.Is*() APIs).

…llException.ThrowIfNull()/ArgumentException.ThrowIfNullOrEmpty()
@kevinchalet kevinchalet merged commit 9797f86 into openiddict:dev Dec 28, 2025
6 checks passed
@kevinchalet kevinchalet deleted the polyfills branch December 28, 2025 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant