Skip to content

Fix five conversion factors that disagree with their definitions #315

Fix five conversion factors that disagree with their definitions

Fix five conversion factors that disagree with their definitions #315

Triggered via pull request October 7, 2026 01:11
Status Success
Total duration 4m 48s
Artifacts –

pr.yml

on: pull_request
PR Build & Test
4m 44s
PR Build & Test
Fit to window
Zoom out
Zoom in

Annotations

10 warnings and 1 notice
PR Build & Test: UnitsNet.Benchmark/Operators/Additions/SumOfTemperatureDeltasWithSameUnitsBenchmarks.cs#L50
'GenericMathExtensions' is obsolete: 'Replaced by the LinearQuantityExtensions, LogarithmicQuantityExtensions and AffineQuantityExtensions'
PR Build & Test: UnitsNet.Benchmark/Operators/Additions/SumOfTemperatureDeltasWithRandomUnitsBenchmarks.cs#L49
'GenericMathExtensions' is obsolete: 'Replaced by the LinearQuantityExtensions, LogarithmicQuantityExtensions and AffineQuantityExtensions'
PR Build & Test: UnitsNet.Benchmark/UnitsNetBenchmarks.cs#L129
'QuantityExtensions.ToUnit(IQuantity, UnitKey)' is obsolete: 'This method will be removed in the next major update. Consider using the UnitConverter.Default.ConvertTo(quantity, unit) method instead.'
PR Build & Test: UnitsNet.Benchmark/UnitsNetBenchmarks.cs#L115
'QuantityExtensions.As(IQuantity, UnitKey)' is obsolete: 'This method will be removed in the next major update. Consider using the UnitConverter.Default.ConvertValue(quantity, unit) method instead.'
PR Build & Test: UnitsNet/GeneratedCode/Quantity.g.cs#L68
'ElectricImpedance' is obsolete: 'Impedance is a complex number, which is not currently supported by UnitsNet. Please use either ElectricResistance or ElectricReactance instead.'
PR Build & Test: UnitsNet/GeneratedCode/Quantity.g.cs#L56
'ElectricAdmittance' is obsolete: 'Admittance is a complex number, which is not currently supported by UnitsNet. Please use either ElectricConductance or ElectricSusceptance instead.'
PR Build & Test: UnitsNet/GeneratedCode/Quantity.g.cs#L68
'ElectricImpedance' is obsolete: 'Impedance is a complex number, which is not currently supported by UnitsNet. Please use either ElectricResistance or ElectricReactance instead.'
PR Build & Test: UnitsNet/GeneratedCode/Quantity.g.cs#L56
'ElectricAdmittance' is obsolete: 'Admittance is a complex number, which is not currently supported by UnitsNet. Please use either ElectricConductance or ElectricSusceptance instead.'
PR Build & Test: UnitsNet/GeneratedCode/Quantity.g.cs#L68
'ElectricImpedance' is obsolete: 'Impedance is a complex number, which is not currently supported by UnitsNet. Please use either ElectricResistance or ElectricReactance instead.'
PR Build & Test: UnitsNet/GeneratedCode/Quantity.g.cs#L56
'ElectricAdmittance' is obsolete: 'Admittance is a complex number, which is not currently supported by UnitsNet. Please use either ElectricConductance or ElectricSusceptance instead.'
PR Build & Test
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"