Skip to content

Fix some trim warnings in DesignerHost - #10943

Merged
sbomer merged 1 commit into
dotnet:mainfrom
sbomer:designerHost
Feb 26, 2024
Merged

sbomer merged 1 commit into
dotnet:mainfrom
sbomer:designerHost

Conversation

@sbomer

@sbomer sbomer commented Feb 23, 2024 •

Copy link
Copy Markdown
Member

Annotations on these methods should match those on IReflect, otherwise this produces warnings in a blank trimmed winforms app. The DesignerHost code is unused, but this still produces warnings due to dotnet/runtime#98870. In any case, annotating these methods seems like the right way to annotate this code in DesignerHost.

Microsoft Reviewers: Open in CodeFlow

@sbomer
sbomer requested a review from a team as a code owner February 23, 2024 20:38
@sbomer
sbomer requested review from LakshanF and agocke February 23, 2024 20:40
@codecov

codecov Bot commented Feb 23, 2024 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.17209%. Comparing base (dd5ae27) to head (3422746).

Additional details and impacted files
@@                 Coverage Diff                 @@
##                main      #10943         +/-   ##
===================================================
+ Coverage   73.16610%   73.17209%   +0.00598%     
===================================================
  Files           3097        3097                 
  Lines         633907      633907                 
  Branches       47361       47361                 
===================================================
+ Hits          463805      463843         +38     
+ Misses        166541      166513         -28     
+ Partials        3561        3551         -10     
Flag Coverage Δ
Debug 73.17209% <ø> (+0.00598%) ⬆️
integration 18.44777% <ø> (+0.01540%) ⬆️
production 46.67433% <ø> (+0.01327%) ⬆️
test 94.97396% <ø> (ø)
unit 43.57303% <ø> (+0.00943%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@elachlan elachlan added the waiting-review This item is waiting on review by one or more members of team label Feb 26, 2024
@lonitra lonitra removed the waiting-review This item is waiting on review by one or more members of team label Feb 26, 2024
@sbomer
sbomer merged commit bddaf66 into dotnet:main Feb 26, 2024
KlausLoeffelmann pushed a commit to KlausLoeffelmann/winforms that referenced this pull request Mar 5, 2024
Annotations on these methods should match those on `IReflect`,
otherwise this produces warnings in a blank trimmed winforms
app. The `DesignerHost` code is unused, but this still produces
warnings due to
dotnet/runtime#98870. In any case,
annotating these methods seems like the right way to annotate
this code in `DesignerHost`.
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants