Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Sep 12, 2025

Backport of #119600 to release/10.0

/cc @stephentoub

Customer Impact

  • Customer reported
  • Found internally

Using .OfType<T>().Contains(...) on a source that turns out to be a multidimensional array throws an exception.

Regression

  • Yes
  • No

February

Testing

Added unit tests to cover the scenario and surrounding ones.

Risk

Low. It's reverting the relevant portion of a change made in .NET 10 that was purely an optimization.

@stephentoub stephentoub added this to the 10.0.0 milestone Sep 12, 2025
@stephentoub stephentoub added Servicing-consider Issue for next servicing release review and removed Servicing-consider Issue for next servicing release review labels Sep 12, 2025
@artl93
Copy link
Member

artl93 commented Sep 12, 2025

Yup. RC2

@artl93 artl93 added the Servicing-approved Approved for servicing release label Sep 12, 2025
@stephentoub
Copy link
Member

/ba-g failure is unrelated (failure to pull a container image)

@artl93 artl93 merged commit b801537 into release/10.0 Sep 12, 2025
92 of 99 checks passed
@stephentoub stephentoub deleted the backport/pr-119600-to-release/10.0 branch September 12, 2025 03:34
@github-actions github-actions bot locked and limited conversation to collaborators Oct 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Servicing-approved Approved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants