Repository navigation
C#: target .NET 10 - #134
Merged
Merged
Conversation
.NET 8, which every C# project targeted, went out of support on 2026-11-10. .NET 10 is the current long-term release, supported until November 2028. - The runtime, the conformance suite, the portable runner, the workshop example and the performance worker target net10.0. CI installs the .NET 10 SDK. - C# 14 reads `field` inside a property accessor as the property's backing field. ModelReflection.IsCollection named a pattern variable so; it is now `snapshot`. - The NuGet lock files list the packages for net10.0. Three packages that .NET 10 contains itself are gone from the conformance suite's lock file. - The documents that named .NET 8 name .NET 10.
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.
.NET 8, which every C# project targeted, went out of support on 2026-11-10. .NET 10 is the current long-term release, supported until November 2028.
net10.0. CI installs the .NET 10 SDK.fieldinside a property accessor as the property's backing field, andModelReflection.IsCollectionusedfieldas a pattern variable. It issnapshotnow.net10.0. Three packages that .NET 10 contains itself are no longer in the conformance suite's lock file.Generated code needed no change: the stock, conformance and workshop models compile with C# 14 and warnings as errors.
Checked
On this branch, on Windows with the .NET 10.0.401 SDK:
:vmf:test: 125 tests pass.:vmf:verifyCSharpConformance: 997 of 997 onnet10.0, all Java readers of C#-written documents pass.:vmf:verifyPortableContract: Java 225 of 225, C# 225 of 225, TypeScript 222 of 222.:vmf:verifyTypeScriptWorkshop,:vmf:verifyTypeScriptStockModels,checkPerformanceTargetsand:vmf:packCSharpRuntimepass.A saved C# performance baseline from .NET 8 is rejected on .NET 10, as the gate rejects any baseline from another runtime; save a new one with
performanceBaselineCSharp.