dotnet / winforms

Windows Forms is a .NET UI framework for building Windows desktop applications.
MIT License
4.28k stars 954 forks source link

Fix missing types in System.Drawing.Common netframework facade #11555

Closed ericstj closed 1 week ago

ericstj commented 1 week ago

Fixes https://github.com/dotnet/runtime/issues/103702

Proposed changes

Customer Impact

Regression?

Risk

codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 74.48470%. Comparing base (346ceee) to head (164c8be). Report is 2 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #11555 +/- ## =================================================== + Coverage 74.42193% 74.48470% +0.06277% =================================================== Files 3039 3039 Lines 628902 629054 +152 Branches 46831 46831 =================================================== + Hits 468041 468549 +508 + Misses 157499 157159 -340 + Partials 3362 3346 -16 ``` | [Flag](https://app.codecov.io/gh/dotnet/winforms/pull/11555/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | Coverage Δ | | |---|---|---| | [Debug](https://app.codecov.io/gh/dotnet/winforms/pull/11555/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `74.48470% <ø> (+0.06277%)` | :arrow_up: | | [integration](https://app.codecov.io/gh/dotnet/winforms/pull/11555/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `17.97784% <ø> (+0.08296%)` | :arrow_up: | | [production](https://app.codecov.io/gh/dotnet/winforms/pull/11555/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `47.34926% <ø> (+0.12664%)` | :arrow_up: | | [test](https://app.codecov.io/gh/dotnet/winforms/pull/11555/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `96.97008% <ø> (-0.00012%)` | :arrow_down: | | [unit](https://app.codecov.io/gh/dotnet/winforms/pull/11555/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `44.34033% <ø> (+0.04525%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet#carryforward-flags-in-the-pull-request-comment) to find out more.
ericstj commented 1 week ago

cc @lonitra @ViktorHofer

lonitra commented 1 week ago

@ericstj does this need to be backported at all?

ViktorHofer commented 1 week ago

Did you find out why APICompat doesn't flag this? EDIT: Oh lol, it did.

ericstj commented 1 week ago

Did you find out why APICompat doesn't flag this? EDIT: Oh lol, it did.

Yeah, I'm looking at more instances of CP0001 that are suppressed in runtime to see if anywhere else we're ignoring problems like this.

@ericstj does this need to be backported at all?

It could be. It's pretty low risk. The bug exists in both 8.0 and 6.0.