Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.3] UTF-8 string literals #29269

Closed
Tracked by #30071
BillWagner opened this issue May 3, 2022 · 2 comments · Fixed by #30714
Closed
Tracked by #30071

[17.3] UTF-8 string literals #29269

BillWagner opened this issue May 3, 2022 · 2 comments · Fixed by #30714
Assignees
Labels
🏁 Release: .NET 7 Work items for the .NET 7 release

Comments

@BillWagner
Copy link
Member

Add syntax to create utf-8 string literals in C# code and have them automatically encoded in their byte[] format. Changes will be required in the language reference, and some string tutorials.

Feature specification

@PRMerger17 PRMerger17 added the Pri3 label May 3, 2022
@dotnet-bot dotnet-bot added the ⌚ Not Triaged Not triaged label May 3, 2022
@BillWagner BillWagner self-assigned this May 4, 2022
@BillWagner BillWagner added doc-idea 🏁 Release: .NET 7 Work items for the .NET 7 release and removed ⌚ Not Triaged Not triaged Pri3 labels May 4, 2022
@BillWagner
Copy link
Member Author

Pulling this back to the TODO column until dotnet/csharplang#6154 is merged and implemented.

@Youssef1313
Copy link
Member

The article documenting this feature should have Utf8StringLiteral_CSharpKeyword per https://github.com/dotnet/roslyn/blob/e2c555e116bb7cb950f82c25430f6aa466c8a33d/src/VisualStudio/CSharp/Test/F1Help/F1HelpTests.cs#L977-L989

@BillWagner BillWagner reopened this Aug 1, 2022
Repository owner moved this from Todo to Done in dotnet/docs: .NET 7 Release Aug 1, 2022
Repository owner moved this from Todo to Done in dotnet/docs: August Sprint Aug 1, 2022
@BillWagner BillWagner moved this from Done to Todo in dotnet/docs: .NET 7 Release Aug 15, 2022
@BillWagner BillWagner moved this from Done to Todo in dotnet/docs: August Sprint Aug 15, 2022
@BillWagner BillWagner moved this from Todo to In Progress in dotnet/docs: .NET 7 Release Aug 15, 2022
@BillWagner BillWagner moved this from Todo to In Progress in dotnet/docs: August Sprint Aug 15, 2022
@ghost ghost added the in-pr This issue will be closed (fixed) by an active pull request. label Aug 16, 2022
Repository owner moved this from In Progress to Done in dotnet/docs: August Sprint Aug 16, 2022
Repository owner moved this from In Progress to Done in dotnet/docs: .NET 7 Release Aug 16, 2022
@ghost ghost removed the in-pr This issue will be closed (fixed) by an active pull request. label Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏁 Release: .NET 7 Work items for the .NET 7 release
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

4 participants