Skip to content

Fix workaround for static virtual methods#66290

Merged
jkotas merged 1 commit intodotnet:mainfrom
MichalStrehovsky:fix66028
Mar 7, 2022
Merged

Fix workaround for static virtual methods#66290
jkotas merged 1 commit intodotnet:mainfrom
MichalStrehovsky:fix66028

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