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

[icall] If Stream:BeginWrite/EndWrite are linked out, they're not overridden #56559

Merged
merged 1 commit into from
Jul 30, 2021

Conversation

lambdageek
Copy link
Member

Add the same logic that we already have for BeginRead/EndRead - if we can't find a vtable slot that has the method in the base class, it must have been linked out, so a subclass can't possibly override it.

Fixes #56315

@ghost
Copy link

ghost commented Jul 29, 2021

Tagging subscribers to this area:
See info in area-owners.md if you want to be subscribed.

Issue Details

Add the same logic that we already have for BeginRead/EndRead - if we can't find a vtable slot that has the method in the base class, it must have been linked out, so a subclass can't possibly override it.

Fixes #56315

Author: lambdageek
Assignees: -
Labels:

area-VM-meta-mono

Milestone: -

…rridden

Add the same logic that we already have for BeginRead/EndRead - if we can't
find a vtable slot that has the method in the base class, it must have been
linked out, so a subclass can't possibly override it.

Fixes dotnet#56315
@lambdageek lambdageek merged commit 09305a8 into dotnet:main Jul 30, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Aug 29, 2021
@lambdageek lambdageek deleted the fix-gh-56315 branch March 19, 2022 16:45
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.

Mono.Android-Tests crash when AOT is enabled
2 participants