From 752b659b5d9a844a0d6d784e17a589b67f85d706 Mon Sep 17 00:00:00 2001 From: David Wengier Date: Wed, 13 May 2026 14:28:34 +1000 Subject: [PATCH 1/3] Bump Roslyn to 5.8.0-1.26262.9 and Razor to 10.4.0-preview.26262.9 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- CHANGELOG.md | 17 +++++++++++++++++ package.json | 4 ++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a6c51e0f1..a88b5acb2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,23 @@ - Debug from .csproj and .sln [#5876](https://github.com/dotnet/vscode-csharp/issues/5876) # 2.142.x +* Update Roslyn to 5.8.0-1.26262.9 (PR: [#](https://github.com/dotnet/vscode-csharp/pull/)) + * Fix doc comment autocomplete corrupting declarations with existing /// (PR: [#83648](https://github.com/dotnet/roslyn/pull/83648)) + * Include generated documents and generator diagnostics in the workspace log (PR: [#83647](https://github.com/dotnet/roslyn/pull/83647)) + * Strongly type DocumentResolveData (PR: [#83624](https://github.com/dotnet/roslyn/pull/83624)) + * Throw content modified for stale code action resolve request (PR: [#83612](https://github.com/dotnet/roslyn/pull/83612)) + * Unsafe evolution: avoid interior effect of `unsafe` modifier on members (PR: [#83452](https://github.com/dotnet/roslyn/pull/83452)) +* Update Razor to 10.4.0-preview.26262.9 (PR: [#](https://github.com/dotnet/vscode-csharp/pull/)) + * Don't crash lowering a generic component type argument with mixed literal/expression content (PR: [#83645](https://github.com/dotnet/roslyn/pull/83645)) + * Update metadata of the Razor tree (PR: [#83629](https://github.com/dotnet/roslyn/pull/83629)) + * Move razor anaylzers (PR: [#83616](https://github.com/dotnet/roslyn/pull/83616)) + * Add support for writing HTML literals using UTF-8 strings (PR: [#83457](https://github.com/dotnet/roslyn/pull/83457)) + * Avoid _ collision in bind-*:after property accessor (PR: [#83572](https://github.com/dotnet/roslyn/pull/83572)) + * Fix ArgumentOutOfRangeException when orphan end tag follows HTML text (PR: [#83574](https://github.com/dotnet/roslyn/pull/83574)) + * Unify namespaces in Razor formatting (PR: [#83582](https://github.com/dotnet/roslyn/pull/83582)) + * Fix formatting of multiline expressions in attributes (PR: [#83566](https://github.com/dotnet/roslyn/pull/83566)) + * Implement call hierarchy LSP methods in Razor (PR: [#83548](https://github.com/dotnet/roslyn/pull/83548)) + * Add prepareRename support to Razor (PR: [#83599](https://github.com/dotnet/roslyn/pull/83599)) * Update Roslyn to 5.8.0-1.26256.6 (PR: [#9291](https://github.com/dotnet/vscode-csharp/pull/9291)) * Allow LSP character position to go beyond line length (PR: [#83595](https://github.com/dotnet/roslyn/pull/83595)) * Fix leaked event handlers in AbstractRefreshQueue and ProjectSystemProject (PR: [#83561](https://github.com/dotnet/roslyn/pull/83561)) diff --git a/package.json b/package.json index cc78b486c..470926517 100644 --- a/package.json +++ b/package.json @@ -40,9 +40,9 @@ "workspace" ], "defaults": { - "roslyn": "5.8.0-1.26256.6", + "roslyn": "5.8.0-1.26262.9", "omniSharp": "1.39.14", - "razor": "10.4.0-preview.26256.6", + "razor": "10.4.0-preview.26262.9", "razorOmnisharp": "7.0.0-preview.23363.1", "xamlTools": "18.7.11727.258" }, From b8e5a2467d51b7313b978987388a24bbc2e3c11b Mon Sep 17 00:00:00 2001 From: David Wengier Date: Wed, 13 May 2026 14:35:23 +1000 Subject: [PATCH 2/3] Update changelog with PR number Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a88b5acb2..21f262a22 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,13 +4,13 @@ - Debug from .csproj and .sln [#5876](https://github.com/dotnet/vscode-csharp/issues/5876) # 2.142.x -* Update Roslyn to 5.8.0-1.26262.9 (PR: [#](https://github.com/dotnet/vscode-csharp/pull/)) +* Update Roslyn to 5.8.0-1.26262.9 (PR: [#9293](https://github.com/dotnet/vscode-csharp/pull/9293)) * Fix doc comment autocomplete corrupting declarations with existing /// (PR: [#83648](https://github.com/dotnet/roslyn/pull/83648)) * Include generated documents and generator diagnostics in the workspace log (PR: [#83647](https://github.com/dotnet/roslyn/pull/83647)) * Strongly type DocumentResolveData (PR: [#83624](https://github.com/dotnet/roslyn/pull/83624)) * Throw content modified for stale code action resolve request (PR: [#83612](https://github.com/dotnet/roslyn/pull/83612)) * Unsafe evolution: avoid interior effect of `unsafe` modifier on members (PR: [#83452](https://github.com/dotnet/roslyn/pull/83452)) -* Update Razor to 10.4.0-preview.26262.9 (PR: [#](https://github.com/dotnet/vscode-csharp/pull/)) +* Update Razor to 10.4.0-preview.26262.9 (PR: [#9293](https://github.com/dotnet/vscode-csharp/pull/9293)) * Don't crash lowering a generic component type argument with mixed literal/expression content (PR: [#83645](https://github.com/dotnet/roslyn/pull/83645)) * Update metadata of the Razor tree (PR: [#83629](https://github.com/dotnet/roslyn/pull/83629)) * Move razor anaylzers (PR: [#83616](https://github.com/dotnet/roslyn/pull/83616)) From 668d2a2ebe532dbb4d1bd8cdd867893726bce3c4 Mon Sep 17 00:00:00 2001 From: David Wengier Date: Wed, 13 May 2026 14:37:57 +1000 Subject: [PATCH 3/3] Apply suggestions from code review Co-authored-by: David Wengier --- CHANGELOG.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 21f262a22..a87113685 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,18 +6,11 @@ # 2.142.x * Update Roslyn to 5.8.0-1.26262.9 (PR: [#9293](https://github.com/dotnet/vscode-csharp/pull/9293)) * Fix doc comment autocomplete corrupting declarations with existing /// (PR: [#83648](https://github.com/dotnet/roslyn/pull/83648)) - * Include generated documents and generator diagnostics in the workspace log (PR: [#83647](https://github.com/dotnet/roslyn/pull/83647)) - * Strongly type DocumentResolveData (PR: [#83624](https://github.com/dotnet/roslyn/pull/83624)) * Throw content modified for stale code action resolve request (PR: [#83612](https://github.com/dotnet/roslyn/pull/83612)) - * Unsafe evolution: avoid interior effect of `unsafe` modifier on members (PR: [#83452](https://github.com/dotnet/roslyn/pull/83452)) * Update Razor to 10.4.0-preview.26262.9 (PR: [#9293](https://github.com/dotnet/vscode-csharp/pull/9293)) * Don't crash lowering a generic component type argument with mixed literal/expression content (PR: [#83645](https://github.com/dotnet/roslyn/pull/83645)) - * Update metadata of the Razor tree (PR: [#83629](https://github.com/dotnet/roslyn/pull/83629)) - * Move razor anaylzers (PR: [#83616](https://github.com/dotnet/roslyn/pull/83616)) - * Add support for writing HTML literals using UTF-8 strings (PR: [#83457](https://github.com/dotnet/roslyn/pull/83457)) * Avoid _ collision in bind-*:after property accessor (PR: [#83572](https://github.com/dotnet/roslyn/pull/83572)) * Fix ArgumentOutOfRangeException when orphan end tag follows HTML text (PR: [#83574](https://github.com/dotnet/roslyn/pull/83574)) - * Unify namespaces in Razor formatting (PR: [#83582](https://github.com/dotnet/roslyn/pull/83582)) * Fix formatting of multiline expressions in attributes (PR: [#83566](https://github.com/dotnet/roslyn/pull/83566)) * Implement call hierarchy LSP methods in Razor (PR: [#83548](https://github.com/dotnet/roslyn/pull/83548)) * Add prepareRename support to Razor (PR: [#83599](https://github.com/dotnet/roslyn/pull/83599))