Skip to content

Fix ILVerify validation of static virtual method delegates - #133285

Open
pkuyo wants to merge 2 commits into
dotnet:mainfrom
pkuyo:fix-ilverify-133238
Open

Fix ILVerify validation of static virtual method delegates#133285
pkuyo wants to merge 2 commits into
dotnet:mainfrom
pkuyo:fix-ilverify-133238

Conversation

@pkuyo

@pkuyopkuyo commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Fixes#133238

Exclude static methods from the non-final virtual method check during delegate creation. Reject unconstrained ldftn on abstract methods and add regression tests.

@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-servicedotnet-policy-serviceBot added the community-contribution Indicates that the PR has been added by a community member label Sep 5, 2026
@github-actionsgithub-actionsBot added the area-Tools-ILVerification Issues related to ilverify tool and IL verification in general label Sep 5, 2026
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @JulieLeeMSFT, @dotnet/jit-contrib
See info in area-owners.md if you want to be subscribed.

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

Labels

area-Tools-ILVerificationIssues related to ilverify tool and IL verification in generalcommunity-contributionIndicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ILVerify reports LdftnNonFinalVirtual error when adding static virtual interface method as event handler

2 participants

@pkuyo@jkotas