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

Waring IL2050 should be considered TrimAnalysis warning #1430

Merged
merged 2 commits into from
Aug 15, 2020

Conversation

vitek-karas
Copy link
Member

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.

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 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
@vitek-karas vitek-karas merged commit 763e8ac into dotnet:master Aug 15, 2020
@vitek-karas vitek-karas deleted the FixWarningCategorization branch August 15, 2020 20:31
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants