Skip to content

Add net10/net11 preview CI and simplify guards - #59

Merged
JimBobSquarePants merged 1 commit into
mainfrom
js/net10-net11-targets
Aug 21, 2026
Merged

Add net10/net11 preview CI and simplify guards#59
JimBobSquarePants merged 1 commit into
mainfrom
js/net10-net11-targets

Conversation

@JimBobSquarePants

Copy link
Copy Markdown
Member

Prerequisites

  • I have written a descriptive pull-request title
  • I have verified that there are no overlapping pull-requests open
  • I have verified that I am following matches the existing coding patterns and practice as demonstrated in the repository. These follow strict Stylecop rules 👮.
  • I have provided test coverage for my change (where applicable)

Description

Updates CI to run net10.0 across all OSes and adds net11.0 preview jobs with separate setup/build/test steps gated by sdk-preview and SIXLABORS_TESTING_PREVIEW. Raises C# language version to 14.0 and updates test project target frameworks to net10.0 by default, with net11.0 included only in preview runs. Also modernizes guard APIs by switching CallerArgumentExpression to nameof(value) and removing redundant Span<T> overloads in favor of ReadOnlySpan<T>-based checks.

Updates CI to run net10.0 across all OSes and adds net11.0 preview jobs with separate setup/build/test steps gated by `sdk-preview` and `SIXLABORS_TESTING_PREVIEW`. Raises C# language version to 14.0 and updates test project target frameworks to `net10.0` by default, with `net11.0` included only in preview runs. Also modernizes guard APIs by switching `CallerArgumentExpression` to `nameof(value)` and removing redundant `Span<T>` overloads in favor of `ReadOnlySpan<T>`-based checks.
@JimBobSquarePants
JimBobSquarePants merged commit 52fc1c3 into main Aug 21, 2026
7 checks passed
@JimBobSquarePants
JimBobSquarePants deleted the js/net10-net11-targets branch August 21, 2026 05:28
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.

1 participant