Skip to content

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