Closed
Description
Trimmer has special code to handle InternalsVisibleToAttribute
. Specifically, it tries to remove those attribute instances which point to assemblies which either can't be resolved, or which are not kept in the app after trimming.
This creates an observable difference in behavior between trimmed and non-trimmed apps without getting a trim analysis warning. The app can use reflection to inspect the InternalsVisibleTo
attributes and it will see a different set after trimming.
The trimmer should preserve all InternalsVisibleTo
attributes, the size savings are very small.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status