Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix workaround for static virtual methods #66290

Merged
merged 1 commit into from
Mar 7, 2022

Conversation

MichalStrehovsky
Copy link
Member

The workaround for reflection invoking static virtual methods wasn't working around well enough. Fixes #66028.

The repro case also hit a scanning failure due to scanner not scanning a throw helper. Those are more of asserts, so add them to the collection of throw helpers to ignore.

The workaround for reflection invoking static virtual methods wasn't working around well enough. Fixes dotnet#66028.

The repro case also hit a scanning failure due to scanner not scanning a throw helper. Those are more of asserts, so add them to the collection of throw helpers to ignore.
@jkotas jkotas merged commit 154386d into dotnet:main Mar 7, 2022
@MichalStrehovsky MichalStrehovsky deleted the fix66028 branch March 7, 2022 16:50
@ghost ghost locked as resolved and limited conversation to collaborators Apr 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[NativeAOT] KeyNotFoundException thrown when compiling dotnet/performance microbenchmarks boilerplate
2 participants