Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Oct 15, 2025

Backport of #120771 to release/10.0

/cc @RikkiGibson

Customer Impact

  • Customer reported
  • Found internally

Customers could end up with incorrect behavior due to the backing storage for a collection expression having the wrong lifetime relative to the local that tracked it.

Regression

  • Yes
  • No

C# took a late breaking change to fix a lifetime issue around collection expressions and the IL it was emitting. This behavior has been around since collection expressions were introduced.

Testing

Explicit validation of the IL was done.

Risk

Low. This is the only place in the repo that was impacted by the break and was updated to use an appropriate lifetime for the collection expression.

@tannergooding tannergooding requested a review from artl93 October 16, 2025 15:37
@tannergooding tannergooding added Servicing-consider Issue for next servicing release review Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Oct 16, 2025
@tannergooding
Copy link
Member

Approved over e-mail to tactics

@rbhanda rbhanda added this to the 10.0.1 milestone Oct 28, 2025
@artl93 artl93 merged commit 6d0c7d7 into release/10.0 Oct 29, 2025
92 of 94 checks passed
@jkotas jkotas deleted the backport/pr-120771-to-release/10.0 branch November 2, 2025 03:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Servicing-approved Approved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants