[release/9.0-staging] Update dependencies from dotnet/roslyn - #121343

Merged
jeffhandley merged 34 commits into
release/9.0-stagingfrom
darc-release/9.0-staging-4da6a74f-9a77-4837-ae86-0b0dfcd7a5bd
Feb 16, 2026
Merged

[release/9.0-staging] Update dependencies from dotnet/roslyn#121343
jeffhandley merged 34 commits into
release/9.0-stagingfrom
darc-release/9.0-staging-4da6a74f-9a77-4837-ae86-0b0dfcd7a5bd

Conversation

@dotnet-maestro

@dotnet-maestrodotnet-maestroBot commented Nov 4, 2025

Copy link
Copy Markdown
Contributor

This pull request updates the following dependencies

From https://github.com/dotnet/roslyn

…915.8
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25467.18 -> To Version 4.14.0-3.25465.8
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.25173.3 -> To Version 3.12.0-beta1.25465.8
@steveisok

Copy link
Copy Markdown
Member

Failures with Cannot implicitly convert type 'System.ReadOnlySpan<int>' to 'System.Span<int>' seem related.

/cc @jeffhandley

@sbomer

Copy link
Copy Markdown
Member

@copilot fix the error:
src/libraries/System.Text.Json/src/System/Text/Json/Document/JsonDocument.MetadataDb.cs(384,39): error CS0029: (NETCORE_ENGINEERING_TELEMETRY=Build) Cannot implicitly convert type 'System.ReadOnlySpan' to 'System.Span'

CopilotAI commented Nov 6, 2025

Copy link
Copy Markdown
Contributor

@sbomer I've opened a new pull request, #121414, to work on those changes. Once the pull request is ready, I'll request review from you.

…121414)
The Roslyn 4.14.0 compiler update introduced stricter type checking for
`MemoryMarshal.Cast` when called directly on arrays, now returning
`ReadOnlySpan<T>` instead of `Span<T>`.
## Changes
- **JsonDocument.MetadataDb.cs**: Explicitly convert byte array to
`Span<byte>` before casting to `Span<int>` to preserve write access
```csharp
// Before
Span<int> newDbInts = MemoryMarshal.Cast<byte, int>(newDatabase);
// After Span<int> newDbInts = MemoryMarshal.Cast<byte, int>(newDatabase.AsSpan());
```
The writable span is required since the code modifies elements via
`newDbInts[i] -= locationOffset`.
<!-- START COPILOT CODING AGENT TIPS -->
---
💡 You can make Copilot smarter by setting up custom instructions,
customizing its development environment and configuring Model Context
Protocol (MCP) servers. Learn more [Copilot coding agent
tips](https://gh.io/copilot-coding-agent-tips) in the docs.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com>
@steveisok

Copy link
Copy Markdown
Member

@copilot fix the error:

src/libraries/System.Runtime.Numerics/src/System/Numerics/BigInteger.cs(387,65): error CS1503: (NETCORE_ENGINEERING_TELEMETRY=Build) Argument 1: cannot convert from 'System.ReadOnlySpan' to 'System.Span'

CopilotAI commented Nov 10, 2025

Copy link
Copy Markdown
Contributor

@steveisok I've opened a new pull request, #121501, to work on those changes. Once the pull request is ready, I'll request review from you.

steveisokand others added 2 commits November 10, 2025 15:07
…110.12
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25467.18 -> To Version 4.14.0-3.25560.12
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.25173.3 -> To Version 3.12.0-beta1.25560.12
Commit message of the cherry-picked commit (note this branch now
references newer versions):
Update dependencies from dotnet/roslyn (#110105)
* Update dependencies from https://github.com/dotnet/roslyn build 20241122.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-2.24572.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241122.15
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-2.24572.15
* Update dependencies from https://github.com/dotnet/roslyn build 20241124.5
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-2.24574.5
* Update dependencies from https://github.com/dotnet/roslyn build 20241125.18
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24575.18
* Update dependencies from https://github.com/dotnet/roslyn build 20241127.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24577.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241128.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24578.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241128.3
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24578.3
* Update dependencies from https://github.com/dotnet/roslyn build 20241130.1
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24580.1
* Update dependencies from https://github.com/dotnet/roslyn build 20241130.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24580.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241201.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24601.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241202.26
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24602.26
* Use explicit AsSpan
* Fix LibraryImportGenerator.UnitTests
* Fix regex tests
* Adjust trimming test for new codegen
With this roslyn update, the generated iterator state machine
for this test includes a Dispose method which assigns null to the
array, inhibiting dataflow analysis.
---------
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Sven Boemer <sbomer@gmail.com>
@dotnet-policy-servicedotnet-policy-serviceBot added the linkable-framework Issues associated with delivering a linker friendly framework label Nov 11, 2025
@sbomer

Copy link
Copy Markdown
Member

@copilot fix this error: src/libraries/System.Net.Http/src/System/Net/Http/Headers/HttpHeaders.cs(1209,42): error CS8620: (NETCORE_ENGINEERING_TELEMETRY=Build) Argument of type 'string[]' cannot be used for parameter 'values' of type 'Span<string?>' in 'void HttpHeaders.ReadStoreValues<string?>(Span<string?> values, object? storeValue, HttpHeaderParser? parser, ref int currentIndex)' due to differences in the nullability of reference types.

CopilotAI commented Nov 13, 2025

Copy link
Copy Markdown
Contributor

@sbomer I've opened a new pull request, #121601, to work on those changes. Once the pull request is ready, I'll request review from you.

CopilotAIand others added 3 commits November 14, 2025 09:26
…121601)
Fixes compilation error introduced by Roslyn 4.14.0's stricter type
checking for array-to-span conversions.
main PR: #121343
# Description
Roslyn 4.14.0 no longer allows implicit conversion from `string[]` to
`Span<string?>`. Fixed by explicitly converting arrays to spans in
`HttpHeaders.GetStoreValuesIntoStringArray`:
```csharp
// Before
ReadStoreValues<object?>(values, info.ParsedAndInvalidValues, descriptor.Parser, ref currentIndex);
// After ReadStoreValues<object?>(values.AsSpan(), info.ParsedAndInvalidValues, descriptor.Parser, ref currentIndex);
```
# Customer Impact
Blocks servicing release builds. No runtime behavior change.
# Regression
No - compiler enforcement tightening from dependency update.
# Testing
Verified compilation fix. No functional changes to test.
# Risk
Minimal. Surgical two-line change converts array to span where method
signature already required it. Identical pattern to fixes in #121414 and
BigInteger.cs (46bb931).
<!-- START COPILOT CODING AGENT TIPS -->
---
💬 We'd love your input! Share your thoughts on Copilot coding agent in
our [2 minute survey](https://gh.io/copilot-coding-agent-survey).
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com>
Commit message of the cherry-picked commit (note this branch now
references newer versions):
Update Roslyn to 4.13.0-1.24510.9 (#109467)
* Update Roslyn to 4.13.0-1.24510.9
* Update roslyn-analyzers
* Fix first-class Span breaks
* Remove LangVersion=latest
* Fixup more places
* Updates and fixes
---------
Co-authored-by: Jan Jones <janjones@microsoft.com>
sbomerand others added 4 commits November 20, 2025 15:36
…120.7
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.25570.7
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.25173.3 -> To Version 3.12.0-beta1.25570.7
Commit message of the cherry-picked commit (note this branch now
references newer versions):
[main] Update dependencies from dotnet/roslyn (#112937)
* Update dependencies from https://github.com/dotnet/roslyn build 20250225.8
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25125.8
* Update dependencies from https://github.com/dotnet/roslyn build 20250226.5
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25126.5
* Update dependencies from https://github.com/dotnet/roslyn build 20250303.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25153.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250304.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25154.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250305.15
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25155.15
* Update dependencies from https://github.com/dotnet/roslyn build 20250307.4
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25157.4
* Update dependencies from https://github.com/dotnet/roslyn build 20250310.11
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25160.11
* Update dependencies from https://github.com/dotnet/roslyn build 20250311.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25161.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250312.12
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25162.12
* Update dependencies from https://github.com/dotnet/roslyn build 20250313.9
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25163.9
* Update dependencies from https://github.com/dotnet/roslyn build 20250314.6
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25164.6
* Update dependencies from https://github.com/dotnet/roslyn build 20250314.10
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25164.10
* Update dependencies from https://github.com/dotnet/roslyn build 20250317.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25167.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250318.15
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25168.15
* Update dependencies from https://github.com/dotnet/roslyn build 20250319.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25169.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250320.13
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25170.13
* Update dependencies from https://github.com/dotnet/roslyn build 20250321.23
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25171.23
* Update dependencies from https://github.com/dotnet/roslyn build 20250321.27
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25171.27
* Update dependencies from https://github.com/dotnet/roslyn build 2025032.10
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25174.10
* Update dependencies from https://github.com/dotnet/roslyn build 20250325.12
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25175.12
* Update dependencies from https://github.com/dotnet/roslyn build 20250326.10
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25176.10
* Update dependencies from https://github.com/dotnet/roslyn build 20250327.9
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25177.9
* Update dependencies from https://github.com/dotnet/roslyn build 20250328.1
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25178.1
* Update dependencies from https://github.com/dotnet/roslyn build 20250329.1
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25179.1
* Fix compiler warning around unused fields - needed for Unsafe.
* Allow prebuilts for roslyn's dependencies
---------
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Larry Ewing <lewing@microsoft.com>
Co-authored-by: Eric StJohn <ericstj@microsoft.com>
…120.7
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.25570.7
jeffhandleyand others added 3 commits January 8, 2026 10:27
…114.1
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26064.1
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26064.1
…122.10
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26072.10
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26072.10
…209.11
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26109.11
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26109.11
…211.7
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26111.7
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26111.7
…211.11
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26111.11
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26111.11
@jeffhandley
jeffhandley dismissed agocke’s stale reviewFebruary 16, 2026 05:21

Feedback has been resolved

@jeffhandley

Copy link
Copy Markdown
Member

/ba-g Known repository and test errors. Tell mode for code flow.

@jeffhandleyjeffhandley added the Servicing-approved Approved for servicing release label Feb 16, 2026
@jeffhandley
jeffhandley merged commit f505b94 into release/9.0-stagingFeb 16, 2026
154 of 162 checks passed
@jeffhandley
jeffhandley deleted the darc-release/9.0-staging-4da6a74f-9a77-4837-ae86-0b0dfcd7a5bd branch February 16, 2026 16:38
sbomer added a commit that referenced this pull request Mar 17, 2026
sbomer added a commit to sbomer/runtime that referenced this pull request Mar 17, 2026
jozkee pushed a commit that referenced this pull request Mar 18, 2026
@github-actionsgithub-actionsBot locked and limited conversation to collaborators Mar 19, 2026
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-codeflowfor labeling automated codeflowlinkable-frameworkIssues associated with delivering a linker friendly frameworkServicing-approvedApproved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants

@steveisok@sbomer@jozkee@jeffhandley@agocke@ViktorHofer@rbhanda@am11@lewing
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Add copy buttons to all
 blocks\n(function() {\n function addCopyButtons() {\n document.querySelectorAll('pre code').forEach(function(codeBlock) {\n if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;\n codeBlock.parentElement.setAttribute('data-copy-added', 'true');\n \n var btn = document.createElement('button');\n btn.textContent = 'Copy';\n btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';\n btn.onmouseover = function() { this.style.opacity = '1'; };\n btn.onmouseout = function() { this.style.opacity = '0.7'; };\n btn.onclick = function() {\n navigator.clipboard.writeText(codeBlock.textContent).then(function() {\n btn.textContent = 'Copied!';\n setTimeout(function() { btn.textContent = 'Copy'; }, 1500);\n });\n };\n codeBlock.parentElement.style.position = 'relative';\n codeBlock.parentElement.appendChild(btn);\n });\n }\n \n addCopyButtons();\n \n // Re-run on dynamic content\n var observer = new MutationObserver(addCopyButtons);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Add Copy Buttons to Code Blocks");
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
Skip to content

[release/9.0-staging] Update dependencies from dotnet/roslyn - #121343

Merged
jeffhandley merged 34 commits into
release/9.0-stagingfrom
darc-release/9.0-staging-4da6a74f-9a77-4837-ae86-0b0dfcd7a5bd
Feb 16, 2026
Merged

[release/9.0-staging] Update dependencies from dotnet/roslyn#121343
jeffhandley merged 34 commits into
release/9.0-stagingfrom
darc-release/9.0-staging-4da6a74f-9a77-4837-ae86-0b0dfcd7a5bd

Conversation

@dotnet-maestro

@dotnet-maestrodotnet-maestroBot commented Nov 4, 2025

Copy link
Copy Markdown
Contributor

This pull request updates the following dependencies

From https://github.com/dotnet/roslyn

…915.8
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25467.18 -> To Version 4.14.0-3.25465.8
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.25173.3 -> To Version 3.12.0-beta1.25465.8
@steveisok

Copy link
Copy Markdown
Member

Failures with Cannot implicitly convert type 'System.ReadOnlySpan<int>' to 'System.Span<int>' seem related.

/cc @jeffhandley

@sbomer

Copy link
Copy Markdown
Member

@copilot fix the error:
src/libraries/System.Text.Json/src/System/Text/Json/Document/JsonDocument.MetadataDb.cs(384,39): error CS0029: (NETCORE_ENGINEERING_TELEMETRY=Build) Cannot implicitly convert type 'System.ReadOnlySpan' to 'System.Span'

CopilotAI commented Nov 6, 2025

Copy link
Copy Markdown
Contributor

@sbomer I've opened a new pull request, #121414, to work on those changes. Once the pull request is ready, I'll request review from you.

…121414)
The Roslyn 4.14.0 compiler update introduced stricter type checking for
`MemoryMarshal.Cast` when called directly on arrays, now returning
`ReadOnlySpan<T>` instead of `Span<T>`.
## Changes
- **JsonDocument.MetadataDb.cs**: Explicitly convert byte array to
`Span<byte>` before casting to `Span<int>` to preserve write access
```csharp
// Before
Span<int> newDbInts = MemoryMarshal.Cast<byte, int>(newDatabase);
// After Span<int> newDbInts = MemoryMarshal.Cast<byte, int>(newDatabase.AsSpan());
```
The writable span is required since the code modifies elements via
`newDbInts[i] -= locationOffset`.
<!-- START COPILOT CODING AGENT TIPS -->
---
💡 You can make Copilot smarter by setting up custom instructions,
customizing its development environment and configuring Model Context
Protocol (MCP) servers. Learn more [Copilot coding agent
tips](https://gh.io/copilot-coding-agent-tips) in the docs.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com>
@steveisok

Copy link
Copy Markdown
Member

@copilot fix the error:

src/libraries/System.Runtime.Numerics/src/System/Numerics/BigInteger.cs(387,65): error CS1503: (NETCORE_ENGINEERING_TELEMETRY=Build) Argument 1: cannot convert from 'System.ReadOnlySpan' to 'System.Span'

CopilotAI commented Nov 10, 2025

Copy link
Copy Markdown
Contributor

@steveisok I've opened a new pull request, #121501, to work on those changes. Once the pull request is ready, I'll request review from you.

steveisokand others added 2 commits November 10, 2025 15:07
…110.12
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25467.18 -> To Version 4.14.0-3.25560.12
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.25173.3 -> To Version 3.12.0-beta1.25560.12
Commit message of the cherry-picked commit (note this branch now
references newer versions):
Update dependencies from dotnet/roslyn (#110105)
* Update dependencies from https://github.com/dotnet/roslyn build 20241122.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-2.24572.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241122.15
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-2.24572.15
* Update dependencies from https://github.com/dotnet/roslyn build 20241124.5
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-2.24574.5
* Update dependencies from https://github.com/dotnet/roslyn build 20241125.18
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24575.18
* Update dependencies from https://github.com/dotnet/roslyn build 20241127.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24577.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241128.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24578.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241128.3
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24578.3
* Update dependencies from https://github.com/dotnet/roslyn build 20241130.1
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24580.1
* Update dependencies from https://github.com/dotnet/roslyn build 20241130.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24580.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241201.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24601.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241202.26
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24602.26
* Use explicit AsSpan
* Fix LibraryImportGenerator.UnitTests
* Fix regex tests
* Adjust trimming test for new codegen
With this roslyn update, the generated iterator state machine
for this test includes a Dispose method which assigns null to the
array, inhibiting dataflow analysis.
---------
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Sven Boemer <sbomer@gmail.com>
@dotnet-policy-servicedotnet-policy-serviceBot added the linkable-framework Issues associated with delivering a linker friendly framework label Nov 11, 2025
@sbomer

Copy link
Copy Markdown
Member

@copilot fix this error: src/libraries/System.Net.Http/src/System/Net/Http/Headers/HttpHeaders.cs(1209,42): error CS8620: (NETCORE_ENGINEERING_TELEMETRY=Build) Argument of type 'string[]' cannot be used for parameter 'values' of type 'Span<string?>' in 'void HttpHeaders.ReadStoreValues<string?>(Span<string?> values, object? storeValue, HttpHeaderParser? parser, ref int currentIndex)' due to differences in the nullability of reference types.

CopilotAI commented Nov 13, 2025

Copy link
Copy Markdown
Contributor

@sbomer I've opened a new pull request, #121601, to work on those changes. Once the pull request is ready, I'll request review from you.

CopilotAIand others added 3 commits November 14, 2025 09:26
…121601)
Fixes compilation error introduced by Roslyn 4.14.0's stricter type
checking for array-to-span conversions.
main PR: #121343
# Description
Roslyn 4.14.0 no longer allows implicit conversion from `string[]` to
`Span<string?>`. Fixed by explicitly converting arrays to spans in
`HttpHeaders.GetStoreValuesIntoStringArray`:
```csharp
// Before
ReadStoreValues<object?>(values, info.ParsedAndInvalidValues, descriptor.Parser, ref currentIndex);
// After ReadStoreValues<object?>(values.AsSpan(), info.ParsedAndInvalidValues, descriptor.Parser, ref currentIndex);
```
# Customer Impact
Blocks servicing release builds. No runtime behavior change.
# Regression
No - compiler enforcement tightening from dependency update.
# Testing
Verified compilation fix. No functional changes to test.
# Risk
Minimal. Surgical two-line change converts array to span where method
signature already required it. Identical pattern to fixes in #121414 and
BigInteger.cs (46bb931).
<!-- START COPILOT CODING AGENT TIPS -->
---
💬 We'd love your input! Share your thoughts on Copilot coding agent in
our [2 minute survey](https://gh.io/copilot-coding-agent-survey).
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com>
Commit message of the cherry-picked commit (note this branch now
references newer versions):
Update Roslyn to 4.13.0-1.24510.9 (#109467)
* Update Roslyn to 4.13.0-1.24510.9
* Update roslyn-analyzers
* Fix first-class Span breaks
* Remove LangVersion=latest
* Fixup more places
* Updates and fixes
---------
Co-authored-by: Jan Jones <janjones@microsoft.com>
sbomerand others added 4 commits November 20, 2025 15:36
…120.7
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.25570.7
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.25173.3 -> To Version 3.12.0-beta1.25570.7
Commit message of the cherry-picked commit (note this branch now
references newer versions):
[main] Update dependencies from dotnet/roslyn (#112937)
* Update dependencies from https://github.com/dotnet/roslyn build 20250225.8
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25125.8
* Update dependencies from https://github.com/dotnet/roslyn build 20250226.5
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25126.5
* Update dependencies from https://github.com/dotnet/roslyn build 20250303.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25153.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250304.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25154.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250305.15
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25155.15
* Update dependencies from https://github.com/dotnet/roslyn build 20250307.4
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25157.4
* Update dependencies from https://github.com/dotnet/roslyn build 20250310.11
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25160.11
* Update dependencies from https://github.com/dotnet/roslyn build 20250311.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25161.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250312.12
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25162.12
* Update dependencies from https://github.com/dotnet/roslyn build 20250313.9
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25163.9
* Update dependencies from https://github.com/dotnet/roslyn build 20250314.6
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25164.6
* Update dependencies from https://github.com/dotnet/roslyn build 20250314.10
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25164.10
* Update dependencies from https://github.com/dotnet/roslyn build 20250317.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25167.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250318.15
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25168.15
* Update dependencies from https://github.com/dotnet/roslyn build 20250319.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25169.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250320.13
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25170.13
* Update dependencies from https://github.com/dotnet/roslyn build 20250321.23
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25171.23
* Update dependencies from https://github.com/dotnet/roslyn build 20250321.27
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25171.27
* Update dependencies from https://github.com/dotnet/roslyn build 2025032.10
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25174.10
* Update dependencies from https://github.com/dotnet/roslyn build 20250325.12
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25175.12
* Update dependencies from https://github.com/dotnet/roslyn build 20250326.10
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25176.10
* Update dependencies from https://github.com/dotnet/roslyn build 20250327.9
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25177.9
* Update dependencies from https://github.com/dotnet/roslyn build 20250328.1
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25178.1
* Update dependencies from https://github.com/dotnet/roslyn build 20250329.1
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25179.1
* Fix compiler warning around unused fields - needed for Unsafe.
* Allow prebuilts for roslyn's dependencies
---------
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Larry Ewing <lewing@microsoft.com>
Co-authored-by: Eric StJohn <ericstj@microsoft.com>
…120.7
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.25570.7
jeffhandleyand others added 3 commits January 8, 2026 10:27
…114.1
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26064.1
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26064.1
…122.10
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26072.10
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26072.10
…209.11
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26109.11
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26109.11
…211.7
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26111.7
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26111.7
…211.11
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26111.11
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26111.11
@jeffhandley
jeffhandley dismissed agocke’s stale reviewFebruary 16, 2026 05:21

Feedback has been resolved

@jeffhandley

Copy link
Copy Markdown
Member

/ba-g Known repository and test errors. Tell mode for code flow.

@jeffhandleyjeffhandley added the Servicing-approved Approved for servicing release label Feb 16, 2026
@jeffhandley
jeffhandley merged commit f505b94 into release/9.0-stagingFeb 16, 2026
154 of 162 checks passed
@jeffhandley
jeffhandley deleted the darc-release/9.0-staging-4da6a74f-9a77-4837-ae86-0b0dfcd7a5bd branch February 16, 2026 16:38
sbomer added a commit that referenced this pull request Mar 17, 2026
sbomer added a commit to sbomer/runtime that referenced this pull request Mar 17, 2026
jozkee pushed a commit that referenced this pull request Mar 18, 2026
@github-actionsgithub-actionsBot locked and limited conversation to collaborators Mar 19, 2026
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-codeflowfor labeling automated codeflowlinkable-frameworkIssues associated with delivering a linker friendly frameworkServicing-approvedApproved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants

@steveisok@sbomer@jozkee@jeffhandley@agocke@ViktorHofer@rbhanda@am11@lewing
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Force GitHub README to respect dark mode\n(function() {\n var style = document.createElement('style');\n style.textContent = '\n .markdown-body {\n color-scheme: dark light;\n }\n .markdown-body pre { background: #161b22 !important; }\n .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; }\n .markdown-body table th, .markdown-body table td { border-color: #30363d !important; }\n .markdown-body img { background: #0d1117; }\n .markdown-body blockquote { border-left-color: #8b949e; }\n .markdown-body hr { border-color: #30363d; }\n ';\n document.head.appendChild(style);\n})();", "GitHub Dark Mode README Fix"); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

[release/9.0-staging] Update dependencies from dotnet/roslyn - #121343

Merged
jeffhandley merged 34 commits into
release/9.0-stagingfrom
darc-release/9.0-staging-4da6a74f-9a77-4837-ae86-0b0dfcd7a5bd
Feb 16, 2026
Merged

[release/9.0-staging] Update dependencies from dotnet/roslyn#121343
jeffhandley merged 34 commits into
release/9.0-stagingfrom
darc-release/9.0-staging-4da6a74f-9a77-4837-ae86-0b0dfcd7a5bd

Conversation

@dotnet-maestro

@dotnet-maestrodotnet-maestroBot commented Nov 4, 2025

Copy link
Copy Markdown
Contributor

This pull request updates the following dependencies

From https://github.com/dotnet/roslyn

…915.8
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25467.18 -> To Version 4.14.0-3.25465.8
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.25173.3 -> To Version 3.12.0-beta1.25465.8
@steveisok

Copy link
Copy Markdown
Member

Failures with Cannot implicitly convert type 'System.ReadOnlySpan<int>' to 'System.Span<int>' seem related.

/cc @jeffhandley

@sbomer

Copy link
Copy Markdown
Member

@copilot fix the error:
src/libraries/System.Text.Json/src/System/Text/Json/Document/JsonDocument.MetadataDb.cs(384,39): error CS0029: (NETCORE_ENGINEERING_TELEMETRY=Build) Cannot implicitly convert type 'System.ReadOnlySpan' to 'System.Span'

CopilotAI commented Nov 6, 2025

Copy link
Copy Markdown
Contributor

@sbomer I've opened a new pull request, #121414, to work on those changes. Once the pull request is ready, I'll request review from you.

…121414)
The Roslyn 4.14.0 compiler update introduced stricter type checking for
`MemoryMarshal.Cast` when called directly on arrays, now returning
`ReadOnlySpan<T>` instead of `Span<T>`.
## Changes
- **JsonDocument.MetadataDb.cs**: Explicitly convert byte array to
`Span<byte>` before casting to `Span<int>` to preserve write access
```csharp
// Before
Span<int> newDbInts = MemoryMarshal.Cast<byte, int>(newDatabase);
// After Span<int> newDbInts = MemoryMarshal.Cast<byte, int>(newDatabase.AsSpan());
```
The writable span is required since the code modifies elements via
`newDbInts[i] -= locationOffset`.
<!-- START COPILOT CODING AGENT TIPS -->
---
💡 You can make Copilot smarter by setting up custom instructions,
customizing its development environment and configuring Model Context
Protocol (MCP) servers. Learn more [Copilot coding agent
tips](https://gh.io/copilot-coding-agent-tips) in the docs.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com>
@steveisok

Copy link
Copy Markdown
Member

@copilot fix the error:

src/libraries/System.Runtime.Numerics/src/System/Numerics/BigInteger.cs(387,65): error CS1503: (NETCORE_ENGINEERING_TELEMETRY=Build) Argument 1: cannot convert from 'System.ReadOnlySpan' to 'System.Span'

CopilotAI commented Nov 10, 2025

Copy link
Copy Markdown
Contributor

@steveisok I've opened a new pull request, #121501, to work on those changes. Once the pull request is ready, I'll request review from you.

steveisokand others added 2 commits November 10, 2025 15:07
…110.12
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25467.18 -> To Version 4.14.0-3.25560.12
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.25173.3 -> To Version 3.12.0-beta1.25560.12
Commit message of the cherry-picked commit (note this branch now
references newer versions):
Update dependencies from dotnet/roslyn (#110105)
* Update dependencies from https://github.com/dotnet/roslyn build 20241122.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-2.24572.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241122.15
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-2.24572.15
* Update dependencies from https://github.com/dotnet/roslyn build 20241124.5
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-2.24574.5
* Update dependencies from https://github.com/dotnet/roslyn build 20241125.18
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24575.18
* Update dependencies from https://github.com/dotnet/roslyn build 20241127.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24577.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241128.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24578.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241128.3
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24578.3
* Update dependencies from https://github.com/dotnet/roslyn build 20241130.1
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24580.1
* Update dependencies from https://github.com/dotnet/roslyn build 20241130.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24580.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241201.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24601.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241202.26
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24602.26
* Use explicit AsSpan
* Fix LibraryImportGenerator.UnitTests
* Fix regex tests
* Adjust trimming test for new codegen
With this roslyn update, the generated iterator state machine
for this test includes a Dispose method which assigns null to the
array, inhibiting dataflow analysis.
---------
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Sven Boemer <sbomer@gmail.com>
@dotnet-policy-servicedotnet-policy-serviceBot added the linkable-framework Issues associated with delivering a linker friendly framework label Nov 11, 2025
@sbomer

Copy link
Copy Markdown
Member

@copilot fix this error: src/libraries/System.Net.Http/src/System/Net/Http/Headers/HttpHeaders.cs(1209,42): error CS8620: (NETCORE_ENGINEERING_TELEMETRY=Build) Argument of type 'string[]' cannot be used for parameter 'values' of type 'Span<string?>' in 'void HttpHeaders.ReadStoreValues<string?>(Span<string?> values, object? storeValue, HttpHeaderParser? parser, ref int currentIndex)' due to differences in the nullability of reference types.

CopilotAI commented Nov 13, 2025

Copy link
Copy Markdown
Contributor

@sbomer I've opened a new pull request, #121601, to work on those changes. Once the pull request is ready, I'll request review from you.

CopilotAIand others added 3 commits November 14, 2025 09:26
…121601)
Fixes compilation error introduced by Roslyn 4.14.0's stricter type
checking for array-to-span conversions.
main PR: #121343
# Description
Roslyn 4.14.0 no longer allows implicit conversion from `string[]` to
`Span<string?>`. Fixed by explicitly converting arrays to spans in
`HttpHeaders.GetStoreValuesIntoStringArray`:
```csharp
// Before
ReadStoreValues<object?>(values, info.ParsedAndInvalidValues, descriptor.Parser, ref currentIndex);
// After ReadStoreValues<object?>(values.AsSpan(), info.ParsedAndInvalidValues, descriptor.Parser, ref currentIndex);
```
# Customer Impact
Blocks servicing release builds. No runtime behavior change.
# Regression
No - compiler enforcement tightening from dependency update.
# Testing
Verified compilation fix. No functional changes to test.
# Risk
Minimal. Surgical two-line change converts array to span where method
signature already required it. Identical pattern to fixes in #121414 and
BigInteger.cs (46bb931).
<!-- START COPILOT CODING AGENT TIPS -->
---
💬 We'd love your input! Share your thoughts on Copilot coding agent in
our [2 minute survey](https://gh.io/copilot-coding-agent-survey).
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com>
Commit message of the cherry-picked commit (note this branch now
references newer versions):
Update Roslyn to 4.13.0-1.24510.9 (#109467)
* Update Roslyn to 4.13.0-1.24510.9
* Update roslyn-analyzers
* Fix first-class Span breaks
* Remove LangVersion=latest
* Fixup more places
* Updates and fixes
---------
Co-authored-by: Jan Jones <janjones@microsoft.com>
sbomerand others added 4 commits November 20, 2025 15:36
…120.7
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.25570.7
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.25173.3 -> To Version 3.12.0-beta1.25570.7
Commit message of the cherry-picked commit (note this branch now
references newer versions):
[main] Update dependencies from dotnet/roslyn (#112937)
* Update dependencies from https://github.com/dotnet/roslyn build 20250225.8
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25125.8
* Update dependencies from https://github.com/dotnet/roslyn build 20250226.5
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25126.5
* Update dependencies from https://github.com/dotnet/roslyn build 20250303.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25153.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250304.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25154.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250305.15
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25155.15
* Update dependencies from https://github.com/dotnet/roslyn build 20250307.4
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25157.4
* Update dependencies from https://github.com/dotnet/roslyn build 20250310.11
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25160.11
* Update dependencies from https://github.com/dotnet/roslyn build 20250311.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25161.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250312.12
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25162.12
* Update dependencies from https://github.com/dotnet/roslyn build 20250313.9
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25163.9
* Update dependencies from https://github.com/dotnet/roslyn build 20250314.6
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25164.6
* Update dependencies from https://github.com/dotnet/roslyn build 20250314.10
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25164.10
* Update dependencies from https://github.com/dotnet/roslyn build 20250317.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25167.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250318.15
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25168.15
* Update dependencies from https://github.com/dotnet/roslyn build 20250319.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25169.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250320.13
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25170.13
* Update dependencies from https://github.com/dotnet/roslyn build 20250321.23
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25171.23
* Update dependencies from https://github.com/dotnet/roslyn build 20250321.27
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25171.27
* Update dependencies from https://github.com/dotnet/roslyn build 2025032.10
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25174.10
* Update dependencies from https://github.com/dotnet/roslyn build 20250325.12
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25175.12
* Update dependencies from https://github.com/dotnet/roslyn build 20250326.10
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25176.10
* Update dependencies from https://github.com/dotnet/roslyn build 20250327.9
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25177.9
* Update dependencies from https://github.com/dotnet/roslyn build 20250328.1
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25178.1
* Update dependencies from https://github.com/dotnet/roslyn build 20250329.1
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25179.1
* Fix compiler warning around unused fields - needed for Unsafe.
* Allow prebuilts for roslyn's dependencies
---------
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Larry Ewing <lewing@microsoft.com>
Co-authored-by: Eric StJohn <ericstj@microsoft.com>
…120.7
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.25570.7
jeffhandleyand others added 3 commits January 8, 2026 10:27
…114.1
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26064.1
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26064.1
…122.10
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26072.10
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26072.10
…209.11
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26109.11
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26109.11
…211.7
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26111.7
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26111.7
…211.11
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26111.11
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26111.11
@jeffhandley
jeffhandley dismissed agocke’s stale reviewFebruary 16, 2026 05:21

Feedback has been resolved

@jeffhandley

Copy link
Copy Markdown
Member

/ba-g Known repository and test errors. Tell mode for code flow.

@jeffhandleyjeffhandley added the Servicing-approved Approved for servicing release label Feb 16, 2026
@jeffhandley
jeffhandley merged commit f505b94 into release/9.0-stagingFeb 16, 2026
154 of 162 checks passed
@jeffhandley
jeffhandley deleted the darc-release/9.0-staging-4da6a74f-9a77-4837-ae86-0b0dfcd7a5bd branch February 16, 2026 16:38
sbomer added a commit that referenced this pull request Mar 17, 2026
sbomer added a commit to sbomer/runtime that referenced this pull request Mar 17, 2026
jozkee pushed a commit that referenced this pull request Mar 18, 2026
@github-actionsgithub-actionsBot locked and limited conversation to collaborators Mar 19, 2026
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-codeflowfor labeling automated codeflowlinkable-frameworkIssues associated with delivering a linker friendly frameworkServicing-approvedApproved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants

@steveisok@sbomer@jozkee@jeffhandley@agocke@ViktorHofer@rbhanda@am11@lewing
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Highlight search terms from Google/DuckDuckGo/Bing referrer\n(function() {\n var ref = document.referrer;\n var terms = [];\n \n if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) {\n var url = new URL(ref);\n var q = url.searchParams.get('q') || url.searchParams.get('p');\n if (q) {\n terms = q.split(/\\s+/).filter(function(t) { return t.length > 2; });\n }\n }\n \n if (terms.length === 0) return;\n \n var style = document.createElement('style');\n style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }';\n document.head.appendChild(style);\n \n function highlight(node) {\n if (node.nodeType === 3) { // text node\n var text = node.textContent;\n var found = false;\n terms.forEach(function(term) {\n var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\') + ')', 'gi');\n if (regex.test(text)) {\n found = true;\n var frag = document.createDocumentFragment();\n var parts = text.split(regex);\n parts.forEach(function(part, i) {\n if (i % 2 === 0) {\n frag.appendChild(document.createTextNode(part));\n } else {\n var span = document.createElement('span');\n span.className = 'userscript-highlight';\n span.textContent = part;\n frag.appendChild(span);\n }\n });\n node.parentNode.replaceChild(frag, node);\n }\n });\n } else if (node.nodeType === 1 && node.childNodes) { // element\n var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT'];\n if (!skipTags.includes(node.tagName)) {\n Array.from(node.childNodes).forEach(highlight);\n }\n }\n }\n \n highlight(document.body);\n \n // Re-highlight on dynamic content\n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1 || node.nodeType === 3) highlight(node);\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Highlight Search Terms"); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

[release/9.0-staging] Update dependencies from dotnet/roslyn - #121343

Merged
jeffhandley merged 34 commits into
release/9.0-stagingfrom
darc-release/9.0-staging-4da6a74f-9a77-4837-ae86-0b0dfcd7a5bd
Feb 16, 2026
Merged

[release/9.0-staging] Update dependencies from dotnet/roslyn#121343
jeffhandley merged 34 commits into
release/9.0-stagingfrom
darc-release/9.0-staging-4da6a74f-9a77-4837-ae86-0b0dfcd7a5bd

Conversation

@dotnet-maestro

@dotnet-maestrodotnet-maestroBot commented Nov 4, 2025

Copy link
Copy Markdown
Contributor

This pull request updates the following dependencies

From https://github.com/dotnet/roslyn

…915.8
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25467.18 -> To Version 4.14.0-3.25465.8
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.25173.3 -> To Version 3.12.0-beta1.25465.8
@steveisok

Copy link
Copy Markdown
Member

Failures with Cannot implicitly convert type 'System.ReadOnlySpan<int>' to 'System.Span<int>' seem related.

/cc @jeffhandley

@sbomer

Copy link
Copy Markdown
Member

@copilot fix the error:
src/libraries/System.Text.Json/src/System/Text/Json/Document/JsonDocument.MetadataDb.cs(384,39): error CS0029: (NETCORE_ENGINEERING_TELEMETRY=Build) Cannot implicitly convert type 'System.ReadOnlySpan' to 'System.Span'

CopilotAI commented Nov 6, 2025

Copy link
Copy Markdown
Contributor

@sbomer I've opened a new pull request, #121414, to work on those changes. Once the pull request is ready, I'll request review from you.

…121414)
The Roslyn 4.14.0 compiler update introduced stricter type checking for
`MemoryMarshal.Cast` when called directly on arrays, now returning
`ReadOnlySpan<T>` instead of `Span<T>`.
## Changes
- **JsonDocument.MetadataDb.cs**: Explicitly convert byte array to
`Span<byte>` before casting to `Span<int>` to preserve write access
```csharp
// Before
Span<int> newDbInts = MemoryMarshal.Cast<byte, int>(newDatabase);
// After Span<int> newDbInts = MemoryMarshal.Cast<byte, int>(newDatabase.AsSpan());
```
The writable span is required since the code modifies elements via
`newDbInts[i] -= locationOffset`.
<!-- START COPILOT CODING AGENT TIPS -->
---
💡 You can make Copilot smarter by setting up custom instructions,
customizing its development environment and configuring Model Context
Protocol (MCP) servers. Learn more [Copilot coding agent
tips](https://gh.io/copilot-coding-agent-tips) in the docs.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com>
@steveisok

Copy link
Copy Markdown
Member

@copilot fix the error:

src/libraries/System.Runtime.Numerics/src/System/Numerics/BigInteger.cs(387,65): error CS1503: (NETCORE_ENGINEERING_TELEMETRY=Build) Argument 1: cannot convert from 'System.ReadOnlySpan' to 'System.Span'

CopilotAI commented Nov 10, 2025

Copy link
Copy Markdown
Contributor

@steveisok I've opened a new pull request, #121501, to work on those changes. Once the pull request is ready, I'll request review from you.

steveisokand others added 2 commits November 10, 2025 15:07
…110.12
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25467.18 -> To Version 4.14.0-3.25560.12
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.25173.3 -> To Version 3.12.0-beta1.25560.12
Commit message of the cherry-picked commit (note this branch now
references newer versions):
Update dependencies from dotnet/roslyn (#110105)
* Update dependencies from https://github.com/dotnet/roslyn build 20241122.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-2.24572.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241122.15
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-2.24572.15
* Update dependencies from https://github.com/dotnet/roslyn build 20241124.5
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-2.24574.5
* Update dependencies from https://github.com/dotnet/roslyn build 20241125.18
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24575.18
* Update dependencies from https://github.com/dotnet/roslyn build 20241127.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24577.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241128.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24578.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241128.3
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24578.3
* Update dependencies from https://github.com/dotnet/roslyn build 20241130.1
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24580.1
* Update dependencies from https://github.com/dotnet/roslyn build 20241130.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24580.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241201.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24601.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241202.26
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24602.26
* Use explicit AsSpan
* Fix LibraryImportGenerator.UnitTests
* Fix regex tests
* Adjust trimming test for new codegen
With this roslyn update, the generated iterator state machine
for this test includes a Dispose method which assigns null to the
array, inhibiting dataflow analysis.
---------
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Sven Boemer <sbomer@gmail.com>
@dotnet-policy-servicedotnet-policy-serviceBot added the linkable-framework Issues associated with delivering a linker friendly framework label Nov 11, 2025
@sbomer

Copy link
Copy Markdown
Member

@copilot fix this error: src/libraries/System.Net.Http/src/System/Net/Http/Headers/HttpHeaders.cs(1209,42): error CS8620: (NETCORE_ENGINEERING_TELEMETRY=Build) Argument of type 'string[]' cannot be used for parameter 'values' of type 'Span<string?>' in 'void HttpHeaders.ReadStoreValues<string?>(Span<string?> values, object? storeValue, HttpHeaderParser? parser, ref int currentIndex)' due to differences in the nullability of reference types.

CopilotAI commented Nov 13, 2025

Copy link
Copy Markdown
Contributor

@sbomer I've opened a new pull request, #121601, to work on those changes. Once the pull request is ready, I'll request review from you.

CopilotAIand others added 3 commits November 14, 2025 09:26
…121601)
Fixes compilation error introduced by Roslyn 4.14.0's stricter type
checking for array-to-span conversions.
main PR: #121343
# Description
Roslyn 4.14.0 no longer allows implicit conversion from `string[]` to
`Span<string?>`. Fixed by explicitly converting arrays to spans in
`HttpHeaders.GetStoreValuesIntoStringArray`:
```csharp
// Before
ReadStoreValues<object?>(values, info.ParsedAndInvalidValues, descriptor.Parser, ref currentIndex);
// After ReadStoreValues<object?>(values.AsSpan(), info.ParsedAndInvalidValues, descriptor.Parser, ref currentIndex);
```
# Customer Impact
Blocks servicing release builds. No runtime behavior change.
# Regression
No - compiler enforcement tightening from dependency update.
# Testing
Verified compilation fix. No functional changes to test.
# Risk
Minimal. Surgical two-line change converts array to span where method
signature already required it. Identical pattern to fixes in #121414 and
BigInteger.cs (46bb931).
<!-- START COPILOT CODING AGENT TIPS -->
---
💬 We'd love your input! Share your thoughts on Copilot coding agent in
our [2 minute survey](https://gh.io/copilot-coding-agent-survey).
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com>
Commit message of the cherry-picked commit (note this branch now
references newer versions):
Update Roslyn to 4.13.0-1.24510.9 (#109467)
* Update Roslyn to 4.13.0-1.24510.9
* Update roslyn-analyzers
* Fix first-class Span breaks
* Remove LangVersion=latest
* Fixup more places
* Updates and fixes
---------
Co-authored-by: Jan Jones <janjones@microsoft.com>
sbomerand others added 4 commits November 20, 2025 15:36
…120.7
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.25570.7
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.25173.3 -> To Version 3.12.0-beta1.25570.7
Commit message of the cherry-picked commit (note this branch now
references newer versions):
[main] Update dependencies from dotnet/roslyn (#112937)
* Update dependencies from https://github.com/dotnet/roslyn build 20250225.8
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25125.8
* Update dependencies from https://github.com/dotnet/roslyn build 20250226.5
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25126.5
* Update dependencies from https://github.com/dotnet/roslyn build 20250303.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25153.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250304.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25154.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250305.15
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25155.15
* Update dependencies from https://github.com/dotnet/roslyn build 20250307.4
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25157.4
* Update dependencies from https://github.com/dotnet/roslyn build 20250310.11
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25160.11
* Update dependencies from https://github.com/dotnet/roslyn build 20250311.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25161.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250312.12
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25162.12
* Update dependencies from https://github.com/dotnet/roslyn build 20250313.9
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25163.9
* Update dependencies from https://github.com/dotnet/roslyn build 20250314.6
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25164.6
* Update dependencies from https://github.com/dotnet/roslyn build 20250314.10
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25164.10
* Update dependencies from https://github.com/dotnet/roslyn build 20250317.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25167.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250318.15
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25168.15
* Update dependencies from https://github.com/dotnet/roslyn build 20250319.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25169.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250320.13
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25170.13
* Update dependencies from https://github.com/dotnet/roslyn build 20250321.23
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25171.23
* Update dependencies from https://github.com/dotnet/roslyn build 20250321.27
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25171.27
* Update dependencies from https://github.com/dotnet/roslyn build 2025032.10
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25174.10
* Update dependencies from https://github.com/dotnet/roslyn build 20250325.12
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25175.12
* Update dependencies from https://github.com/dotnet/roslyn build 20250326.10
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25176.10
* Update dependencies from https://github.com/dotnet/roslyn build 20250327.9
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25177.9
* Update dependencies from https://github.com/dotnet/roslyn build 20250328.1
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25178.1
* Update dependencies from https://github.com/dotnet/roslyn build 20250329.1
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25179.1
* Fix compiler warning around unused fields - needed for Unsafe.
* Allow prebuilts for roslyn's dependencies
---------
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Larry Ewing <lewing@microsoft.com>
Co-authored-by: Eric StJohn <ericstj@microsoft.com>
…120.7
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.25570.7
jeffhandleyand others added 3 commits January 8, 2026 10:27
…114.1
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26064.1
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26064.1
…122.10
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26072.10
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26072.10
…209.11
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26109.11
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26109.11
…211.7
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26111.7
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26111.7
…211.11
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26111.11
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26111.11
@jeffhandley
jeffhandley dismissed agocke’s stale reviewFebruary 16, 2026 05:21

Feedback has been resolved

@jeffhandley

Copy link
Copy Markdown
Member

/ba-g Known repository and test errors. Tell mode for code flow.

@jeffhandleyjeffhandley added the Servicing-approved Approved for servicing release label Feb 16, 2026
@jeffhandley
jeffhandley merged commit f505b94 into release/9.0-stagingFeb 16, 2026
154 of 162 checks passed
@jeffhandley
jeffhandley deleted the darc-release/9.0-staging-4da6a74f-9a77-4837-ae86-0b0dfcd7a5bd branch February 16, 2026 16:38
sbomer added a commit that referenced this pull request Mar 17, 2026
sbomer added a commit to sbomer/runtime that referenced this pull request Mar 17, 2026
jozkee pushed a commit that referenced this pull request Mar 18, 2026
@github-actionsgithub-actionsBot locked and limited conversation to collaborators Mar 19, 2026
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-codeflowfor labeling automated codeflowlinkable-frameworkIssues associated with delivering a linker friendly frameworkServicing-approvedApproved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants

@steveisok@sbomer@jozkee@jeffhandley@agocke@ViktorHofer@rbhanda@am11@lewing
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Strip utm_, fbclid, gclid, etc. from all links on page\n(function() {\n var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content',\n 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid',\n 'ref', 'ref_src', 'source', 'medium', 'campaign'];\n \n function cleanUrl(url) {\n try {\n var u = new URL(url, window.location.origin);\n var changed = false;\n trackingParams.forEach(function(p) {\n if (u.searchParams.has(p)) {\n u.searchParams.delete(p);\n changed = true;\n }\n });\n return changed ? u.toString() : url;\n } catch (e) {\n return url;\n }\n }\n \n function cleanLinks() {\n document.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n \n cleanLinks();\n \n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1) {\n if (node.tagName === 'A') cleanLinks();\n node.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Remove Tracking Parameters from Links"); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + '
Skip to content

[release/9.0-staging] Update dependencies from dotnet/roslyn - #121343

Merged
jeffhandley merged 34 commits into
release/9.0-stagingfrom
darc-release/9.0-staging-4da6a74f-9a77-4837-ae86-0b0dfcd7a5bd
Feb 16, 2026
Merged

[release/9.0-staging] Update dependencies from dotnet/roslyn#121343
jeffhandley merged 34 commits into
release/9.0-stagingfrom
darc-release/9.0-staging-4da6a74f-9a77-4837-ae86-0b0dfcd7a5bd

Conversation

@dotnet-maestro

@dotnet-maestrodotnet-maestroBot commented Nov 4, 2025

Copy link
Copy Markdown
Contributor

This pull request updates the following dependencies

From https://github.com/dotnet/roslyn

…915.8
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25467.18 -> To Version 4.14.0-3.25465.8
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.25173.3 -> To Version 3.12.0-beta1.25465.8
@steveisok

Copy link
Copy Markdown
Member

Failures with Cannot implicitly convert type 'System.ReadOnlySpan<int>' to 'System.Span<int>' seem related.

/cc @jeffhandley

@sbomer

Copy link
Copy Markdown
Member

@copilot fix the error:
src/libraries/System.Text.Json/src/System/Text/Json/Document/JsonDocument.MetadataDb.cs(384,39): error CS0029: (NETCORE_ENGINEERING_TELEMETRY=Build) Cannot implicitly convert type 'System.ReadOnlySpan' to 'System.Span'

CopilotAI commented Nov 6, 2025

Copy link
Copy Markdown
Contributor

@sbomer I've opened a new pull request, #121414, to work on those changes. Once the pull request is ready, I'll request review from you.

…121414)
The Roslyn 4.14.0 compiler update introduced stricter type checking for
`MemoryMarshal.Cast` when called directly on arrays, now returning
`ReadOnlySpan<T>` instead of `Span<T>`.
## Changes
- **JsonDocument.MetadataDb.cs**: Explicitly convert byte array to
`Span<byte>` before casting to `Span<int>` to preserve write access
```csharp
// Before
Span<int> newDbInts = MemoryMarshal.Cast<byte, int>(newDatabase);
// After Span<int> newDbInts = MemoryMarshal.Cast<byte, int>(newDatabase.AsSpan());
```
The writable span is required since the code modifies elements via
`newDbInts[i] -= locationOffset`.
<!-- START COPILOT CODING AGENT TIPS -->
---
💡 You can make Copilot smarter by setting up custom instructions,
customizing its development environment and configuring Model Context
Protocol (MCP) servers. Learn more [Copilot coding agent
tips](https://gh.io/copilot-coding-agent-tips) in the docs.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com>
@steveisok

Copy link
Copy Markdown
Member

@copilot fix the error:

src/libraries/System.Runtime.Numerics/src/System/Numerics/BigInteger.cs(387,65): error CS1503: (NETCORE_ENGINEERING_TELEMETRY=Build) Argument 1: cannot convert from 'System.ReadOnlySpan' to 'System.Span'

CopilotAI commented Nov 10, 2025

Copy link
Copy Markdown
Contributor

@steveisok I've opened a new pull request, #121501, to work on those changes. Once the pull request is ready, I'll request review from you.

steveisokand others added 2 commits November 10, 2025 15:07
…110.12
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25467.18 -> To Version 4.14.0-3.25560.12
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.25173.3 -> To Version 3.12.0-beta1.25560.12
Commit message of the cherry-picked commit (note this branch now
references newer versions):
Update dependencies from dotnet/roslyn (#110105)
* Update dependencies from https://github.com/dotnet/roslyn build 20241122.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-2.24572.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241122.15
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-2.24572.15
* Update dependencies from https://github.com/dotnet/roslyn build 20241124.5
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-2.24574.5
* Update dependencies from https://github.com/dotnet/roslyn build 20241125.18
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24575.18
* Update dependencies from https://github.com/dotnet/roslyn build 20241127.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24577.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241128.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24578.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241128.3
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24578.3
* Update dependencies from https://github.com/dotnet/roslyn build 20241130.1
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24580.1
* Update dependencies from https://github.com/dotnet/roslyn build 20241130.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24580.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241201.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24601.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241202.26
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24602.26
* Use explicit AsSpan
* Fix LibraryImportGenerator.UnitTests
* Fix regex tests
* Adjust trimming test for new codegen
With this roslyn update, the generated iterator state machine
for this test includes a Dispose method which assigns null to the
array, inhibiting dataflow analysis.
---------
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Sven Boemer <sbomer@gmail.com>
@dotnet-policy-servicedotnet-policy-serviceBot added the linkable-framework Issues associated with delivering a linker friendly framework label Nov 11, 2025
@sbomer

Copy link
Copy Markdown
Member

@copilot fix this error: src/libraries/System.Net.Http/src/System/Net/Http/Headers/HttpHeaders.cs(1209,42): error CS8620: (NETCORE_ENGINEERING_TELEMETRY=Build) Argument of type 'string[]' cannot be used for parameter 'values' of type 'Span<string?>' in 'void HttpHeaders.ReadStoreValues<string?>(Span<string?> values, object? storeValue, HttpHeaderParser? parser, ref int currentIndex)' due to differences in the nullability of reference types.

CopilotAI commented Nov 13, 2025

Copy link
Copy Markdown
Contributor

@sbomer I've opened a new pull request, #121601, to work on those changes. Once the pull request is ready, I'll request review from you.

CopilotAIand others added 3 commits November 14, 2025 09:26
…121601)
Fixes compilation error introduced by Roslyn 4.14.0's stricter type
checking for array-to-span conversions.
main PR: #121343
# Description
Roslyn 4.14.0 no longer allows implicit conversion from `string[]` to
`Span<string?>`. Fixed by explicitly converting arrays to spans in
`HttpHeaders.GetStoreValuesIntoStringArray`:
```csharp
// Before
ReadStoreValues<object?>(values, info.ParsedAndInvalidValues, descriptor.Parser, ref currentIndex);
// After ReadStoreValues<object?>(values.AsSpan(), info.ParsedAndInvalidValues, descriptor.Parser, ref currentIndex);
```
# Customer Impact
Blocks servicing release builds. No runtime behavior change.
# Regression
No - compiler enforcement tightening from dependency update.
# Testing
Verified compilation fix. No functional changes to test.
# Risk
Minimal. Surgical two-line change converts array to span where method
signature already required it. Identical pattern to fixes in #121414 and
BigInteger.cs (46bb931).
<!-- START COPILOT CODING AGENT TIPS -->
---
💬 We'd love your input! Share your thoughts on Copilot coding agent in
our [2 minute survey](https://gh.io/copilot-coding-agent-survey).
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com>
Commit message of the cherry-picked commit (note this branch now
references newer versions):
Update Roslyn to 4.13.0-1.24510.9 (#109467)
* Update Roslyn to 4.13.0-1.24510.9
* Update roslyn-analyzers
* Fix first-class Span breaks
* Remove LangVersion=latest
* Fixup more places
* Updates and fixes
---------
Co-authored-by: Jan Jones <janjones@microsoft.com>
sbomerand others added 4 commits November 20, 2025 15:36
…120.7
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.25570.7
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.25173.3 -> To Version 3.12.0-beta1.25570.7
Commit message of the cherry-picked commit (note this branch now
references newer versions):
[main] Update dependencies from dotnet/roslyn (#112937)
* Update dependencies from https://github.com/dotnet/roslyn build 20250225.8
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25125.8
* Update dependencies from https://github.com/dotnet/roslyn build 20250226.5
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25126.5
* Update dependencies from https://github.com/dotnet/roslyn build 20250303.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25153.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250304.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25154.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250305.15
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25155.15
* Update dependencies from https://github.com/dotnet/roslyn build 20250307.4
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25157.4
* Update dependencies from https://github.com/dotnet/roslyn build 20250310.11
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25160.11
* Update dependencies from https://github.com/dotnet/roslyn build 20250311.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25161.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250312.12
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25162.12
* Update dependencies from https://github.com/dotnet/roslyn build 20250313.9
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25163.9
* Update dependencies from https://github.com/dotnet/roslyn build 20250314.6
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25164.6
* Update dependencies from https://github.com/dotnet/roslyn build 20250314.10
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25164.10
* Update dependencies from https://github.com/dotnet/roslyn build 20250317.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25167.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250318.15
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25168.15
* Update dependencies from https://github.com/dotnet/roslyn build 20250319.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25169.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250320.13
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25170.13
* Update dependencies from https://github.com/dotnet/roslyn build 20250321.23
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25171.23
* Update dependencies from https://github.com/dotnet/roslyn build 20250321.27
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25171.27
* Update dependencies from https://github.com/dotnet/roslyn build 2025032.10
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25174.10
* Update dependencies from https://github.com/dotnet/roslyn build 20250325.12
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25175.12
* Update dependencies from https://github.com/dotnet/roslyn build 20250326.10
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25176.10
* Update dependencies from https://github.com/dotnet/roslyn build 20250327.9
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25177.9
* Update dependencies from https://github.com/dotnet/roslyn build 20250328.1
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25178.1
* Update dependencies from https://github.com/dotnet/roslyn build 20250329.1
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25179.1
* Fix compiler warning around unused fields - needed for Unsafe.
* Allow prebuilts for roslyn's dependencies
---------
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Larry Ewing <lewing@microsoft.com>
Co-authored-by: Eric StJohn <ericstj@microsoft.com>
…120.7
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.25570.7
jeffhandleyand others added 3 commits January 8, 2026 10:27
…114.1
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26064.1
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26064.1
…122.10
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26072.10
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26072.10
…209.11
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26109.11
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26109.11
…211.7
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26111.7
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26111.7
…211.11
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26111.11
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26111.11
@jeffhandley
jeffhandley dismissed agocke’s stale reviewFebruary 16, 2026 05:21

Feedback has been resolved

@jeffhandley

Copy link
Copy Markdown
Member

/ba-g Known repository and test errors. Tell mode for code flow.

@jeffhandleyjeffhandley added the Servicing-approved Approved for servicing release label Feb 16, 2026
@jeffhandley
jeffhandley merged commit f505b94 into release/9.0-stagingFeb 16, 2026
154 of 162 checks passed
@jeffhandley
jeffhandley deleted the darc-release/9.0-staging-4da6a74f-9a77-4837-ae86-0b0dfcd7a5bd branch February 16, 2026 16:38
sbomer added a commit that referenced this pull request Mar 17, 2026
sbomer added a commit to sbomer/runtime that referenced this pull request Mar 17, 2026
jozkee pushed a commit that referenced this pull request Mar 18, 2026
@github-actionsgithub-actionsBot locked and limited conversation to collaborators Mar 19, 2026
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-codeflowfor labeling automated codeflowlinkable-frameworkIssues associated with delivering a linker friendly frameworkServicing-approvedApproved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants

@steveisok@sbomer@jozkee@jeffhandley@agocke@ViktorHofer@rbhanda@am11@lewing
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Auto-enable theater mode on YouTube\n(function() {\n function tryTheater() {\n var btn = document.querySelector('button[aria-label=\"Theater mode\"], ytd-player #player button[title=\"Theater mode\"]');\n if (btn && !btn.classList.contains('activated')) {\n btn.click();\n }\n }\n \n // Try immediately\n tryTheater();\n \n // Try after navigation (SPA)\n var lastUrl = location.href;\n setInterval(function() {\n if (location.href !== lastUrl) {\n lastUrl = location.href;\n setTimeout(tryTheater, 500);\n }\n }, 1000);\n \n // Also try on player load\n var observer = new MutationObserver(tryTheater);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "YouTube Theater Mode Default"); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

[release/9.0-staging] Update dependencies from dotnet/roslyn - #121343

Merged
jeffhandley merged 34 commits into
release/9.0-stagingfrom
darc-release/9.0-staging-4da6a74f-9a77-4837-ae86-0b0dfcd7a5bd
Feb 16, 2026
Merged

[release/9.0-staging] Update dependencies from dotnet/roslyn#121343
jeffhandley merged 34 commits into
release/9.0-stagingfrom
darc-release/9.0-staging-4da6a74f-9a77-4837-ae86-0b0dfcd7a5bd

Conversation

@dotnet-maestro

@dotnet-maestrodotnet-maestroBot commented Nov 4, 2025

Copy link
Copy Markdown
Contributor

This pull request updates the following dependencies

From https://github.com/dotnet/roslyn

…915.8
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25467.18 -> To Version 4.14.0-3.25465.8
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.25173.3 -> To Version 3.12.0-beta1.25465.8
@steveisok

Copy link
Copy Markdown
Member

Failures with Cannot implicitly convert type 'System.ReadOnlySpan<int>' to 'System.Span<int>' seem related.

/cc @jeffhandley

@sbomer

Copy link
Copy Markdown
Member

@copilot fix the error:
src/libraries/System.Text.Json/src/System/Text/Json/Document/JsonDocument.MetadataDb.cs(384,39): error CS0029: (NETCORE_ENGINEERING_TELEMETRY=Build) Cannot implicitly convert type 'System.ReadOnlySpan' to 'System.Span'

CopilotAI commented Nov 6, 2025

Copy link
Copy Markdown
Contributor

@sbomer I've opened a new pull request, #121414, to work on those changes. Once the pull request is ready, I'll request review from you.

…121414)
The Roslyn 4.14.0 compiler update introduced stricter type checking for
`MemoryMarshal.Cast` when called directly on arrays, now returning
`ReadOnlySpan<T>` instead of `Span<T>`.
## Changes
- **JsonDocument.MetadataDb.cs**: Explicitly convert byte array to
`Span<byte>` before casting to `Span<int>` to preserve write access
```csharp
// Before
Span<int> newDbInts = MemoryMarshal.Cast<byte, int>(newDatabase);
// After Span<int> newDbInts = MemoryMarshal.Cast<byte, int>(newDatabase.AsSpan());
```
The writable span is required since the code modifies elements via
`newDbInts[i] -= locationOffset`.
<!-- START COPILOT CODING AGENT TIPS -->
---
💡 You can make Copilot smarter by setting up custom instructions,
customizing its development environment and configuring Model Context
Protocol (MCP) servers. Learn more [Copilot coding agent
tips](https://gh.io/copilot-coding-agent-tips) in the docs.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com>
@steveisok

Copy link
Copy Markdown
Member

@copilot fix the error:

src/libraries/System.Runtime.Numerics/src/System/Numerics/BigInteger.cs(387,65): error CS1503: (NETCORE_ENGINEERING_TELEMETRY=Build) Argument 1: cannot convert from 'System.ReadOnlySpan' to 'System.Span'

CopilotAI commented Nov 10, 2025

Copy link
Copy Markdown
Contributor

@steveisok I've opened a new pull request, #121501, to work on those changes. Once the pull request is ready, I'll request review from you.

steveisokand others added 2 commits November 10, 2025 15:07
…110.12
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25467.18 -> To Version 4.14.0-3.25560.12
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.25173.3 -> To Version 3.12.0-beta1.25560.12
Commit message of the cherry-picked commit (note this branch now
references newer versions):
Update dependencies from dotnet/roslyn (#110105)
* Update dependencies from https://github.com/dotnet/roslyn build 20241122.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-2.24572.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241122.15
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-2.24572.15
* Update dependencies from https://github.com/dotnet/roslyn build 20241124.5
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-2.24574.5
* Update dependencies from https://github.com/dotnet/roslyn build 20241125.18
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24575.18
* Update dependencies from https://github.com/dotnet/roslyn build 20241127.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24577.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241128.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24578.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241128.3
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24578.3
* Update dependencies from https://github.com/dotnet/roslyn build 20241130.1
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24580.1
* Update dependencies from https://github.com/dotnet/roslyn build 20241130.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24580.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241201.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24601.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241202.26
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24602.26
* Use explicit AsSpan
* Fix LibraryImportGenerator.UnitTests
* Fix regex tests
* Adjust trimming test for new codegen
With this roslyn update, the generated iterator state machine
for this test includes a Dispose method which assigns null to the
array, inhibiting dataflow analysis.
---------
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Sven Boemer <sbomer@gmail.com>
@dotnet-policy-servicedotnet-policy-serviceBot added the linkable-framework Issues associated with delivering a linker friendly framework label Nov 11, 2025
@sbomer

Copy link
Copy Markdown
Member

@copilot fix this error: src/libraries/System.Net.Http/src/System/Net/Http/Headers/HttpHeaders.cs(1209,42): error CS8620: (NETCORE_ENGINEERING_TELEMETRY=Build) Argument of type 'string[]' cannot be used for parameter 'values' of type 'Span<string?>' in 'void HttpHeaders.ReadStoreValues<string?>(Span<string?> values, object? storeValue, HttpHeaderParser? parser, ref int currentIndex)' due to differences in the nullability of reference types.

CopilotAI commented Nov 13, 2025

Copy link
Copy Markdown
Contributor

@sbomer I've opened a new pull request, #121601, to work on those changes. Once the pull request is ready, I'll request review from you.

CopilotAIand others added 3 commits November 14, 2025 09:26
…121601)
Fixes compilation error introduced by Roslyn 4.14.0's stricter type
checking for array-to-span conversions.
main PR: #121343
# Description
Roslyn 4.14.0 no longer allows implicit conversion from `string[]` to
`Span<string?>`. Fixed by explicitly converting arrays to spans in
`HttpHeaders.GetStoreValuesIntoStringArray`:
```csharp
// Before
ReadStoreValues<object?>(values, info.ParsedAndInvalidValues, descriptor.Parser, ref currentIndex);
// After ReadStoreValues<object?>(values.AsSpan(), info.ParsedAndInvalidValues, descriptor.Parser, ref currentIndex);
```
# Customer Impact
Blocks servicing release builds. No runtime behavior change.
# Regression
No - compiler enforcement tightening from dependency update.
# Testing
Verified compilation fix. No functional changes to test.
# Risk
Minimal. Surgical two-line change converts array to span where method
signature already required it. Identical pattern to fixes in #121414 and
BigInteger.cs (46bb931).
<!-- START COPILOT CODING AGENT TIPS -->
---
💬 We'd love your input! Share your thoughts on Copilot coding agent in
our [2 minute survey](https://gh.io/copilot-coding-agent-survey).
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com>
Commit message of the cherry-picked commit (note this branch now
references newer versions):
Update Roslyn to 4.13.0-1.24510.9 (#109467)
* Update Roslyn to 4.13.0-1.24510.9
* Update roslyn-analyzers
* Fix first-class Span breaks
* Remove LangVersion=latest
* Fixup more places
* Updates and fixes
---------
Co-authored-by: Jan Jones <janjones@microsoft.com>
sbomerand others added 4 commits November 20, 2025 15:36
…120.7
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.25570.7
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.25173.3 -> To Version 3.12.0-beta1.25570.7
Commit message of the cherry-picked commit (note this branch now
references newer versions):
[main] Update dependencies from dotnet/roslyn (#112937)
* Update dependencies from https://github.com/dotnet/roslyn build 20250225.8
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25125.8
* Update dependencies from https://github.com/dotnet/roslyn build 20250226.5
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25126.5
* Update dependencies from https://github.com/dotnet/roslyn build 20250303.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25153.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250304.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25154.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250305.15
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25155.15
* Update dependencies from https://github.com/dotnet/roslyn build 20250307.4
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25157.4
* Update dependencies from https://github.com/dotnet/roslyn build 20250310.11
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25160.11
* Update dependencies from https://github.com/dotnet/roslyn build 20250311.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25161.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250312.12
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25162.12
* Update dependencies from https://github.com/dotnet/roslyn build 20250313.9
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25163.9
* Update dependencies from https://github.com/dotnet/roslyn build 20250314.6
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25164.6
* Update dependencies from https://github.com/dotnet/roslyn build 20250314.10
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25164.10
* Update dependencies from https://github.com/dotnet/roslyn build 20250317.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25167.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250318.15
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25168.15
* Update dependencies from https://github.com/dotnet/roslyn build 20250319.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25169.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250320.13
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25170.13
* Update dependencies from https://github.com/dotnet/roslyn build 20250321.23
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25171.23
* Update dependencies from https://github.com/dotnet/roslyn build 20250321.27
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25171.27
* Update dependencies from https://github.com/dotnet/roslyn build 2025032.10
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25174.10
* Update dependencies from https://github.com/dotnet/roslyn build 20250325.12
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25175.12
* Update dependencies from https://github.com/dotnet/roslyn build 20250326.10
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25176.10
* Update dependencies from https://github.com/dotnet/roslyn build 20250327.9
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25177.9
* Update dependencies from https://github.com/dotnet/roslyn build 20250328.1
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25178.1
* Update dependencies from https://github.com/dotnet/roslyn build 20250329.1
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25179.1
* Fix compiler warning around unused fields - needed for Unsafe.
* Allow prebuilts for roslyn's dependencies
---------
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Larry Ewing <lewing@microsoft.com>
Co-authored-by: Eric StJohn <ericstj@microsoft.com>
…120.7
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.25570.7
jeffhandleyand others added 3 commits January 8, 2026 10:27
…114.1
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26064.1
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26064.1
…122.10
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26072.10
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26072.10
…209.11
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26109.11
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26109.11
…211.7
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26111.7
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26111.7
…211.11
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26111.11
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26111.11
@jeffhandley
jeffhandley dismissed agocke’s stale reviewFebruary 16, 2026 05:21

Feedback has been resolved

@jeffhandley

Copy link
Copy Markdown
Member

/ba-g Known repository and test errors. Tell mode for code flow.

@jeffhandleyjeffhandley added the Servicing-approved Approved for servicing release label Feb 16, 2026
@jeffhandley
jeffhandley merged commit f505b94 into release/9.0-stagingFeb 16, 2026
154 of 162 checks passed
@jeffhandley
jeffhandley deleted the darc-release/9.0-staging-4da6a74f-9a77-4837-ae86-0b0dfcd7a5bd branch February 16, 2026 16:38
sbomer added a commit that referenced this pull request Mar 17, 2026
sbomer added a commit to sbomer/runtime that referenced this pull request Mar 17, 2026
jozkee pushed a commit that referenced this pull request Mar 18, 2026
@github-actionsgithub-actionsBot locked and limited conversation to collaborators Mar 19, 2026
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-codeflowfor labeling automated codeflowlinkable-frameworkIssues associated with delivering a linker friendly frameworkServicing-approvedApproved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants

@steveisok@sbomer@jozkee@jeffhandley@agocke@ViktorHofer@rbhanda@am11@lewing
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Remove or un-stick sticky/fixed headers that block content\n(function() {\n function unstick() {\n document.querySelectorAll('header, nav, [role=\"banner\"], .header, .navbar, .sticky, .fixed-top, [style*=\"position: fixed\"], [style*=\"position:sticky\"]').forEach(function(el) {\n if (el.style.position === 'fixed' || el.style.position === 'sticky' || \n getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') {\n el.style.position = 'static';\n el.style.top = 'auto';\n el.style.zIndex = 'auto';\n }\n });\n }\n \n unstick();\n \n var observer = new MutationObserver(unstick);\n observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] });\n})();", "Kill Sticky Headers"); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

[release/9.0-staging] Update dependencies from dotnet/roslyn - #121343

Merged
jeffhandley merged 34 commits into
release/9.0-stagingfrom
darc-release/9.0-staging-4da6a74f-9a77-4837-ae86-0b0dfcd7a5bd
Feb 16, 2026
Merged

[release/9.0-staging] Update dependencies from dotnet/roslyn#121343
jeffhandley merged 34 commits into
release/9.0-stagingfrom
darc-release/9.0-staging-4da6a74f-9a77-4837-ae86-0b0dfcd7a5bd

Conversation

@dotnet-maestro

@dotnet-maestrodotnet-maestroBot commented Nov 4, 2025

Copy link
Copy Markdown
Contributor

This pull request updates the following dependencies

From https://github.com/dotnet/roslyn

…915.8
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25467.18 -> To Version 4.14.0-3.25465.8
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.25173.3 -> To Version 3.12.0-beta1.25465.8
@steveisok

Copy link
Copy Markdown
Member

Failures with Cannot implicitly convert type 'System.ReadOnlySpan<int>' to 'System.Span<int>' seem related.

/cc @jeffhandley

@sbomer

Copy link
Copy Markdown
Member

@copilot fix the error:
src/libraries/System.Text.Json/src/System/Text/Json/Document/JsonDocument.MetadataDb.cs(384,39): error CS0029: (NETCORE_ENGINEERING_TELEMETRY=Build) Cannot implicitly convert type 'System.ReadOnlySpan' to 'System.Span'

CopilotAI commented Nov 6, 2025

Copy link
Copy Markdown
Contributor

@sbomer I've opened a new pull request, #121414, to work on those changes. Once the pull request is ready, I'll request review from you.

…121414)
The Roslyn 4.14.0 compiler update introduced stricter type checking for
`MemoryMarshal.Cast` when called directly on arrays, now returning
`ReadOnlySpan<T>` instead of `Span<T>`.
## Changes
- **JsonDocument.MetadataDb.cs**: Explicitly convert byte array to
`Span<byte>` before casting to `Span<int>` to preserve write access
```csharp
// Before
Span<int> newDbInts = MemoryMarshal.Cast<byte, int>(newDatabase);
// After Span<int> newDbInts = MemoryMarshal.Cast<byte, int>(newDatabase.AsSpan());
```
The writable span is required since the code modifies elements via
`newDbInts[i] -= locationOffset`.
<!-- START COPILOT CODING AGENT TIPS -->
---
💡 You can make Copilot smarter by setting up custom instructions,
customizing its development environment and configuring Model Context
Protocol (MCP) servers. Learn more [Copilot coding agent
tips](https://gh.io/copilot-coding-agent-tips) in the docs.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com>
@steveisok

Copy link
Copy Markdown
Member

@copilot fix the error:

src/libraries/System.Runtime.Numerics/src/System/Numerics/BigInteger.cs(387,65): error CS1503: (NETCORE_ENGINEERING_TELEMETRY=Build) Argument 1: cannot convert from 'System.ReadOnlySpan' to 'System.Span'

CopilotAI commented Nov 10, 2025

Copy link
Copy Markdown
Contributor

@steveisok I've opened a new pull request, #121501, to work on those changes. Once the pull request is ready, I'll request review from you.

steveisokand others added 2 commits November 10, 2025 15:07
…110.12
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25467.18 -> To Version 4.14.0-3.25560.12
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.25173.3 -> To Version 3.12.0-beta1.25560.12
Commit message of the cherry-picked commit (note this branch now
references newer versions):
Update dependencies from dotnet/roslyn (#110105)
* Update dependencies from https://github.com/dotnet/roslyn build 20241122.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-2.24572.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241122.15
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-2.24572.15
* Update dependencies from https://github.com/dotnet/roslyn build 20241124.5
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-2.24574.5
* Update dependencies from https://github.com/dotnet/roslyn build 20241125.18
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24575.18
* Update dependencies from https://github.com/dotnet/roslyn build 20241127.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24577.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241128.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24578.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241128.3
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24578.3
* Update dependencies from https://github.com/dotnet/roslyn build 20241130.1
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24580.1
* Update dependencies from https://github.com/dotnet/roslyn build 20241130.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24580.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241201.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24601.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241202.26
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24602.26
* Use explicit AsSpan
* Fix LibraryImportGenerator.UnitTests
* Fix regex tests
* Adjust trimming test for new codegen
With this roslyn update, the generated iterator state machine
for this test includes a Dispose method which assigns null to the
array, inhibiting dataflow analysis.
---------
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Sven Boemer <sbomer@gmail.com>
@dotnet-policy-servicedotnet-policy-serviceBot added the linkable-framework Issues associated with delivering a linker friendly framework label Nov 11, 2025
@sbomer

Copy link
Copy Markdown
Member

@copilot fix this error: src/libraries/System.Net.Http/src/System/Net/Http/Headers/HttpHeaders.cs(1209,42): error CS8620: (NETCORE_ENGINEERING_TELEMETRY=Build) Argument of type 'string[]' cannot be used for parameter 'values' of type 'Span<string?>' in 'void HttpHeaders.ReadStoreValues<string?>(Span<string?> values, object? storeValue, HttpHeaderParser? parser, ref int currentIndex)' due to differences in the nullability of reference types.

CopilotAI commented Nov 13, 2025

Copy link
Copy Markdown
Contributor

@sbomer I've opened a new pull request, #121601, to work on those changes. Once the pull request is ready, I'll request review from you.

CopilotAIand others added 3 commits November 14, 2025 09:26
…121601)
Fixes compilation error introduced by Roslyn 4.14.0's stricter type
checking for array-to-span conversions.
main PR: #121343
# Description
Roslyn 4.14.0 no longer allows implicit conversion from `string[]` to
`Span<string?>`. Fixed by explicitly converting arrays to spans in
`HttpHeaders.GetStoreValuesIntoStringArray`:
```csharp
// Before
ReadStoreValues<object?>(values, info.ParsedAndInvalidValues, descriptor.Parser, ref currentIndex);
// After ReadStoreValues<object?>(values.AsSpan(), info.ParsedAndInvalidValues, descriptor.Parser, ref currentIndex);
```
# Customer Impact
Blocks servicing release builds. No runtime behavior change.
# Regression
No - compiler enforcement tightening from dependency update.
# Testing
Verified compilation fix. No functional changes to test.
# Risk
Minimal. Surgical two-line change converts array to span where method
signature already required it. Identical pattern to fixes in #121414 and
BigInteger.cs (46bb931).
<!-- START COPILOT CODING AGENT TIPS -->
---
💬 We'd love your input! Share your thoughts on Copilot coding agent in
our [2 minute survey](https://gh.io/copilot-coding-agent-survey).
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com>
Commit message of the cherry-picked commit (note this branch now
references newer versions):
Update Roslyn to 4.13.0-1.24510.9 (#109467)
* Update Roslyn to 4.13.0-1.24510.9
* Update roslyn-analyzers
* Fix first-class Span breaks
* Remove LangVersion=latest
* Fixup more places
* Updates and fixes
---------
Co-authored-by: Jan Jones <janjones@microsoft.com>
sbomerand others added 4 commits November 20, 2025 15:36
…120.7
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.25570.7
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.25173.3 -> To Version 3.12.0-beta1.25570.7
Commit message of the cherry-picked commit (note this branch now
references newer versions):
[main] Update dependencies from dotnet/roslyn (#112937)
* Update dependencies from https://github.com/dotnet/roslyn build 20250225.8
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25125.8
* Update dependencies from https://github.com/dotnet/roslyn build 20250226.5
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25126.5
* Update dependencies from https://github.com/dotnet/roslyn build 20250303.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25153.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250304.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25154.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250305.15
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25155.15
* Update dependencies from https://github.com/dotnet/roslyn build 20250307.4
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25157.4
* Update dependencies from https://github.com/dotnet/roslyn build 20250310.11
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25160.11
* Update dependencies from https://github.com/dotnet/roslyn build 20250311.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25161.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250312.12
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25162.12
* Update dependencies from https://github.com/dotnet/roslyn build 20250313.9
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25163.9
* Update dependencies from https://github.com/dotnet/roslyn build 20250314.6
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25164.6
* Update dependencies from https://github.com/dotnet/roslyn build 20250314.10
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25164.10
* Update dependencies from https://github.com/dotnet/roslyn build 20250317.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25167.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250318.15
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25168.15
* Update dependencies from https://github.com/dotnet/roslyn build 20250319.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25169.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250320.13
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25170.13
* Update dependencies from https://github.com/dotnet/roslyn build 20250321.23
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25171.23
* Update dependencies from https://github.com/dotnet/roslyn build 20250321.27
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25171.27
* Update dependencies from https://github.com/dotnet/roslyn build 2025032.10
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25174.10
* Update dependencies from https://github.com/dotnet/roslyn build 20250325.12
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25175.12
* Update dependencies from https://github.com/dotnet/roslyn build 20250326.10
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25176.10
* Update dependencies from https://github.com/dotnet/roslyn build 20250327.9
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25177.9
* Update dependencies from https://github.com/dotnet/roslyn build 20250328.1
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25178.1
* Update dependencies from https://github.com/dotnet/roslyn build 20250329.1
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25179.1
* Fix compiler warning around unused fields - needed for Unsafe.
* Allow prebuilts for roslyn's dependencies
---------
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Larry Ewing <lewing@microsoft.com>
Co-authored-by: Eric StJohn <ericstj@microsoft.com>
…120.7
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.25570.7
jeffhandleyand others added 3 commits January 8, 2026 10:27
…114.1
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26064.1
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26064.1
…122.10
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26072.10
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26072.10
…209.11
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26109.11
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26109.11
…211.7
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26111.7
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26111.7
…211.11
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26111.11
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26111.11
@jeffhandley
jeffhandley dismissed agocke’s stale reviewFebruary 16, 2026 05:21

Feedback has been resolved

@jeffhandley

Copy link
Copy Markdown
Member

/ba-g Known repository and test errors. Tell mode for code flow.

@jeffhandleyjeffhandley added the Servicing-approved Approved for servicing release label Feb 16, 2026
@jeffhandley
jeffhandley merged commit f505b94 into release/9.0-stagingFeb 16, 2026
154 of 162 checks passed
@jeffhandley
jeffhandley deleted the darc-release/9.0-staging-4da6a74f-9a77-4837-ae86-0b0dfcd7a5bd branch February 16, 2026 16:38
sbomer added a commit that referenced this pull request Mar 17, 2026
sbomer added a commit to sbomer/runtime that referenced this pull request Mar 17, 2026
jozkee pushed a commit that referenced this pull request Mar 18, 2026
@github-actionsgithub-actionsBot locked and limited conversation to collaborators Mar 19, 2026
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-codeflowfor labeling automated codeflowlinkable-frameworkIssues associated with delivering a linker friendly frameworkServicing-approvedApproved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants

@steveisok@sbomer@jozkee@jeffhandley@agocke@ViktorHofer@rbhanda@am11@lewing
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Universal Dark Mode - works on any site\n(function() {\n var enabled = true;\n \n function applyDarkMode() {\n if (!enabled) return;\n \n // Create style element if it doesn't exist\n var style = document.getElementById('universal-dark-mode-style');\n if (!style) {\n style = document.createElement('style');\n style.id = 'universal-dark-mode-style';\n document.head.appendChild(style);\n }\n \n // Dark mode CSS - inverts colors but preserves images/video\n style.textContent = '\n /* Invert everything except media */\n html {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #1a1a2e !important;\n }\n \n /* Restore images, videos, iframes, canvas */\n img, video, iframe, canvas, svg, picture, [style*=\"background-image\"] {\n filter: invert(1) hue-rotate(180deg) !important;\n }\n \n /* Preserve specific elements that should not be inverted */\n .no-dark-mode, .no-dark-mode *,\n [data-theme=\"light\"], [data-theme=\"light\"],\n .ace_editor, .ace_editor *,\n .CodeMirror, .CodeMirror *,\n .monaco-editor, .monaco-editor *,\n .markdown-body pre, .markdown-body pre *,\n .highlight, .highlight *,\n pre code, pre code * {\n filter: none !important;\n }\n \n /* Fix common UI elements */\n .modal, .popup, .dropdown-menu, .tooltip, .popover {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #2d2d44 !important;\n border-color: #444 !important;\n }\n \n /* Scrollbars */\n ::-webkit-scrollbar { background: #1a1a2e !important; }\n ::-webkit-scrollbar-thumb { background: #444 !important; }\n ::-webkit-scrollbar-thumb:hover { background: #555 !important; }\n \n /* Selection */\n ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ';\n }\n \n function removeDarkMode() {\n var style = document.getElementById('universal-dark-mode-style');\n if (style) style.remove();\n }\n \n // Toggle with Alt+Shift+D\n document.addEventListener('keydown', function(e) {\n if (e.altKey && e.shiftKey && e.key === 'D') {\n e.preventDefault();\n enabled = !enabled;\n if (enabled) {\n applyDarkMode();\n console.log('[Universal Dark Mode] Enabled');\n } else {\n removeDarkMode();\n console.log('[Universal Dark Mode] Disabled');\n }\n }\n });\n \n // Apply on load\n applyDarkMode();\n \n // Re-apply on dynamic content\n var observer = new MutationObserver(function(mutations) {\n if (enabled && !document.getElementById('universal-dark-mode-style')) {\n applyDarkMode();\n }\n });\n observer.observe(document.head, { childList: true });\n \n console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle');\n})();", "Universal Dark Mode"); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })();
Skip to content

[release/9.0-staging] Update dependencies from dotnet/roslyn - #121343

Merged
jeffhandley merged 34 commits into
release/9.0-stagingfrom
darc-release/9.0-staging-4da6a74f-9a77-4837-ae86-0b0dfcd7a5bd
Feb 16, 2026
Merged

[release/9.0-staging] Update dependencies from dotnet/roslyn#121343
jeffhandley merged 34 commits into
release/9.0-stagingfrom
darc-release/9.0-staging-4da6a74f-9a77-4837-ae86-0b0dfcd7a5bd

Conversation

@dotnet-maestro

@dotnet-maestrodotnet-maestroBot commented Nov 4, 2025

Copy link
Copy Markdown
Contributor

This pull request updates the following dependencies

From https://github.com/dotnet/roslyn

…915.8
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25467.18 -> To Version 4.14.0-3.25465.8
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.25173.3 -> To Version 3.12.0-beta1.25465.8
@steveisok

Copy link
Copy Markdown
Member

Failures with Cannot implicitly convert type 'System.ReadOnlySpan<int>' to 'System.Span<int>' seem related.

/cc @jeffhandley

@sbomer

Copy link
Copy Markdown
Member

@copilot fix the error:
src/libraries/System.Text.Json/src/System/Text/Json/Document/JsonDocument.MetadataDb.cs(384,39): error CS0029: (NETCORE_ENGINEERING_TELEMETRY=Build) Cannot implicitly convert type 'System.ReadOnlySpan' to 'System.Span'

CopilotAI commented Nov 6, 2025

Copy link
Copy Markdown
Contributor

@sbomer I've opened a new pull request, #121414, to work on those changes. Once the pull request is ready, I'll request review from you.

…121414)
The Roslyn 4.14.0 compiler update introduced stricter type checking for
`MemoryMarshal.Cast` when called directly on arrays, now returning
`ReadOnlySpan<T>` instead of `Span<T>`.
## Changes
- **JsonDocument.MetadataDb.cs**: Explicitly convert byte array to
`Span<byte>` before casting to `Span<int>` to preserve write access
```csharp
// Before
Span<int> newDbInts = MemoryMarshal.Cast<byte, int>(newDatabase);
// After Span<int> newDbInts = MemoryMarshal.Cast<byte, int>(newDatabase.AsSpan());
```
The writable span is required since the code modifies elements via
`newDbInts[i] -= locationOffset`.
<!-- START COPILOT CODING AGENT TIPS -->
---
💡 You can make Copilot smarter by setting up custom instructions,
customizing its development environment and configuring Model Context
Protocol (MCP) servers. Learn more [Copilot coding agent
tips](https://gh.io/copilot-coding-agent-tips) in the docs.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com>
@steveisok

Copy link
Copy Markdown
Member

@copilot fix the error:

src/libraries/System.Runtime.Numerics/src/System/Numerics/BigInteger.cs(387,65): error CS1503: (NETCORE_ENGINEERING_TELEMETRY=Build) Argument 1: cannot convert from 'System.ReadOnlySpan' to 'System.Span'

CopilotAI commented Nov 10, 2025

Copy link
Copy Markdown
Contributor

@steveisok I've opened a new pull request, #121501, to work on those changes. Once the pull request is ready, I'll request review from you.

steveisokand others added 2 commits November 10, 2025 15:07
…110.12
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25467.18 -> To Version 4.14.0-3.25560.12
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.25173.3 -> To Version 3.12.0-beta1.25560.12
Commit message of the cherry-picked commit (note this branch now
references newer versions):
Update dependencies from dotnet/roslyn (#110105)
* Update dependencies from https://github.com/dotnet/roslyn build 20241122.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-2.24572.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241122.15
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-2.24572.15
* Update dependencies from https://github.com/dotnet/roslyn build 20241124.5
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-2.24574.5
* Update dependencies from https://github.com/dotnet/roslyn build 20241125.18
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24575.18
* Update dependencies from https://github.com/dotnet/roslyn build 20241127.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24577.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241128.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24578.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241128.3
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24578.3
* Update dependencies from https://github.com/dotnet/roslyn build 20241130.1
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24580.1
* Update dependencies from https://github.com/dotnet/roslyn build 20241130.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24580.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241201.2
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24601.2
* Update dependencies from https://github.com/dotnet/roslyn build 20241202.26
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.13.0-2.24570.4 -> To Version 4.13.0-3.24602.26
* Use explicit AsSpan
* Fix LibraryImportGenerator.UnitTests
* Fix regex tests
* Adjust trimming test for new codegen
With this roslyn update, the generated iterator state machine
for this test includes a Dispose method which assigns null to the
array, inhibiting dataflow analysis.
---------
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Sven Boemer <sbomer@gmail.com>
@dotnet-policy-servicedotnet-policy-serviceBot added the linkable-framework Issues associated with delivering a linker friendly framework label Nov 11, 2025
@sbomer

Copy link
Copy Markdown
Member

@copilot fix this error: src/libraries/System.Net.Http/src/System/Net/Http/Headers/HttpHeaders.cs(1209,42): error CS8620: (NETCORE_ENGINEERING_TELEMETRY=Build) Argument of type 'string[]' cannot be used for parameter 'values' of type 'Span<string?>' in 'void HttpHeaders.ReadStoreValues<string?>(Span<string?> values, object? storeValue, HttpHeaderParser? parser, ref int currentIndex)' due to differences in the nullability of reference types.

CopilotAI commented Nov 13, 2025

Copy link
Copy Markdown
Contributor

@sbomer I've opened a new pull request, #121601, to work on those changes. Once the pull request is ready, I'll request review from you.

CopilotAIand others added 3 commits November 14, 2025 09:26
…121601)
Fixes compilation error introduced by Roslyn 4.14.0's stricter type
checking for array-to-span conversions.
main PR: #121343
# Description
Roslyn 4.14.0 no longer allows implicit conversion from `string[]` to
`Span<string?>`. Fixed by explicitly converting arrays to spans in
`HttpHeaders.GetStoreValuesIntoStringArray`:
```csharp
// Before
ReadStoreValues<object?>(values, info.ParsedAndInvalidValues, descriptor.Parser, ref currentIndex);
// After ReadStoreValues<object?>(values.AsSpan(), info.ParsedAndInvalidValues, descriptor.Parser, ref currentIndex);
```
# Customer Impact
Blocks servicing release builds. No runtime behavior change.
# Regression
No - compiler enforcement tightening from dependency update.
# Testing
Verified compilation fix. No functional changes to test.
# Risk
Minimal. Surgical two-line change converts array to span where method
signature already required it. Identical pattern to fixes in #121414 and
BigInteger.cs (46bb931).
<!-- START COPILOT CODING AGENT TIPS -->
---
💬 We'd love your input! Share your thoughts on Copilot coding agent in
our [2 minute survey](https://gh.io/copilot-coding-agent-survey).
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com>
Commit message of the cherry-picked commit (note this branch now
references newer versions):
Update Roslyn to 4.13.0-1.24510.9 (#109467)
* Update Roslyn to 4.13.0-1.24510.9
* Update roslyn-analyzers
* Fix first-class Span breaks
* Remove LangVersion=latest
* Fixup more places
* Updates and fixes
---------
Co-authored-by: Jan Jones <janjones@microsoft.com>
sbomerand others added 4 commits November 20, 2025 15:36
…120.7
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.25570.7
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.25173.3 -> To Version 3.12.0-beta1.25570.7
Commit message of the cherry-picked commit (note this branch now
references newer versions):
[main] Update dependencies from dotnet/roslyn (#112937)
* Update dependencies from https://github.com/dotnet/roslyn build 20250225.8
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25125.8
* Update dependencies from https://github.com/dotnet/roslyn build 20250226.5
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25126.5
* Update dependencies from https://github.com/dotnet/roslyn build 20250303.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25153.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250304.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25154.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250305.15
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25155.15
* Update dependencies from https://github.com/dotnet/roslyn build 20250307.4
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25157.4
* Update dependencies from https://github.com/dotnet/roslyn build 20250310.11
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25160.11
* Update dependencies from https://github.com/dotnet/roslyn build 20250311.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25161.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250312.12
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25162.12
* Update dependencies from https://github.com/dotnet/roslyn build 20250313.9
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25163.9
* Update dependencies from https://github.com/dotnet/roslyn build 20250314.6
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25164.6
* Update dependencies from https://github.com/dotnet/roslyn build 20250314.10
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25164.10
* Update dependencies from https://github.com/dotnet/roslyn build 20250317.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25167.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250318.15
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25168.15
* Update dependencies from https://github.com/dotnet/roslyn build 20250319.7
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25169.7
* Update dependencies from https://github.com/dotnet/roslyn build 20250320.13
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25170.13
* Update dependencies from https://github.com/dotnet/roslyn build 20250321.23
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25171.23
* Update dependencies from https://github.com/dotnet/roslyn build 20250321.27
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25171.27
* Update dependencies from https://github.com/dotnet/roslyn build 2025032.10
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25174.10
* Update dependencies from https://github.com/dotnet/roslyn build 20250325.12
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25175.12
* Update dependencies from https://github.com/dotnet/roslyn build 20250326.10
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25176.10
* Update dependencies from https://github.com/dotnet/roslyn build 20250327.9
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25177.9
* Update dependencies from https://github.com/dotnet/roslyn build 20250328.1
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25178.1
* Update dependencies from https://github.com/dotnet/roslyn build 20250329.1
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
From Version 4.14.0-2.25121.3 -> To Version 4.14.0-3.25179.1
* Fix compiler warning around unused fields - needed for Unsafe.
* Allow prebuilts for roslyn's dependencies
---------
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Larry Ewing <lewing@microsoft.com>
Co-authored-by: Eric StJohn <ericstj@microsoft.com>
…120.7
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.25570.7
jeffhandleyand others added 3 commits January 8, 2026 10:27
…114.1
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26064.1
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26064.1
…122.10
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26072.10
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26072.10
…209.11
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26109.11
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26109.11
…211.7
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26111.7
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26111.7
…211.11
On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.12.0-3.25569.8 -> To Version 4.14.0-3.26111.11
Microsoft.CodeAnalysis.Analyzers From Version 3.11.0-beta1.26057.1 -> To Version 3.12.0-beta1.26111.11
@jeffhandley
jeffhandley dismissed agocke’s stale reviewFebruary 16, 2026 05:21

Feedback has been resolved

@jeffhandley

Copy link
Copy Markdown
Member

/ba-g Known repository and test errors. Tell mode for code flow.

@jeffhandleyjeffhandley added the Servicing-approved Approved for servicing release label Feb 16, 2026
@jeffhandley
jeffhandley merged commit f505b94 into release/9.0-stagingFeb 16, 2026
154 of 162 checks passed
@jeffhandley
jeffhandley deleted the darc-release/9.0-staging-4da6a74f-9a77-4837-ae86-0b0dfcd7a5bd branch February 16, 2026 16:38
sbomer added a commit that referenced this pull request Mar 17, 2026
sbomer added a commit to sbomer/runtime that referenced this pull request Mar 17, 2026
jozkee pushed a commit that referenced this pull request Mar 18, 2026
@github-actionsgithub-actionsBot locked and limited conversation to collaborators Mar 19, 2026
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-codeflowfor labeling automated codeflowlinkable-frameworkIssues associated with delivering a linker friendly frameworkServicing-approvedApproved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants

@steveisok@sbomer@jozkee@jeffhandley@agocke@ViktorHofer@rbhanda@am11@lewing