You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit af4a559
Browse filesBrowse the repository at this point in the historyBrowse files
Use the typed Roslyn API for C# 15 labeled jumps and closed
Upgrades Microsoft.CodeAnalysis.CSharp from 5.6.0 to 5.9.0, which adds real
support for both C# 15 features this project emits.
Labeled break/continue now use the new BreakStatement(IdentifierNameSyntax)
and ContinueStatement(IdentifierNameSyntax) overloads, replacing the `goto`
placeholder that was substituted into the final text. The sealed class
`closed` modifier now uses SyntaxKind.ClosedKeyword instead of fabricating
the token with ParseToken("closed ").
Both APIs are still marked experimental, so RSEXPERIMENTAL006 is suppressed
at each use site.
The integration test harness now parses generated code with
LanguageVersion.Preview, so the C# 15 labeled jump output is compiled and
executed rather than only string-asserted. LabeledBreakContinue.java runs
through both the default C# 15 path and the goto fallback, asserting the
same output for each.
Roslyn 5.9.0 depends on an unpublished Microsoft.CodeAnalysis.Analyzers
prerelease, so the released 5.9.0 is referenced explicitly to avoid NU1603.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
0 commit comments