Update roslyn to 5.12.0-1.26452.1 - #9725
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The new CHANGELOG entry includes at least one vague/implementation-focused bullet that should be omitted or clarified to match the repository’s Roslyn changelog filtering guidance.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review tier: Lite
Findings: 1
New issues introduced by this change (1)
| Severity | Finding |
|---|---|
CHANGELOG.md — The new Roslyn changelog entry includes a few sub-bullets that are either vague ("Various… |
What changed in this PR
Updates the VS Code C# extension’s bundled Roslyn language server version to a newer official build, and records the update in the extension changelog.
Changes:
- Bump
defaults.roslyninpackage.jsonto5.12.0-1.26452.1. - Add a new Roslyn update entry under
# 2.150.xinCHANGELOG.mdwith selected user-facing highlights.
| File | Description |
|---|---|
| package.json | Updates the default Roslyn language server version consumed by the extension. |
| CHANGELOG.md | Adds a new changelog entry describing the Roslyn version update and notable downstream PRs. |
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-authored-by: David Barbet <dibarbet@gmail.com>
Co-authored-by: Joey Robichaud <jorobich@microsoft.com>
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The changelog update removes the 2.150.x heading, which misgroups prior entries and drops the historical release section structure.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review tier: Lite
Findings: 1
New issues introduced by this change (1)
| Severity | Finding |
|---|---|
CHANGELOG.md — The CHANGELOG no longer has a # 2.150.x section (it was renamed to # 2.151.x in this hunk),… |
Issues resolved since last review (1)
| Severity | Finding |
|---|---|
CHANGELOG.md — The new Roslyn changelog entry includes a few sub-bullets that are either vague ("Various… View resolved comment |
| * Prevent Introduce Constant crash in top-level lambdas (PR: [#85071](https://github.com/dotnet/roslyn/pull/85071)) | ||
| * Update Roslyn to 5.12.0-1.26428.1 (PR: [#9712](https://github.com/dotnet/vscode-csharp/pull/9712)) |
Compare canonical URI strings so equivalent Windows drive-letter casing does not fail the reference integration tests. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 2bc15778-e8b2-4b0b-9868-dfd45e11b2e1
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The updated Razor integration tests compare URIs using toString() in a way that is likely to be overly strict and platform-sensitive, risking test failures.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review tier: Lite
Findings: 1
New issues introduced by this change (1)
| Severity | Finding |
|---|---|
test/razor/razorIntegrationTests/reference.integration.test.ts — Comparing URIs via toString() is likely to make this test OS/encoding-sensitive (e.g., Windows… |
Pre-existing issues (1)
| Severity | Finding |
|---|---|
CHANGELOG.md — The CHANGELOG no longer has a # 2.150.x section (it was renamed to # 2.151.x in this hunk),… View comment |
Suppressed comments (5)
Previously missed (1) — in code that hasn't changed since the last review.
CHANGELOG.md:11
- This changelog bullet is a bit ambiguous as written; using “.cs” makes it clearer that this refers to C# source files.
test/razor/razorIntegrationTests/reference.integration.test.ts:77
- Comparing URIs via
toString()is likely to make this test OS/encoding-sensitive (e.g., Windows drive-letter casing) and unnecessarily strict about scheme/authority. Use the existingintegrationHelpers.expectPath(...)helper to keep comparisons consistent and cross-platform.
expect(definitionLocation.uri.toString()).toBe(vscode.window.activeTextEditor!.document.uri.toString());
test/razor/razorIntegrationTests/reference.integration.test.ts:84
- Comparing URIs via
toString()is likely to make this test OS/encoding-sensitive (e.g., Windows drive-letter casing) and unnecessarily strict about scheme/authority. Use the existingintegrationHelpers.expectPath(...)helper to keep comparisons consistent and cross-platform.
expect(definitionLocation.uri.toString()).toBe(vscode.window.activeTextEditor!.document.uri.toString());
test/razor/razorIntegrationTests/reference.integration.test.ts:91
- Comparing URIs via
toString()is likely to make this test OS/encoding-sensitive (e.g., Windows drive-letter casing) and unnecessarily strict about scheme/authority. Use the existingintegrationHelpers.expectPath(...)helper to keep comparisons consistent and cross-platform.
expect(definitionLocation.uri.toString()).toBe(vscode.window.activeTextEditor!.document.uri.toString());
test/razor/razorIntegrationTests/reference.integration.test.ts:120
- Comparing URIs via
toString()is likely to make this test OS/encoding-sensitive (e.g., Windows drive-letter casing) and unnecessarily strict about scheme/authority. Use the existingintegrationHelpers.expectPath(...)helper (used elsewhere in this file) to keep comparisons consistent and cross-platform.
expect(definitionLocation.uri.toString()).toBe(vscode.window.activeTextEditor!.document.uri.toString());
Use the shared platform-aware path comparison helper for Razor navigation results. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 2bc15778-e8b2-4b0b-9868-dfd45e11b2e1
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The changes are straightforward (version bump + changelog + test robustness tweak) with only a minor changelog wording nit noted.
Review tier: Lite
Findings: 1
Pre-existing issues (1)
| Severity | Finding |
|---|---|
CHANGELOG.md — The CHANGELOG no longer has a # 2.150.x section (it was renamed to # 2.151.x in this hunk),… View comment |
Issues resolved since last review (1)
| Severity | Finding |
|---|---|
test/razor/razorIntegrationTests/reference.integration.test.ts — Comparing URIs via toString() is likely to make this test OS/encoding-sensitive (e.g., Windows… View resolved comment |
Suppressed comments (1)
Previously missed (1) — in code that hasn't changed since the last review.
CHANGELOG.md:11
- Changelog entry says “cs file” which is inconsistent with other entries in this file (typically “.cs file”) and is slightly ambiguous for readers.


Official Roslyn build: 20260902.1 (build 3064069)
View Complete Diff of Changes