Repository navigation
SystemIo: target .NET 10 - #250
Open
ghostflyby wants to merge 1 commit into
Open
ghostflyby wants to merge 1 commit into
ghostflyby wants to merge 1 commit into
Conversation
ghostflyby
force-pushed
the
pathio-net10
branch
from
November 9, 2026 07:35
0f476f5 to
16e9311
Compare
Add a net10.0 target (the current LTS) to TruePath.SystemIo. With the source generator from ForNeVeR#249 in place this is nearly a one-line change: the generator projects the per-target-framework BCL automatically, exposing 123 extension methods on this target, including the new span- and Memory-based overloads: - AppendAllText/WriteAllText with ReadOnlySpan<char> contents, - AppendAllBytes/WriteAllBytes with ReadOnlySpan<byte>, - the ReadOnlyMemory-based async counterparts of all of the above. The existing netstandard2.0 and net8.0 targets are unchanged. The net10.0 public API baseline records the 110 members that already exist on the other targets as shipped, and only the 14 span- and Memory-based overloads this target adds as unshipped. Keeping them shipped matches how the net8.0 and netstandard2.0 baselines are maintained: each lists the full API surface of its target at the last release rather than its difference from the other targets. TruePath.Tests also gains a net10.0 target so the reflection completeness test validates the generated net10.0 surface against the matching runtime.
ghostflyby
force-pushed
the
pathio-net10
branch
from
November 9, 2026 13:13
16e9311 to
17c42c4
Compare
ghostflyby
marked this pull request as ready for review
November 9, 2026 13:15
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Depends on #249 — this PR is stacked on top of the source generator change and should be merged after it. Until #249 merges, the diff below includes its commits.
Summary
Add a net10.0 target (the current LTS) to TruePath.SystemIo. With the source generator from #249 in place this is a one-line change that automatically exposes the .NET 10 BCL surface for file and directory operations: 112 extension methods on this target, including the new span- and Memory-based overloads:
The existing netstandard2.0 and net8.0 targets are unchanged.
Changes
Testing