Skip to content

[release/11.0] Remove open delegate Equals fastpath - #134267

Merged
steveisok merged 1 commit into
release/11.0from
backport/pr-134224-to-release/11.0
Sep 21, 2026
Merged

steveisok merged 1 commit into
release/11.0from
backport/pr-134224-to-release/11.0

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 19, 2026

Copy link
Copy Markdown
Contributor

Backport of #134224 to release/11.0

/cc @jkotas @MichalPetryka

Customer Impact

  • Customer reported
  • Found internally

Delegate.Equals returns true instead of false when the delegate targets are two different virtual methods that happen to point to the same slot.

Regression

  • Yes
  • No

Regression introduced by delegate performance improvements.

Testing

Regression test

Risk

Low

The fastpath was not correct in face of virtual methods.

Fixes #134218.
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).
13 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/area-system-runtime
See info in area-owners.md if you want to be subscribed.

@steveisok
steveisok enabled auto-merge (squash) September 21, 2026 18:31
@steveisok

Copy link
Copy Markdown
Member

/ba-g Known issues unrelated

@steveisok
steveisok merged commit 360062e into release/11.0 Sep 21, 2026
132 of 138 checks passed
@steveisok
steveisok deleted the backport/pr-134224-to-release/11.0 branch September 21, 2026 18:32
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 11.0-rc2 milestone Sep 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-System.Runtime Servicing-approved Approved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants