Skip to content

Add typed GetUnitInfo<TUnit> extension for netstandard2.0 parity

716bca9
Select commit
Loading
Failed to load commit list.
Merged

Add IQuantity.UnitInfo convenience property #1649

Add typed GetUnitInfo<TUnit> extension for netstandard2.0 parity
716bca9
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 6, 2026 in 1s

96% (-1%) compared to 414fe57, passed because coverage increased by 0% when compared to adjusted base (96%)

View this Pull Request on Codecov

96% (-1%) compared to 414fe57, passed because coverage increased by 0% when compared to adjusted base (96%)

Details

Codecov Report

❌ Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 96%. Comparing base (414fe57) to head (716bca9).

Files with missing lines Patch % Lines
UnitsNet/IQuantity.cs 66% 1 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff           @@
##           master   #1649   +/-   ##
======================================
- Coverage      96%     96%   -1%     
======================================
  Files         450     450           
  Lines       29148   29151    +3     
======================================
+ Hits        28107   28109    +2     
- Misses       1041    1042    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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