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

Change Annotations #48536

Merged
merged 7 commits into from
Mar 1, 2021
Merged

Conversation

tlakollo
Copy link
Contributor

  • Change annotations DynamicallyAccessedMemberTypes.All in GetMember/GetMembers for the list of DynamicallyAccessedMemberTypes that actually keeps
  • Remove UnconditionalSupressMessage for new recognized intrinsics
  • Remove DynamicallyAccessedMemberTypes.NonPublicProperties from ColorTable.FillWithProperties

Fixes #48367
Fixes dotnet/linker#1724

GetMember/GetMembers for the list of DynamicallyAccessedMemberTypes that
actually keeps
- Remove UnconditionalSupressMessage for new recognized intrinsics
- Remove DynamicallyAccessedMemberTypes.NonPublicProperties from
  ColorTable.FillWithProperties
@ghost
Copy link

ghost commented Feb 19, 2021

Tagging subscribers to this area: @safern, @tarekgh
See info in area-owners.md if you want to be subscribed.

Issue Details
  • Change annotations DynamicallyAccessedMemberTypes.All in GetMember/GetMembers for the list of DynamicallyAccessedMemberTypes that actually keeps
  • Remove UnconditionalSupressMessage for new recognized intrinsics
  • Remove DynamicallyAccessedMemberTypes.NonPublicProperties from ColorTable.FillWithProperties

Fixes #48367
Fixes dotnet/linker#1724

Author: tlakollo
Assignees: tlakollo
Labels:

area-System.Drawing

Milestone: -

@tlakollo tlakollo marked this pull request as draft February 20, 2021 00:37
@tlakollo tlakollo marked this pull request as ready for review February 24, 2021 00:35
@@ -583,5 +567,14 @@ public static Binder DefaultBinder
public static readonly MemberFilter FilterNameIgnoreCase = (m, c) => FilterNameImpl(m, c!, StringComparison.OrdinalIgnoreCase);

private const BindingFlags DefaultLookup = BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public;
// DynamicallyAccessedMemberTypes.All keeps more data than what a member can use, it will keep info about
// interfaces and nested types as a whole (the nested type and all its members). Instead this GetAllMembers
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(nit) it might also be good to add a blurb about private base members as well, since that is a key difference.

Copy link
Member

@eerhardt eerhardt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks for making this area better!

Copy link
Member

@eerhardt eerhardt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Base automatically changed from master to main March 1, 2021 09:08
@tlakollo tlakollo merged commit 72f5766 into dotnet:main Mar 1, 2021
@tlakollo tlakollo deleted the ChangeAnnotationsAfterNewIntrinsics branch March 1, 2021 17:51
@ghost ghost locked as resolved and limited conversation to collaborators Mar 31, 2021
@karelz karelz added this to the 6.0.0 milestone May 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants