Lookup System.Runtime and mscorlib references by Assembly name#10596
Conversation
|
@mletterle, It will cover your contributions to all .NET Foundation-managed open source projects. |
|
@mletterle, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request. |
|
@mletterle, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request. |
|
@dotnet/jit-contrib do you guys own ilasm? |
|
@dotnet-bot test OSX10.12 x64 Checked Build and Test (network) |
|
@dotnet-bot test Ubuntu x64 Checked Build and Test (log gone) |
Rather than by alias. Fixes #10595
|
@dotnet/jit-contrib could you please evaluate this. |
|
@mletterle Apologies (again) for missing this PR. If you're happy with where #10878 is going, could you close this one? Thank you very much for helping make ilasm better. In the future, feel free to mention me directly on any ilasm/ildasm/jit-related issues or PRs so hopefully I don't miss them. |
|
@RussKeldorph While the two PRs do solve the same problem, the code they contain is pretty orthogonal, my PR changes the way BaseAsmRef is determined which will affect how it is determined wherever that call is used. Which may fix other unreferenced issues. Though there is probably a discussion to be had on the whole "BaseAsmRef" idea in general. Thanks for helping address these long standing issues! Exciting times in cil land... |
|
@dotnet-bot test Ubuntu x64 Checked Build and Test please |
|
@mletterle As I can see you changes solve the original issue but still cannot handle chained aliases like test from my PR does. |
|
This PR is specifically to avoid aliases all together and look at the simple name of the Assembly to determine if it is Also I don't believe it's possible to define an alias that refers to another alias. Partition II § 6.3 doesn't appear to provide a mechanism for that since it says:
emphasis mine. |
|
@dotnet-bot test Ubuntu16.04 arm Cross Debug Build |
|
Since all CI tests have passed it looks good to me. Besides that I am still not sure about alias chains so I'd rather ask @RussKeldorph to clarify this question. |
|
@mletterle Thanks! |
Rather than by alias.
Fixes #10595