Skip to content

Enable nullability in FeatureSupport and IFeatureSupport#6465

Merged
dreddy-work merged 1 commit intodotnet:mainfrom
gpetrou:FeatureSupport
Jan 6, 2022
Merged

Enable nullability in FeatureSupport and IFeatureSupport#6465
dreddy-work merged 1 commit intodotnet:mainfrom
gpetrou:FeatureSupport

Conversation

@gpetrou
Copy link
Contributor

@gpetrou gpetrou commented Jan 4, 2022

Proposed changes

  • Enable nullability in FeatureSupport and IFeatureSupport.
Microsoft Reviewers: Open in CodeFlow

@gpetrou gpetrou requested a review from a team as a code owner January 4, 2022 20:19
@ghost ghost assigned gpetrou Jan 4, 2022
Copy link
Contributor

@Tanya-Solyanik Tanya-Solyanik left a comment

Choose a reason for hiding this comment

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

Thank you!

@dreddy-work dreddy-work merged commit a59164c into dotnet:main Jan 6, 2022
@ghost ghost added this to the 7.0 Preview1 milestone Jan 6, 2022
Comment on lines +43 to +44
IFeatureSupport? featureSupport = (IFeatureSupport?)Activator.CreateInstance(c);
return featureSupport is not null && featureSupport.IsPresent(featureId, minimumVersion);
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Since this was already merged, I did some changes in #6469.

@gpetrou gpetrou deleted the FeatureSupport branch January 6, 2022 07:25
Danil-Andrianov pushed a commit to Danil-Andrianov/winforms that referenced this pull request Jan 10, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Feb 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants