Waring IL2050 should be considered TrimAnalysis warning - #1430
Merged
Conversation
It warns about places in COM related interop where we know ILLink could break the app by removing more than it should. In a way it's similar to refleciton - a mechanism outside of .NET whihc let's you affect the ILLink behavior.
sbomer
approved these changes
Aug 14, 2020
sbomer
added a commit
to dotnet/sdk
that referenced
this pull request
Aug 14, 2020
The following also belong to the trim analysis category: - IL2050 (dotnet/linker#1430) - Warnings about invalid attributes - Warnings about uses of removed attributes
dotnet-maestro Bot
added a commit
to dotnet/sdk
that referenced
this pull request
Aug 17, 2020
[master] Update dependencies from mono/linker - Updates: - Microsoft.NET.ILLink.Tasks: from 5.0.0-preview.3.20410.2 to 5.0.0-preview.3.20414.2 - Renumber warnings To reflect the changes in dotnet/linker#1385 - Suppress more trim analysis warnings The following also belong to the trim analysis category: - IL2050 (dotnet/linker#1430) - Warnings about invalid attributes - Warnings about uses of removed attributes - Suppress IL2009 on 32-bit GetStubContextAddr rooted by the corelib XML only exists on 64-bit.
tkapin
pushed a commit
to tkapin/runtime
that referenced
this pull request
Jan 31, 2023
…r#1430) It warns about places in COM related interop where we know ILLink could break the app by removing more than it should. In a way it's similar to reflection - a mechanism outside of .NET which let's you affect the ILLink behavior. Commit migrated from dotnet/linker@763e8ac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It warns about places in COM related interop where we know ILLink could break the app by removing more than it should.
In a way it's similar to refleciton - a mechanism outside of .NET whihc let's you affect the ILLink behavior.