Skip to content

Update LangVersion to preview#25768

Closed
xtqqczze wants to merge 2 commits into
PowerShell:masterfrom
xtqqczze:LangVersion
Closed

Update LangVersion to preview#25768
xtqqczze wants to merge 2 commits into
PowerShell:masterfrom
xtqqczze:LangVersion

Conversation

@xtqqczze

Copy link
Copy Markdown
Contributor

No description provided.

@xtqqczze xtqqczze requested review from a team and jshigetomi as code owners July 20, 2025 15:46
@microsoft-github-policy-service microsoft-github-policy-service Bot added the Review - Needed The PR is being reviewed label Jul 27, 2025
@iSazonov

Copy link
Copy Markdown
Collaborator

Only MSFT team members can merge this.
What new C# language features do you want to use?

@microsoft-github-policy-service microsoft-github-policy-service Bot removed the Review - Needed The PR is being reviewed label Aug 29, 2025
@xtqqczze

Copy link
Copy Markdown
Contributor Author

What new C# language features do you want to use?

We should ensure the codebase remains compatible with the version of C# supported in .NET 10. For reference, see What’s new in C# 14.

In particular, new field keyword could be used.

@microsoft-github-policy-service microsoft-github-policy-service Bot added the Review - Needed The PR is being reviewed label Sep 6, 2025
@iSazonov

Copy link
Copy Markdown
Collaborator

I think we prefer exact LangVersion. Immediately after .Net 10 release, you can pull PR to set C# 14.

@iSazonov iSazonov closed this Oct 16, 2025
@microsoft-github-policy-service microsoft-github-policy-service Bot removed the Review - Needed The PR is being reviewed label Oct 16, 2025
@microsoft-github-policy-service

microsoft-github-policy-service Bot commented Oct 16, 2025

Copy link
Copy Markdown
Contributor

📣 Hey @@xtqqczze, how did we do? We would love to hear your feedback with the link below! 🗣️

🔗 https://aka.ms/PSRepoFeedback

@xtqqczze xtqqczze deleted the LangVersion branch October 16, 2025 10:46
@xtqqczze

Copy link
Copy Markdown
Contributor Author

I think we prefer exact LangVersion. Immediately after .Net 10 release, you can pull PR to set C# 14.

We can use c# 14 in RC

@iSazonov

Copy link
Copy Markdown
Collaborator

We turned on preview when we needed new features as quickly as possible. There has been no such need for a long time.

@xtqqczze

Copy link
Copy Markdown
Contributor Author

We turned on preview when we needed new features as quickly as possible. There has been no such need for a long time.

I mean we can set LangVersion to 14.0, see #26214

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.

2 participants