Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable nullability in ToolboxItemSnapLineBehavior #13058

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gpetrou
Copy link
Contributor

@gpetrou gpetrou commented Mar 3, 2025

Proposed changes

  • Enable nullability in ToolboxItemSnapLineBehavior.
Microsoft Reviewers: Open in CodeFlow

Copy link

codecov bot commented Mar 3, 2025

Codecov Report

Attention: Patch coverage is 76.92308% with 3 lines in your changes missing coverage. Please review.

Project coverage is 76.10157%. Comparing base (4bcc8a9) to head (9c9466c).
Report is 17 commits behind head on main.

Additional details and impacted files
@@                 Coverage Diff                  @@
##                main      #13058          +/-   ##
====================================================
- Coverage   96.95044%   76.10157%   -20.84888%     
====================================================
  Files           1225        3275        +2050     
  Lines         357134      643808      +286674     
  Branches        5537       47446       +41909     
====================================================
+ Hits          346243      489948      +143705     
- Misses         10049      150296      +140247     
- Partials         842        3564        +2722     
Flag Coverage Δ
Debug 76.10157% <76.92308%> (-20.84888%) ⬇️
integration 18.04081% <76.92308%> (?)
production 50.12872% <76.92308%> (?)
test 96.95016% <ø> (-0.00029%) ⬇️
unit 47.54076% <0.00000%> (?)

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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@LeafShi1 LeafShi1 requested a review from Tanya-Solyanik March 3, 2025 09:31
SelectionManager selMgr = (SelectionManager)_serviceProvider.GetService(typeof(SelectionManager));
if (selMgr is not null)
Adorner? bodyAdorner = null;
if (_serviceProvider.TryGetService(out SelectionManager? selMgr))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please use GetRequiredService here? Previously we were throwing a null reference exception when the selection manager was not available.

@Tanya-Solyanik Tanya-Solyanik added the waiting-author-feedback The team requires more information from the author label Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: NRT waiting-author-feedback The team requires more information from the author
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants