dotnet / winforms

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

Get TrimTest to 0 trim warnings #11407

Closed LakshanF closed 1 month ago

LakshanF commented 1 month ago

Use the new ComponentModel type registration APIs to make the TrimTest project trim compatible.

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 42.01183% with 98 lines in your changes missing coverage. Please review.

Project coverage is 74.39904%. Comparing base (d8c60bf) to head (4b073f2). Report is 38 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #11407 +/- ## =================================================== + Coverage 74.28601% 74.39904% +0.11302% =================================================== Files 3026 3030 +4 Lines 627075 628039 +964 Branches 46755 46803 +48 =================================================== + Hits 465829 467255 +1426 + Misses 157900 157435 -465 - Partials 3346 3349 +3 ``` | [Flag](https://app.codecov.io/gh/dotnet/winforms/pull/11407/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/11407/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `74.39904% <42.01183%> (+0.11302%)` | :arrow_up: | | [integration](https://app.codecov.io/gh/dotnet/winforms/pull/11407/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `17.98361% <9.65517%> (-0.01498%)` | :arrow_down: | | [production](https://app.codecov.io/gh/dotnet/winforms/pull/11407/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `47.22281% <33.10345%> (+0.20307%)` | :arrow_up: | | [test](https://app.codecov.io/gh/dotnet/winforms/pull/11407/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `96.98776% <95.83333%> (+0.00075%)` | :arrow_up: | | [unit](https://app.codecov.io/gh/dotnet/winforms/pull/11407/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `44.18112% <33.10345%> (+0.18569%)` | :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.