-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Preserve all InternalsVisibleTo attributes in ILLink Trimmer #98910
Conversation
Tagging subscribers to this area: @agocke, @sbomer, @vitek-karas Issue DetailsRemoves previous special handling to only keep IVT attributes for assemblies that were resolvable and marked at link time. This behaviour could cause a noticeable difference in behaviour at runtime without emitting any trim analysis warnings while providing no mechanism to retain the attributes. The removal of these attributes provides only a neglible size reduction. Fixes #92582
|
fa9da15
to
dbd86c0
Compare
@dotnet-policy-service agree |
4d7d955
to
2edac38
Compare
2edac38
to
048a932
Compare
src/tools/illink/test/Mono.Linker.Tests.Cases/Attributes/IVTUnused.cs
Outdated
Show resolved
Hide resolved
048a932
to
25906e9
Compare
Removes previous special handling to only keep IVT attributes for assemblies that were resolvable and marked at link time. This behaviour could cause a noticeable difference in behaviour at runtime without emitting any trim analysis warnings while providing no mechanism to retain the attributes. The removal of these attributes provides only a neglible size reduction. Fixes dotnet#92582
25906e9
to
9144ba6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for the contribution!
@sbomer is this waiting for someone else's review? |
Nope, merged. |
Thanks @sbomer. Is there any follow up actions required from my end? What sort of timeline could I expect to see this included in a release? |
No action required. You should see it included in the next .NET 9 preview release (preview 4). |
…98910) Removes previous special handling to only keep IVT attributes for assemblies that were resolvable and marked at link time. This behaviour could cause a noticeable difference in behaviour at runtime without emitting any trim analysis warnings while providing no mechanism to retain the attributes. The removal of these attributes provides only a neglible size reduction. Fixes dotnet#92582
Removes previous special handling to only keep IVT attributes for assemblies that were resolvable and marked at link time. This behaviour could cause a noticeable difference in behaviour at runtime without emitting any trim analysis warnings while providing no mechanism to retain the attributes. The removal of these attributes provides only a neglible size reduction.
Fixes #92582