dotnet / winforms

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

Minor changes in the Clipboard code #11413

Closed Tanya-Solyanik closed 4 months ago

Tanya-Solyanik commented 4 months ago

Reordered IDataObject's and DataObject's methods alphabetically. Removed explicit xml doc comments on DataObject's implementation of the managed IDataObject interface Removed a duplicate test (format != DataFormats.BitmapConstant) in TryGetBitmapData Changed return type to MemoryStream from Stream in ReadByteStreamFromHGLOBAL

Microsoft Reviewers: Open in CodeFlow
codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 44.76190% with 58 lines in your changes are missing coverage. Please review.

Project coverage is 74.28431%. Comparing base (b7570a2) to head (dc26ccb). Report is 2 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #11413 +/- ## =================================================== + Coverage 74.28012% 74.28431% +0.00419% =================================================== Files 3026 3026 Lines 627017 627018 +1 Branches 46755 46756 +1 =================================================== + Hits 465749 465776 +27 + Misses 157919 157896 -23 + Partials 3349 3346 -3 ``` | [Flag](https://app.codecov.io/gh/dotnet/winforms/pull/11413/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/11413/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `74.28431% <44.76190%> (+0.00419%)` | :arrow_up: | | [integration](https://app.codecov.io/gh/dotnet/winforms/pull/11413/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `17.99727% <26.66667%> (+0.01013%)` | :arrow_up: | | [production](https://app.codecov.io/gh/dotnet/winforms/pull/11413/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `47.02189% <44.76190%> (+0.00932%)` | :arrow_up: | | [test](https://app.codecov.io/gh/dotnet/winforms/pull/11413/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `96.98646% <ø> (ø)` | | | [unit](https://app.codecov.io/gh/dotnet/winforms/pull/11413/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `43.99832% <41.90476%> (+0.00932%)` | :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.
Tanya-Solyanik commented 4 months ago

Thank you!