Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ILLink : Fix and a couple tweaks #114215

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

Merged
merged 1 commit into from
Apr 10, 2025

Conversation

mrvoorhe
Copy link
Contributor

@mrvoorhe mrvoorhe commented Apr 3, 2025

  • Fix the SetupCompileBeforeAttribute's ctor parameters being out of sync. AdditionalArgs was changed to a string[] in one ctor but not the other. Updated a test to give coverage.

  • Put throw helpers inside of #if NET. We are still compiling Mono.Linker.Tests.Cases.Expectations against netstandard2.0 and net471 and this

@mrvoorhe mrvoorhe requested a review from marek-safar as a code owner April 3, 2025 15:20
@ghost ghost added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Apr 3, 2025
@mrvoorhe
Copy link
Contributor Author

mrvoorhe commented Apr 3, 2025

@sbomer Please take a look

@dotnet-policy-service dotnet-policy-service bot added linkable-framework Issues associated with delivering a linker friendly framework community-contribution Indicates that the PR has been added by a community member labels Apr 3, 2025
* Fix the SetupCompileBeforeAttribute's ctor parameters being out of sync.  AdditionalArgs was changed to a `string[]` in one ctor but not the other.  Updated a test to give coverage.

* Put throw helpers inside of `#if NET`.  We are still compiling `Mono.Linker.Tests.Cases.Expectations` against `netstandard2.0` and `net471` and this
@mrvoorhe mrvoorhe force-pushed the linker-tweaks-and-fixes branch from 0579e2d to cd16386 Compare April 3, 2025 16:41
@mrvoorhe
Copy link
Contributor Author

mrvoorhe commented Apr 3, 2025

I updated the PR to apply the same changes to SetupCompileAfterAttribute

@mrvoorhe
Copy link
Contributor Author

mrvoorhe commented Apr 8, 2025

@sbomer I don't think the failures are related. Can you merge the PR?

@agocke agocke merged commit 37daa3a into dotnet:main Apr 10, 2025
75 of 79 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community-contribution Indicates that the PR has been added by a community member linkable-framework Issues associated with delivering a linker friendly framework needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants