From 68d5a686bcc7b71019ec19cedbc74b1e4c186192 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 14 Aug 2025 12:54:30 +0000 Subject: [PATCH 1/2] Initial plan From 0c4ebcff39f05bdfba20d0e8d4c5665fdbff52a9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 14 Aug 2025 12:59:30 +0000 Subject: [PATCH 2/2] Add Unicode out-of-range example to CS1009 documentation Co-authored-by: BillWagner <493969+BillWagner@users.noreply.github.com> --- docs/csharp/language-reference/compiler-messages/cs1009.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/csharp/language-reference/compiler-messages/cs1009.md b/docs/csharp/language-reference/compiler-messages/cs1009.md index 3f0b4e00a381b..6d120b58ceb23 100644 --- a/docs/csharp/language-reference/compiler-messages/cs1009.md +++ b/docs/csharp/language-reference/compiler-messages/cs1009.md @@ -34,6 +34,8 @@ class MyClass string hexEscapeSequence = '\X061'; // CS1009; an uppercase \U-style Unicode escape sequence must have exactly 8 hex digits string uppercaseUnicodeEscape = '\U0061'; + // CS1009; Unicode code points above U+10FFFF are invalid (well-formed but out of range) + string outOfRangeUnicode = "\U00110000"; } } ```