Skip to content

Change Annotations - #48536

Merged
tlakollo merged 7 commits into
dotnet:mainfrom
tlakollo:ChangeAnnotationsAfterNewIntrinsics
Mar 1, 2021
Merged

tlakollo merged 7 commits into
dotnet:mainfrom
tlakollo:ChangeAnnotationsAfterNewIntrinsics

Conversation

@tlakollo

Copy link
Copy Markdown
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
@tlakollo tlakollo self-assigned this Feb 19, 2021
@ghost ghost added the area-System.Drawing label Feb 19, 2021
@ghost

ghost commented Feb 19, 2021

Copy link
Copy Markdown

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
Comment thread src/coreclr/System.Private.CoreLib/src/System/Reflection/Emit/EnumBuilder.cs Outdated
@tlakollo
tlakollo marked this pull request as ready for review February 24, 2021 00:35
@tlakollo
tlakollo requested a review from eerhardt February 24, 2021 19:46
Comment thread src/libraries/System.Private.CoreLib/src/System/Type.cs Outdated
Comment thread src/libraries/System.Private.CoreLib/src/System/Reflection/IReflect.cs Outdated
Comment thread src/libraries/System.Reflection.Emit/ref/System.Reflection.Emit.cs Outdated
Comment thread src/libraries/System.Runtime/ref/System.Runtime.cs Outdated

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
Copy Markdown
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.

@eerhardt eerhardt left a comment

Copy link
Copy Markdown
Member

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!

@eerhardt eerhardt left a comment

Copy link
Copy Markdown
Member

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