dotnet / winforms

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

Add support for Point in Value #12235

Closed JeremyKuhne closed 1 month ago

JeremyKuhne commented 1 month ago

Adds non-boxing support for Point in Value.

Also fix issue trying to put Rectangle/Padding over top of different stored value and add test.

Microsoft Reviewers: Open in CodeFlow
codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 47.05882% with 18 lines in your changes missing coverage. Please review.

Project coverage is 75.42281%. Comparing base (43d510c) to head (2d2cf84). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #12235 +/- ## =================================================== - Coverage 75.42791% 75.42281% -0.00510% =================================================== Files 3102 3102 Lines 634244 634275 +31 Branches 46866 46867 +1 =================================================== - Hits 478397 478388 -9 - Misses 152426 152468 +42 + Partials 3421 3419 -2 ``` | [Flag](https://app.codecov.io/gh/dotnet/winforms/pull/12235/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/12235/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `75.42281% <47.05882%> (-0.00510%)` | :arrow_down: | | [integration](https://app.codecov.io/gh/dotnet/winforms/pull/12235/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `17.98438% <18.18182%> (+0.00374%)` | :arrow_up: | | [production](https://app.codecov.io/gh/dotnet/winforms/pull/12235/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `48.79585% <18.18182%> (-0.00960%)` | :arrow_down: | | [test](https://app.codecov.io/gh/dotnet/winforms/pull/12235/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `97.02549% <100.00000%> (-0.00075%)` | :arrow_down: | | [unit](https://app.codecov.io/gh/dotnet/winforms/pull/12235/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `45.82647% <18.18182%> (+0.01066%)` | :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.