Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/wpfPublic

Avoid boxing booleans during tracing and when settingbool? properties#10884

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
h3xds1nz wants to merge4 commits intodotnet:main
base:main
Choose a base branch
Loading
fromh3xds1nz:avoid-some-trace-boxes

Conversation

h3xds1nz
Copy link
Member

@h3xds1nzh3xds1nz commentedMay 26, 2025
edited by dotnet-policy-servicebot
Loading

This should be only merged after#10711 so we don't have to unnecessarily add the usings forKnownBoxes.

Gonna draft it for the same reason so that I can do an additional sweep once it is merged.

Description

Avoids boxing booleans in a few more cases than already done in#10628 and#10711.

I didn't opt-in for making anullable<bool> helper for DPs as its not that prevalent and saves a few bytes.

Customer Impact

Less boxed booleans on the heap, less memory usage.

Regression

No.

Testing

Local build.

Risk

Low.

Microsoft Reviewers:Open in CodeFlow

rampaa and lindexi reacted with thumbs up emoji
@h3xds1nzh3xds1nz requested a review froma team as acode ownerMay 26, 2025 14:30
@h3xds1nzh3xds1nz marked this pull request as draftMay 26, 2025 14:30
@dotnet-policy-servicedotnet-policy-servicebot added PRmetadata: Label to tag PRs, to facilitate with triage Community ContributionA label for all community Contributions labelsMay 26, 2025
@codecovCodecov
Copy link

codecovbot commentedMay 26, 2025
edited
Loading

Codecov Report

Attention: Patch coverage is0% with14 lines in your changes missing coverage. Please review.

Project coverage is 2.98817%. Comparing base(57fe8ac) to head(c6940aa).
Report is 10 commits behind head on main.

Additional details and impacted files
@@                 Coverage Diff                 @@##                main     #10884          +/-   ##===================================================- Coverage   13.48885%   2.98817%   -10.50068%===================================================  Files           3317       3319           +2       Lines         664749     664888         +139       Branches       74643      74674          +31     ===================================================- Hits           89667      19868       -69799- Misses        572488     644839       +72351+ Partials        2594        181        -2413
FlagCoverage Δ
Debug2.98817% <0.00000%> (-10.50068%)⬇️

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

🚀 New features to boost your workflow:
  • ❄️Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@dipeshmsftdipeshmsftAwaiting requested review from dipeshmsft

@singhashish-wpfsinghashish-wpfAwaiting requested review from singhashish-wpf

@Kuldeep-MSKuldeep-MSAwaiting requested review from Kuldeep-MS

At least 1 approving review is required to merge this pull request.

Assignees

@h3xds1nzh3xds1nz

Labels
Community ContributionA label for all community ContributionsdraftPRmetadata: Label to tag PRs, to facilitate with triage
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@h3xds1nz

[8]ページ先頭

©2009-2025 Movatter.jp