Skip to content

Pin cDAC language version to C# 14 - #136487

Merged
max-charlamb merged 1 commit into
dotnet:mainfrom
max-charlamb:dev/max-charlamb/cdac-csharp14-net10
Oct 26, 2026
Merged

max-charlamb merged 1 commit into
dotnet:mainfrom
max-charlamb:dev/max-charlamb/cdac-csharp14-net10

Conversation

@max-charlamb

@max-charlamb max-charlamb commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Pin the cDAC subtree to C# 14 instead of inheriting the runtime repo's preview language version.
  • Mark the generic sizeof(T) test helpers as unsafe so they compile with the C# 14 compiler.

This keeps the mirrored cDAC sources buildable with the .NET 10 SDK used by dotnet/diagnostics while allowing the runtime repo to continue using preview C# features elsewhere.

Co-authored-by: Copilot <[email protected]>

Copilot-Session: 25eb53f8-927f-498d-94f9-0c2da243e293
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 4 pipeline(s).
12 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @steveisok, @tommcdon, @dotnet/dotnet-diag
See info in area-owners.md if you want to be subscribed.

@max-charlamb

Copy link
Copy Markdown
Member Author

/ba-g test only change

@max-charlamb
max-charlamb merged commit f6f5ef3 into dotnet:main Oct 26, 2026
26 of 65 checks passed
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Oct 27, 2026
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.

2 participants