From ce297141bd8c6d38b8f193a6bcff4c1211febc16 Mon Sep 17 00:00:00 2001 From: Bill Wagner Date: Wed, 1 Apr 2026 11:30:41 -0400 Subject: [PATCH 1/3] Catalog C# 9 diagnostics This is just in prep for planning the tasks to add documentation for each of these. --- ...n-t-have-specifics-on-this-csharp-error.md | 73 +++++++++++++------ 1 file changed, 51 insertions(+), 22 deletions(-) diff --git a/docs/csharp/misc/sorry-we-don-t-have-specifics-on-this-csharp-error.md b/docs/csharp/misc/sorry-we-don-t-have-specifics-on-this-csharp-error.md index add21f6146fb9..914db0db694f5 100644 --- a/docs/csharp/misc/sorry-we-don-t-have-specifics-on-this-csharp-error.md +++ b/docs/csharp/misc/sorry-we-don-t-have-specifics-on-this-csharp-error.md @@ -1,7 +1,7 @@ --- title: "Sorry, we don't have specifics on this error" description: "List of possible resources for compiler errors and warnings that haven't been documented yet." -ms.date: 02/13/2026 +ms.date: 04/01/2026 f1_keywords: - "CS0190" - "CS0257" @@ -239,6 +239,7 @@ f1_keywords: - "CS8359" - "CS8360" - "CS8362" + # C# 7.3 diagnostics - "CS8372" - "CS8375" - "CS8377" @@ -252,7 +253,7 @@ f1_keywords: - "CS8386" - "CS8387" - "CS8389" - # C# 7.3 diagnostics + # C# 8.0 diagnostics - "CS8412" - "CS8413" - "CS8414" @@ -286,63 +287,62 @@ f1_keywords: - "CS8716" - "CS8750" # C# 9 diagnostics start here - - "CS8751" - - "CS8752" + - "CS8751" # misc + - "CS8752" # target type new - "CS8753" - "CS8754" - - "CS8755" + - "CS8755" # function pointer - "CS8756" - "CS8757" - "CS8758" - "CS8759" - - "CS8760" + - "CS8760" # misc - "CS8761" - "CS8771" - "CS8772" - - "CS8783" - - "CS8784" + - "CS8783" # local function + - "CS8784" # source generator - "CS8785" - - "CS8786" + - "CS8786" # function pointers - "CS8787" - "CS8788" - "CS8789" - - "CS8804" - "CS8806" - "CS8807" - "CS8808" - "CS8809" - "CS8811" - - "CS8813" + - "CS8813" # module initializers - "CS8814" - "CS8815" - "CS8816" - - "CS8822" + - "CS8822" # nullable / constraints - "CS8823" - - "CS8830" + - "CS8830" # feature / version - "CS8831" - - "CS8852" + - "CS8852" # init only properties - "CS8853" - "CS8855" - "CS8856" - - "CS8857" + - "CS8857" # records - "CS8869" - "CS8871" - "CS8876" - - "CS8888" + - "CS8888" # feature / version - "CS8889" - "CS8890" - "CS8891" - - "CS8893" + - "CS8893" # managed / unmanaged constraint - "CS8894" - "CS8895" - "CS8896" - - "CS8900" + - "CS8900" # module initializer - "CS8901" - "CS8902" - - "CS8903" - - "CS8906" - - "CS8909" - - "CS8911" + - "CS8903" # init only property + - "CS8906" # record + - "CS8909" # function pointer + - "CS8911" # function pointer # Coming in C# 15 - "CS9343" - "CS9346" @@ -353,6 +353,35 @@ f1_keywords: - "CS9351" - "CS9352" - "CS9353" +# Collection arguments + - "CS9354" + - "CS9355" + - "CS9356" + - "CS9357" + - "CS9358" + - "CS9359" +# New unsafety + - "CS9360" + - "CS9361" + - "CS9362" + - "CS9363" + - "CS9364" + - "CS9365" + - "CS9366" + - "CS9367" + - "CS9368" +# Unions + - "CS9369" + - "CS9370" + - "CS9371" + - "CS9372" + - "CS9373" + - "CS9374" + - "CS9375" +# More new unsafety + - "CS9376" + - "CS9377" + helpviewer_keywords: - "errors [C#], additional information" --- From 2b167289cde1e3dddaa1b8c165203d85ff4e22c6 Mon Sep 17 00:00:00 2001 From: Bill Wagner Date: Wed, 1 Apr 2026 14:56:26 -0400 Subject: [PATCH 2/3] Remove unsafe evolution diagnostics These are added in PR #52839 --- ...-don-t-have-specifics-on-this-csharp-error.md | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/docs/csharp/misc/sorry-we-don-t-have-specifics-on-this-csharp-error.md b/docs/csharp/misc/sorry-we-don-t-have-specifics-on-this-csharp-error.md index 914db0db694f5..f46ff6b01a469 100644 --- a/docs/csharp/misc/sorry-we-don-t-have-specifics-on-this-csharp-error.md +++ b/docs/csharp/misc/sorry-we-don-t-have-specifics-on-this-csharp-error.md @@ -344,7 +344,7 @@ f1_keywords: - "CS8909" # function pointer - "CS8911" # function pointer # Coming in C# 15 - - "CS9343" + - "CS9343" # misc - "CS9346" - "CS9347" - "CS9348" @@ -360,16 +360,6 @@ f1_keywords: - "CS9357" - "CS9358" - "CS9359" -# New unsafety - - "CS9360" - - "CS9361" - - "CS9362" - - "CS9363" - - "CS9364" - - "CS9365" - - "CS9366" - - "CS9367" - - "CS9368" # Unions - "CS9369" - "CS9370" @@ -378,10 +368,6 @@ f1_keywords: - "CS9373" - "CS9374" - "CS9375" -# More new unsafety - - "CS9376" - - "CS9377" - helpviewer_keywords: - "errors [C#], additional information" --- From b68d3ad9ce5eb8cd6ffb9d7d9a80addca1e2715e Mon Sep 17 00:00:00 2001 From: Bill Wagner Date: Wed, 1 Apr 2026 15:03:29 -0400 Subject: [PATCH 3/3] And collection expressions Added in #51514 --- .../sorry-we-don-t-have-specifics-on-this-csharp-error.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/docs/csharp/misc/sorry-we-don-t-have-specifics-on-this-csharp-error.md b/docs/csharp/misc/sorry-we-don-t-have-specifics-on-this-csharp-error.md index f46ff6b01a469..8e59fafdcd02a 100644 --- a/docs/csharp/misc/sorry-we-don-t-have-specifics-on-this-csharp-error.md +++ b/docs/csharp/misc/sorry-we-don-t-have-specifics-on-this-csharp-error.md @@ -353,13 +353,6 @@ f1_keywords: - "CS9351" - "CS9352" - "CS9353" -# Collection arguments - - "CS9354" - - "CS9355" - - "CS9356" - - "CS9357" - - "CS9358" - - "CS9359" # Unions - "CS9369" - "CS9370"