8000 Enable nullability in ToolStripLabel by gpetrou · Pull Request #8000 · dotnet/winforms · GitHub
[go: up one dir, main page]

Skip to content

Enable nullability in ToolStripLabel #8000

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

Merged
merged 2 commits into from
Oct 23, 2022
Merged

Conversation

gpetrou
Copy link
Contributor
@gpetrou gpetrou commented Oct 22, 2022

Proposed changes

  • Enable nullability in ToolStripLabel.
Microsoft Reviewers: Open in CodeFlow

@gpetrou gpetrou requested a review from a team as a code owner October 22, 2022 16:56
@ghost ghost assigned gpetrou Oct 22, 2022
@ghost ghost added the area: NRT label Oct 22, 2022
@@ -33,27 +32,33 @@ public ToolStripLabel()
{
}

public ToolStripLabel(string text) : base(text, null, null)
public ToolStripLabel(string? text)
: base(text, null, null)
Copy link
Member

Choose a reason for hiding this comment

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

nit: would be great if you add parameter names for null constants.

@dreddy-work dreddy-work added the waiting-author-feedback The team requires more information from the author label Oct 22, 2022
ghost removed the waiting-author-feedback The team requires more information from the author label Oct 23, 2022
@RussKie RussKie merged commit 762a6d4 into dotnet:main Oct 23, 2022
@ghost ghost added this to the 8.0 Preview1 milestone Oct 23, 2022
@gpetrou gpetrou deleted the ToolStripLabel branch October 24, 2022 05:50
@ghost ghost locked as resolved and limited conversation to collaborators Nov 23, 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.

3 participants
0