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

Adds a test for multiple nested forwarders in a row with copy/link #2372

Merged
merged 2 commits into from
Nov 17, 2021

Conversation

vitek-karas
Copy link
Member

The problematic scenario is if there's a "copy" assembly with a forwarder to a "link" assembly with a forwarder. The forwarder is for a nested class.
Test for #2359.
The reason for "Random" behavior is a Cecil issue: jbevain/cecil#812.

Also improved the test infra to print out errors from ilasm if they happen.

The problematic scenario is if there's a "copy" assembly with a forwarder to a "link" assembly with a forwarder. The forwarder is for a nested class.
Test for dotnet#2359.

Also improved the test infra to print out errors from ilasm if they happen.
Copy link
Member

@sbomer sbomer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really interesting find!

@vitek-karas vitek-karas merged commit 57574f1 into dotnet:main Nov 17, 2021
@vitek-karas vitek-karas deleted the TestForMultiForwarders branch November 17, 2021 19:34
vitek-karas added a commit to vitek-karas/linker that referenced this pull request Nov 22, 2021
…otnet#2372)

The problematic scenario is if there's a "copy" assembly with a forwarder to a "link" assembly with a forwarder. The forwarder is for a nested class.
Test for dotnet#2359.

Also improved the test infra to print out errors from ilasm if they happen.
agocke pushed a commit to dotnet/runtime that referenced this pull request Nov 16, 2022
…otnet/linker#2372)

The problematic scenario is if there's a "copy" assembly with a forwarder to a "link" assembly with a forwarder. The forwarder is for a nested class.
Test for dotnet/linker#2359.

Also improved the test infra to print out errors from ilasm if they happen.


Commit migrated from dotnet/linker@57574f1
agocke pushed a commit to dotnet/runtime that referenced this pull request Nov 16, 2022
…otnet/linker#2372)

The problematic scenario is if there's a "copy" assembly with a forwarder to a "link" assembly with a forwarder. The forwarder is for a nested class.
Test for dotnet/linker#2359.

Also improved the test infra to print out errors from ilasm if they happen.


Commit migrated from dotnet/linker@70cd7ed
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.

3 participants