-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Enable nullability in GroupedContextMenuStrip and NewItemsContextMenuStrip #11183
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
Conversation
75c6f1b to
c1bcb41
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #11183 +/- ##
===================================================
+ Coverage 74.32617% 74.33714% +0.01097%
===================================================
Files 3018 3019 +1
Lines 626381 626411 +30
Branches 46602 46602
===================================================
+ Hits 465565 465656 +91
+ Misses 157419 157364 -55
+ Partials 3397 3391 -6
Flags with carried forward coverage won't be shown. Click here to find out more. |
c1bcb41 to
a8f1b90
Compare
|
LGTM! @lonitra Please review this PR. |
src/System.Windows.Forms.Design/src/System/Windows/Forms/Design/GroupedContextMenuStrip.cs
Show resolved
Hide resolved
a8f1b90 to
a9f3bd2
Compare
| [Fact] | ||
| public void Populate_WhenInitializedWithoutGroups_ItemsCountIsZero() | ||
| { | ||
| GroupedContextMenuStrip groupedContextMenuStrip = new(); |
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.
Believe this is disposable
| GroupedContextMenuStrip groupedContextMenuStrip = new(); | |
| using GroupedContextMenuStrip groupedContextMenuStrip = new(); |
| GroupedContextMenuStrip groupedContextMenuStrip = new(); | ||
| ToolStripButton toolStripButton = new(); |
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.
Ditto here and test below as well
| GroupedContextMenuStrip groupedContextMenuStrip = new(); | |
| ToolStripButton toolStripButton = new(); | |
| using GroupedContextMenuStrip groupedContextMenuStrip = new(); | |
| using ToolStripButton toolStripButton = new(); |
a9f3bd2 to
1730ee2
Compare
lonitra
left a comment
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.
🚀
Proposed changes
Microsoft Reviewers: Open in CodeFlow