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

Enable nullable reference types for System.Windows.Forms.Design #8343

Merged
merged 3 commits into from
Dec 7, 2022

Conversation

elachlan
Copy link
Contributor

@elachlan elachlan commented Dec 7, 2022

PR enables nullability at the project level and sets the nullable annotation context to disabled where the code does not compile without warnings.

  • Files were manually changed to add the #nullable disable annotation.
  • Some files were changed to remove #nullable enable annotation.
  • No other changes were made.

Related: #8342, #1107

Microsoft Reviewers: Open in CodeFlow

@elachlan elachlan requested a review from a team as a code owner December 7, 2022 04:16
@ghost ghost assigned elachlan Dec 7, 2022
@elachlan elachlan changed the title Enable nullable reference types for System.Windows.Forms.Design Enable nullable reference types for System.Windows.Forms.Design Dec 7, 2022
@elachlan
Copy link
Contributor Author

elachlan commented Dec 7, 2022

CC: @gpetrou

dreddy-work
dreddy-work previously approved these changes Dec 7, 2022
@dreddy-work
Copy link
Member

@elachlan , can you rebase this and resolve conflicts?

@dreddy-work dreddy-work enabled auto-merge (squash) December 7, 2022 17:56
@dreddy-work dreddy-work added the ready-to-merge PRs that are ready to merge but worth notifying the internal team. label Dec 7, 2022
auto-merge was automatically disabled December 7, 2022 21:31

Head branch was pushed to by a user without write access

@elachlan
Copy link
Contributor Author

elachlan commented Dec 7, 2022

@elachlan , can you rebase this and resolve conflicts?

done.

@dreddy-work dreddy-work enabled auto-merge (squash) December 7, 2022 21:32
dreddy-work
dreddy-work previously approved these changes Dec 7, 2022
@dreddy-work
Copy link
Member

src\System.Windows.Forms.Design\src\System\ComponentModel\Design\DesignerActionUI.cs(7,1): error IDE0005: (NETCORE_ENGINEERING_TELEMETRY=Build) Using directive is unnecessary. and similar. Please build locally and it should report there too.

auto-merge was automatically disabled December 7, 2022 22:11

Head branch was pushed to by a user without write access

@elachlan
Copy link
Contributor Author

elachlan commented Dec 7, 2022

src\System.Windows.Forms.Design\src\System\ComponentModel\Design\DesignerActionUI.cs(7,1): error IDE0005: (NETCORE_ENGINEERING_TELEMETRY=Build) Using directive is unnecessary. and similar. Please build locally and it should report there too.

Fixed.

@dreddy-work dreddy-work enabled auto-merge (squash) December 7, 2022 22:49
@dreddy-work dreddy-work merged commit 00e6b62 into dotnet:main Dec 7, 2022
@ghost ghost added this to the 8.0 Preview1 milestone Dec 7, 2022
@elachlan elachlan deleted the Design-NRT branch December 7, 2022 23:03
@ghost ghost locked as resolved and limited conversation to collaborators Jan 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ready-to-merge PRs that are ready to merge but worth notifying the internal team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants