Skip to content

Add C# 11 errors for raw string literals and UTF string literals #49596

@BillWagner

Description

@BillWagner

Type of issue

Missing information

Description

Add the following errors and warnings from C# 11 for the raw string literals feature:

CS8996, CS8997, CS8998, CS8999, CS9000, CS9001, CS9002, CS9003, CS9004, CS9005, CS9006, CS9007, CS9008, CS9009

In addition, add the following errors related to UTF-8 string literals:

CS9026, CS9047

Page URL

https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/string-literal

Content source URL

https://github.com/dotnet/docs/blob/main/docs/csharp/language-reference/compiler-messages/string-literal.md

Document Version Independent Id

88e972c5-31f6-6703-5884-8841a0264160

Platform Id

1be30190-2547-3d00-27c8-c257ff3c35f2

Article author

@BillWagner

Metadata

  • ID: a83a52c2-952c-8263-1553-4d95b35650a7
  • PlatformId: 1be30190-2547-3d00-27c8-c257ff3c35f2
  • Service: dotnet-csharp
  • Sub-service: errors-warnings

Related Issues


Associated WorkItem - 506007

Metadata

Metadata

Assignees

Labels

📌 seQUESTeredIdentifies that an issue has been imported into Quest.dotnet-csharp/svcerrors-warnings/subsvcokr-curationOKR: Curate content to remove outdated recommendationsokr-qualityContent-quality KR: Concerns article defects (bugs), freshness, or build warnings.

Type

No type

Projects

Status

🔖 Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions