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

ILLink: Don't mark attributes from MarkEntireType #108552

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sbomer
Copy link
Member

@sbomer sbomer commented Oct 4, 2024

They are already marked from MarkType, called by MarkEntireType. The removed marking logic was using the assembly as the warning message origin, making these warnings hard to suppress (in addition to being redundant with the warnings at the type level).

Fixes some warnings encountered in #108464 in the OOB library trimming step.

They are already marked from MarkType, called by MarkEntireType.
The removed marking logic was using the assembly as the warning
message origin, making these warnings hard to suppress (in
addition to being redundant with the warnings at the type level).
@sbomer sbomer requested a review from a team October 4, 2024 17:09
@dotnet-issue-labeler dotnet-issue-labeler bot added the area-Tools-ILLink .NET linker development as well as trimming analyzers label Oct 4, 2024
@sbomer sbomer changed the title Don't mark attributes from MarkEntireType ILLink: Don't mark attributes from MarkEntireType Oct 4, 2024
@dotnet-policy-service dotnet-policy-service bot added the linkable-framework Issues associated with delivering a linker friendly framework label Oct 4, 2024
Copy link
Contributor

Tagging subscribers to this area: @agocke, @sbomer, @vitek-karas
See info in area-owners.md if you want to be subscribed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Tools-ILLink .NET linker development as well as trimming analyzers linkable-framework Issues associated with delivering a linker friendly framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant