-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
System.Reflection.* missed Equals nullable annotations #52162
System.Reflection.* missed Equals nullable annotations #52162
Conversation
Note regarding the This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, to please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change. |
Ugh, bot didn't ping anyone |
Btw there are some changes for reflection in #52167 under CoreLib and I'm not sure whom should I ping for that PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @hrrrrustic, could you remove extra castings in the implementation? Other than that LGTM.
...System.Reflection.Metadata/src/System/Reflection/Metadata/Ecma335/EditAndContinueLogEntry.cs
Outdated
Show resolved
Hide resolved
...es/System.Reflection.Metadata/src/System/Reflection/Metadata/Ecma335/Encoding/LabelHandle.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata/EntityHandle.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata/Handle.cs
Outdated
Show resolved
Hide resolved
Does it make sense to remove nullable marking here? Lines 52 to 55 in 3ba6ee1
|
...aries/System.Reflection.Metadata/src/System/Reflection/Metadata/PortablePdb/Handles.Debug.cs
Outdated
Show resolved
Hide resolved
...aries/System.Reflection.Metadata/src/System/Reflection/Metadata/PortablePdb/Handles.Debug.cs
Outdated
Show resolved
Hide resolved
...aries/System.Reflection.Metadata/src/System/Reflection/Metadata/PortablePdb/Handles.Debug.cs
Outdated
Show resolved
Hide resolved
...s/System.Reflection.Metadata/src/System/Reflection/Metadata/TypeSystem/Handles.TypeSystem.cs
Outdated
Show resolved
Hide resolved
...s/System.Reflection.Metadata/src/System/Reflection/Metadata/TypeSystem/Handles.TypeSystem.cs
Outdated
Show resolved
Hide resolved
...s/System.Reflection.Metadata/src/System/Reflection/Metadata/TypeSystem/Handles.TypeSystem.cs
Outdated
Show resolved
Hide resolved
That makes sense, but I guess it has |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks @hrrrrustic!
@buyaa-n Once this is merged, please edit the description on dotnet/docs#21202 to include the affected APIs from this PR. |
@jeffhandley I do not really think that is necessary, first, this is not breaking change and not really changing the annotation, just adding a EDIT: We might want to add just one generic statement that the attribute is added to the most |
I had noticed that the issue already mentioned #47598, so I thought we'd want to do something similar for other PRs. I don't think we need to call out each specific API. I wasn't sure if any of these could be considered breaking or not.
|
No description provided.