Skip to content

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

Open
github-actions[bot] wants to merge 1 commit into
release/11.0from
backport/pr-134224-to-release/11.0
Open

github-actions[bot] wants to merge 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant