Skip to content

Warning wave note for CS9123 in C# 13 is wrong #45181

Closed
@cremor

Description

@cremor

Type of issue

Outdated article

Description

The page contains this note for CS9123:

Beginning with C# 13, this code generates a compiler error.

This seems wrong. I still get a warning, not an error, when I paste the sample code in a .NET 9 console app.

The note was added by @BillWagner in #41614

Page URL

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

Content source URL

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

Document Version Independent Id

ee47f321-8c41-a867-c25e-4020b7aa75eb

Platform Id

e32237ac-944a-054e-7bc1-f79257179787

Article author

@BillWagner

Metadata

  • ID: fe4ec697-f3a5-3df8-8e43-e49df4f3303b
  • PlatformId: e32237ac-944a-054e-7bc1-f79257179787
  • Service: dotnet-csharp
  • Sub-service: errors-warnings

Related Issues


Associated WorkItem - 410378

Metadata

Metadata

Assignees

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions