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

Correct nullable annotation on ICustomTypeDescriptor.GetConverter #72629

Merged
merged 1 commit into from
Jul 22, 2022

Conversation

eerhardt
Copy link
Member

The documentation, and even some of our own code, return null for this method. Correcting the nullable annotation to indicate that null can be returned.

Fix #69229

(Note it is probably best to review with whitespace changes ignored, since I moved one type out a level.)

The documentation, and even some of our own code, return null for this method. Correcting the nullable annotation to indicate that null can be returned.

Fix dotnet#69229
@dotnet-issue-labeler
Copy link

Note regarding the new-api-needs-documentation label:

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.

@ghost ghost assigned eerhardt Jul 21, 2022
@ghost
Copy link

ghost commented Jul 21, 2022

Tagging subscribers to this area: @dotnet/area-system-componentmodel
See info in area-owners.md if you want to be subscribed.

Issue Details

The documentation, and even some of our own code, return null for this method. Correcting the nullable annotation to indicate that null can be returned.

Fix #69229

(Note it is probably best to review with whitespace changes ignored, since I moved one type out a level.)

Author: eerhardt
Assignees: -
Labels:

area-System.ComponentModel

Milestone: -

@stephentoub stephentoub merged commit c0b9416 into dotnet:main Jul 22, 2022
@eerhardt eerhardt deleted the Fix69229 branch July 22, 2022 03:16
@DrewScoggins
Copy link
Member

Improvements: dotnet/perf-autofiling-issues#6852

@eerhardt
Copy link
Member Author

Improvements: dotnet/perf-autofiling-issues#6852

I had suspected that this change would help perf, but I didn't want to jinx it. 😄

@DrewScoggins
Copy link
Member

DrewScoggins commented Jul 28, 2022

@ghost ghost locked as resolved and limited conversation to collaborators Aug 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

System.ComponentModel.ICustomTypeDescriptor.GetConverter have incorrect nullable annotation
4 participants