-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ILLink: Fix order dependent logic for DAM on types (#104701)
When applying DynamicallyAccessedMembers annotations to a type, we need to ensure that the base annotations are also applied to the base type. Previously this logic was determining which annotations to apply to the base type (with the warning originating from the derived type) based on whether the base annotations were already applied. This is incorrect as it introduces an order dependence. Instead the base annotations should use the base type as the origin.
- Loading branch information
Showing
3 changed files
with
107 additions
and
32 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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