diff --git a/CodeGen/Generators/UnitsNetGen/QuantityGenerator.cs b/CodeGen/Generators/UnitsNetGen/QuantityGenerator.cs
index 38504033e5..86490605d1 100644
--- a/CodeGen/Generators/UnitsNetGen/QuantityGenerator.cs
+++ b/CodeGen/Generators/UnitsNetGen/QuantityGenerator.cs
@@ -99,7 +99,7 @@ namespace UnitsNet
Writer.WL(@$"
#endif");
}
-
+
if (_quantity.ValueType == "decimal") Writer.WL(@$"
IDecimalQuantity,");
@@ -115,13 +115,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = ""Value"", Order = 0)]
+ [DataMember(Name = ""Value"", Order = 1)]
private readonly {_quantity.ValueType} _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = ""Unit"", Order = 1)]
+ [DataMember(Name = ""Unit"", Order = 2)]
private readonly {_unitEnumName}? _unit;
");
GenerateStaticConstructor();
@@ -759,41 +759,41 @@ private void GenerateRelationalOperators()
{
leftConversionProperty = "Total" + leftConversionProperty;
}
-
+
if (relation.RightQuantity.Name is nameof(TimeSpan))
{
rightConversionProperty = "Total" + rightConversionProperty;
}
-
+
if (leftParameter == rightParameter)
{
leftParameter = "left";
rightParameter = "right";
}
-
+
var leftPart = $"{leftParameter}.{leftConversionProperty}";
var rightPart = $"{rightParameter}.{rightConversionProperty}";
-
+
if (leftParameter is "double")
{
leftParameter = leftPart = "value";
- }
-
+ }
+
if (rightParameter is "double")
{
rightParameter = rightPart = "value";
}
-
+
var leftCast = relation.LeftQuantity.ValueType is "decimal" ? "(double)" : string.Empty;
var rightCast = relation.RightQuantity.ValueType is "decimal" ? "(double)" : string.Empty;
-
+
var expression = $"{leftCast}{leftPart} {relation.Operator} {rightCast}{rightPart}";
if (relation.ResultQuantity.Name is not ("double" or "decimal"))
{
expression = $"{relation.ResultQuantity.Name}.From{relation.ResultUnit.PluralName}({expression})";
}
-
+
Writer.WL($@"
/// Get from {relation.Operator} .
public static {relation.ResultQuantity.Name} operator {relation.Operator}({relation.LeftQuantity.Name} {leftParameter}, {relation.RightQuantity.Name} {rightParameter})
diff --git a/UnitsNet/GeneratedCode/Quantities/AbsorbedDoseOfIonizingRadiation.g.cs b/UnitsNet/GeneratedCode/Quantities/AbsorbedDoseOfIonizingRadiation.g.cs
index 2c3c85d9f1..da5528afdc 100644
--- a/UnitsNet/GeneratedCode/Quantities/AbsorbedDoseOfIonizingRadiation.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/AbsorbedDoseOfIonizingRadiation.g.cs
@@ -50,13 +50,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly AbsorbedDoseOfIonizingRadiationUnit? _unit;
static AbsorbedDoseOfIonizingRadiation()
diff --git a/UnitsNet/GeneratedCode/Quantities/Acceleration.g.cs b/UnitsNet/GeneratedCode/Quantities/Acceleration.g.cs
index 82cd08f957..72ac25caa1 100644
--- a/UnitsNet/GeneratedCode/Quantities/Acceleration.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Acceleration.g.cs
@@ -58,13 +58,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly AccelerationUnit? _unit;
static Acceleration()
diff --git a/UnitsNet/GeneratedCode/Quantities/AmountOfSubstance.g.cs b/UnitsNet/GeneratedCode/Quantities/AmountOfSubstance.g.cs
index 4a0f4a288e..40c6a00dd8 100644
--- a/UnitsNet/GeneratedCode/Quantities/AmountOfSubstance.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/AmountOfSubstance.g.cs
@@ -55,13 +55,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly AmountOfSubstanceUnit? _unit;
static AmountOfSubstance()
diff --git a/UnitsNet/GeneratedCode/Quantities/AmplitudeRatio.g.cs b/UnitsNet/GeneratedCode/Quantities/AmplitudeRatio.g.cs
index 23c1c0d5ec..431a7e8427 100644
--- a/UnitsNet/GeneratedCode/Quantities/AmplitudeRatio.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/AmplitudeRatio.g.cs
@@ -47,13 +47,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly AmplitudeRatioUnit? _unit;
static AmplitudeRatio()
diff --git a/UnitsNet/GeneratedCode/Quantities/Angle.g.cs b/UnitsNet/GeneratedCode/Quantities/Angle.g.cs
index 5bfb70c16a..346157c773 100644
--- a/UnitsNet/GeneratedCode/Quantities/Angle.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Angle.g.cs
@@ -55,13 +55,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly AngleUnit? _unit;
static Angle()
diff --git a/UnitsNet/GeneratedCode/Quantities/ApparentEnergy.g.cs b/UnitsNet/GeneratedCode/Quantities/ApparentEnergy.g.cs
index 4350ba5376..37b8d8e526 100644
--- a/UnitsNet/GeneratedCode/Quantities/ApparentEnergy.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ApparentEnergy.g.cs
@@ -47,13 +47,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly ApparentEnergyUnit? _unit;
static ApparentEnergy()
diff --git a/UnitsNet/GeneratedCode/Quantities/ApparentPower.g.cs b/UnitsNet/GeneratedCode/Quantities/ApparentPower.g.cs
index 3b0fd4c400..f4096ac654 100644
--- a/UnitsNet/GeneratedCode/Quantities/ApparentPower.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ApparentPower.g.cs
@@ -47,13 +47,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly ApparentPowerUnit? _unit;
static ApparentPower()
diff --git a/UnitsNet/GeneratedCode/Quantities/Area.g.cs b/UnitsNet/GeneratedCode/Quantities/Area.g.cs
index 2e1bd2d4db..613ed2e8dd 100644
--- a/UnitsNet/GeneratedCode/Quantities/Area.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Area.g.cs
@@ -64,13 +64,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly AreaUnit? _unit;
static Area()
diff --git a/UnitsNet/GeneratedCode/Quantities/AreaDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/AreaDensity.g.cs
index e055232358..2124570e77 100644
--- a/UnitsNet/GeneratedCode/Quantities/AreaDensity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/AreaDensity.g.cs
@@ -53,13 +53,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly AreaDensityUnit? _unit;
static AreaDensity()
diff --git a/UnitsNet/GeneratedCode/Quantities/AreaMomentOfInertia.g.cs b/UnitsNet/GeneratedCode/Quantities/AreaMomentOfInertia.g.cs
index 3946253a3d..acfe0f659c 100644
--- a/UnitsNet/GeneratedCode/Quantities/AreaMomentOfInertia.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/AreaMomentOfInertia.g.cs
@@ -53,13 +53,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly AreaMomentOfInertiaUnit? _unit;
static AreaMomentOfInertia()
diff --git a/UnitsNet/GeneratedCode/Quantities/BitRate.g.cs b/UnitsNet/GeneratedCode/Quantities/BitRate.g.cs
index 98a1f28ddf..a351855b9f 100644
--- a/UnitsNet/GeneratedCode/Quantities/BitRate.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/BitRate.g.cs
@@ -51,13 +51,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly decimal _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly BitRateUnit? _unit;
static BitRate()
diff --git a/UnitsNet/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.g.cs b/UnitsNet/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.g.cs
index d2a38fc8de..090b96d8dc 100644
--- a/UnitsNet/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.g.cs
@@ -54,13 +54,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly BrakeSpecificFuelConsumptionUnit? _unit;
static BrakeSpecificFuelConsumption()
diff --git a/UnitsNet/GeneratedCode/Quantities/Capacitance.g.cs b/UnitsNet/GeneratedCode/Quantities/Capacitance.g.cs
index b590aee179..a36692fbd9 100644
--- a/UnitsNet/GeneratedCode/Quantities/Capacitance.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Capacitance.g.cs
@@ -50,13 +50,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly CapacitanceUnit? _unit;
static Capacitance()
diff --git a/UnitsNet/GeneratedCode/Quantities/CoefficientOfThermalExpansion.g.cs b/UnitsNet/GeneratedCode/Quantities/CoefficientOfThermalExpansion.g.cs
index 9624136a81..656daf8952 100644
--- a/UnitsNet/GeneratedCode/Quantities/CoefficientOfThermalExpansion.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/CoefficientOfThermalExpansion.g.cs
@@ -53,13 +53,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly CoefficientOfThermalExpansionUnit? _unit;
static CoefficientOfThermalExpansion()
diff --git a/UnitsNet/GeneratedCode/Quantities/Compressibility.g.cs b/UnitsNet/GeneratedCode/Quantities/Compressibility.g.cs
index 14ea5a41bf..8c4f3b14c2 100644
--- a/UnitsNet/GeneratedCode/Quantities/Compressibility.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Compressibility.g.cs
@@ -47,13 +47,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly CompressibilityUnit? _unit;
static Compressibility()
diff --git a/UnitsNet/GeneratedCode/Quantities/Density.g.cs b/UnitsNet/GeneratedCode/Quantities/Density.g.cs
index 091e1606f0..4c46483364 100644
--- a/UnitsNet/GeneratedCode/Quantities/Density.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Density.g.cs
@@ -62,13 +62,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly DensityUnit? _unit;
static Density()
diff --git a/UnitsNet/GeneratedCode/Quantities/Duration.g.cs b/UnitsNet/GeneratedCode/Quantities/Duration.g.cs
index 23f5ca369f..913f041cb3 100644
--- a/UnitsNet/GeneratedCode/Quantities/Duration.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Duration.g.cs
@@ -65,13 +65,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly DurationUnit? _unit;
static Duration()
diff --git a/UnitsNet/GeneratedCode/Quantities/DynamicViscosity.g.cs b/UnitsNet/GeneratedCode/Quantities/DynamicViscosity.g.cs
index 817c95d006..79a030503d 100644
--- a/UnitsNet/GeneratedCode/Quantities/DynamicViscosity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/DynamicViscosity.g.cs
@@ -56,13 +56,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly DynamicViscosityUnit? _unit;
static DynamicViscosity()
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricAdmittance.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricAdmittance.g.cs
index 57f4ca11cf..0751d0f95e 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricAdmittance.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricAdmittance.g.cs
@@ -47,13 +47,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly ElectricAdmittanceUnit? _unit;
static ElectricAdmittance()
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricCharge.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricCharge.g.cs
index 01d6a795d2..ea6a9b18f9 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricCharge.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricCharge.g.cs
@@ -59,13 +59,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly ElectricChargeUnit? _unit;
static ElectricCharge()
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricChargeDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricChargeDensity.g.cs
index af02fd255f..899ec712d2 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricChargeDensity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricChargeDensity.g.cs
@@ -50,13 +50,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly ElectricChargeDensityUnit? _unit;
static ElectricChargeDensity()
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricConductance.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricConductance.g.cs
index 920182ba90..d878b4172f 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricConductance.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricConductance.g.cs
@@ -50,13 +50,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly ElectricConductanceUnit? _unit;
static ElectricConductance()
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricConductivity.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricConductivity.g.cs
index 171e7fe67c..d219a0ad7a 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricConductivity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricConductivity.g.cs
@@ -50,13 +50,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly ElectricConductivityUnit? _unit;
static ElectricConductivity()
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricCurrent.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricCurrent.g.cs
index bcf22620a6..c54ddcf125 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricCurrent.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricCurrent.g.cs
@@ -58,13 +58,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly ElectricCurrentUnit? _unit;
static ElectricCurrent()
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricCurrentDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricCurrentDensity.g.cs
index 90d5083694..bcb73e7de5 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricCurrentDensity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricCurrentDensity.g.cs
@@ -50,13 +50,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly ElectricCurrentDensityUnit? _unit;
static ElectricCurrentDensity()
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricCurrentGradient.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricCurrentGradient.g.cs
index 8298166188..6683af5fd6 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricCurrentGradient.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricCurrentGradient.g.cs
@@ -54,13 +54,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly ElectricCurrentGradientUnit? _unit;
static ElectricCurrentGradient()
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricField.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricField.g.cs
index 6c0eb5f4c1..e45c3a2be9 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricField.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricField.g.cs
@@ -50,13 +50,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly ElectricFieldUnit? _unit;
static ElectricField()
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricInductance.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricInductance.g.cs
index c7340e537d..3d95a66431 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricInductance.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricInductance.g.cs
@@ -50,13 +50,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly ElectricInductanceUnit? _unit;
static ElectricInductance()
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricPotential.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricPotential.g.cs
index dd3983378f..d91a44ff8a 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricPotential.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricPotential.g.cs
@@ -56,13 +56,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly ElectricPotentialUnit? _unit;
static ElectricPotential()
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricPotentialAc.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricPotentialAc.g.cs
index 642c8f81b6..1570d3641f 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricPotentialAc.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricPotentialAc.g.cs
@@ -47,13 +47,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly ElectricPotentialAcUnit? _unit;
static ElectricPotentialAc()
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricPotentialChangeRate.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricPotentialChangeRate.g.cs
index eb3232e1b8..dad55ac038 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricPotentialChangeRate.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricPotentialChangeRate.g.cs
@@ -47,13 +47,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly ElectricPotentialChangeRateUnit? _unit;
static ElectricPotentialChangeRate()
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricPotentialDc.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricPotentialDc.g.cs
index fae46812ac..966aa94815 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricPotentialDc.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricPotentialDc.g.cs
@@ -47,13 +47,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly ElectricPotentialDcUnit? _unit;
static ElectricPotentialDc()
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricResistance.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricResistance.g.cs
index dfdbb436cf..3da018408e 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricResistance.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricResistance.g.cs
@@ -53,13 +53,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly ElectricResistanceUnit? _unit;
static ElectricResistance()
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricResistivity.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricResistivity.g.cs
index a768739661..229ecc2f5f 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricResistivity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricResistivity.g.cs
@@ -50,13 +50,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly ElectricResistivityUnit? _unit;
static ElectricResistivity()
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricSurfaceChargeDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricSurfaceChargeDensity.g.cs
index 6f43ffefe7..bab70fe581 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricSurfaceChargeDensity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricSurfaceChargeDensity.g.cs
@@ -50,13 +50,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly ElectricSurfaceChargeDensityUnit? _unit;
static ElectricSurfaceChargeDensity()
diff --git a/UnitsNet/GeneratedCode/Quantities/Energy.g.cs b/UnitsNet/GeneratedCode/Quantities/Energy.g.cs
index 5ecdc6dee6..6962d9c938 100644
--- a/UnitsNet/GeneratedCode/Quantities/Energy.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Energy.g.cs
@@ -62,13 +62,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly EnergyUnit? _unit;
static Energy()
diff --git a/UnitsNet/GeneratedCode/Quantities/EnergyDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/EnergyDensity.g.cs
index 7200c3d2e8..c5f3640ac6 100644
--- a/UnitsNet/GeneratedCode/Quantities/EnergyDensity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/EnergyDensity.g.cs
@@ -53,13 +53,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly EnergyDensityUnit? _unit;
static EnergyDensity()
diff --git a/UnitsNet/GeneratedCode/Quantities/Entropy.g.cs b/UnitsNet/GeneratedCode/Quantities/Entropy.g.cs
index 3fdd8dc5c3..ed43a2be22 100644
--- a/UnitsNet/GeneratedCode/Quantities/Entropy.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Entropy.g.cs
@@ -54,13 +54,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly EntropyUnit? _unit;
static Entropy()
diff --git a/UnitsNet/GeneratedCode/Quantities/Force.g.cs b/UnitsNet/GeneratedCode/Quantities/Force.g.cs
index b051006985..c3d4390d12 100644
--- a/UnitsNet/GeneratedCode/Quantities/Force.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Force.g.cs
@@ -62,13 +62,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly ForceUnit? _unit;
static Force()
diff --git a/UnitsNet/GeneratedCode/Quantities/ForceChangeRate.g.cs b/UnitsNet/GeneratedCode/Quantities/ForceChangeRate.g.cs
index 4519c95dec..6b54cb1e24 100644
--- a/UnitsNet/GeneratedCode/Quantities/ForceChangeRate.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ForceChangeRate.g.cs
@@ -54,13 +54,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly ForceChangeRateUnit? _unit;
static ForceChangeRate()
diff --git a/UnitsNet/GeneratedCode/Quantities/ForcePerLength.g.cs b/UnitsNet/GeneratedCode/Quantities/ForcePerLength.g.cs
index 271abd4ff4..c4ba2a2396 100644
--- a/UnitsNet/GeneratedCode/Quantities/ForcePerLength.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ForcePerLength.g.cs
@@ -57,13 +57,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly ForcePerLengthUnit? _unit;
static ForcePerLength()
diff --git a/UnitsNet/GeneratedCode/Quantities/Frequency.g.cs b/UnitsNet/GeneratedCode/Quantities/Frequency.g.cs
index ac5fb15c23..c47f8d33d8 100644
--- a/UnitsNet/GeneratedCode/Quantities/Frequency.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Frequency.g.cs
@@ -53,13 +53,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly FrequencyUnit? _unit;
static Frequency()
diff --git a/UnitsNet/GeneratedCode/Quantities/FuelEfficiency.g.cs b/UnitsNet/GeneratedCode/Quantities/FuelEfficiency.g.cs
index 65b7903c2a..58ea11bbd4 100644
--- a/UnitsNet/GeneratedCode/Quantities/FuelEfficiency.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/FuelEfficiency.g.cs
@@ -50,13 +50,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly FuelEfficiencyUnit? _unit;
static FuelEfficiency()
diff --git a/UnitsNet/GeneratedCode/Quantities/HeatFlux.g.cs b/UnitsNet/GeneratedCode/Quantities/HeatFlux.g.cs
index 041f94fbbd..ef3d60e6df 100644
--- a/UnitsNet/GeneratedCode/Quantities/HeatFlux.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/HeatFlux.g.cs
@@ -53,13 +53,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly HeatFluxUnit? _unit;
static HeatFlux()
diff --git a/UnitsNet/GeneratedCode/Quantities/HeatTransferCoefficient.g.cs b/UnitsNet/GeneratedCode/Quantities/HeatTransferCoefficient.g.cs
index e245fd7248..6372f3d2b5 100644
--- a/UnitsNet/GeneratedCode/Quantities/HeatTransferCoefficient.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/HeatTransferCoefficient.g.cs
@@ -47,13 +47,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly HeatTransferCoefficientUnit? _unit;
static HeatTransferCoefficient()
diff --git a/UnitsNet/GeneratedCode/Quantities/Illuminance.g.cs b/UnitsNet/GeneratedCode/Quantities/Illuminance.g.cs
index 6300efafe5..52e4d540ce 100644
--- a/UnitsNet/GeneratedCode/Quantities/Illuminance.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Illuminance.g.cs
@@ -50,13 +50,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly IlluminanceUnit? _unit;
static Illuminance()
diff --git a/UnitsNet/GeneratedCode/Quantities/Impulse.g.cs b/UnitsNet/GeneratedCode/Quantities/Impulse.g.cs
index b22505bba6..014956a017 100644
--- a/UnitsNet/GeneratedCode/Quantities/Impulse.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Impulse.g.cs
@@ -47,13 +47,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly ImpulseUnit? _unit;
static Impulse()
diff --git a/UnitsNet/GeneratedCode/Quantities/Information.g.cs b/UnitsNet/GeneratedCode/Quantities/Information.g.cs
index 9c2f3d7178..f9a6009a23 100644
--- a/UnitsNet/GeneratedCode/Quantities/Information.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Information.g.cs
@@ -48,13 +48,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly decimal _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly InformationUnit? _unit;
static Information()
diff --git a/UnitsNet/GeneratedCode/Quantities/Irradiance.g.cs b/UnitsNet/GeneratedCode/Quantities/Irradiance.g.cs
index 67d2bbb5a0..678bc160ba 100644
--- a/UnitsNet/GeneratedCode/Quantities/Irradiance.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Irradiance.g.cs
@@ -47,13 +47,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly IrradianceUnit? _unit;
static Irradiance()
diff --git a/UnitsNet/GeneratedCode/Quantities/Irradiation.g.cs b/UnitsNet/GeneratedCode/Quantities/Irradiation.g.cs
index c19a7ea2b8..e218c44001 100644
--- a/UnitsNet/GeneratedCode/Quantities/Irradiation.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Irradiation.g.cs
@@ -50,13 +50,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly IrradiationUnit? _unit;
static Irradiation()
diff --git a/UnitsNet/GeneratedCode/Quantities/Jerk.g.cs b/UnitsNet/GeneratedCode/Quantities/Jerk.g.cs
index 37b40f3f35..5ea97824d3 100644
--- a/UnitsNet/GeneratedCode/Quantities/Jerk.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Jerk.g.cs
@@ -47,13 +47,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly JerkUnit? _unit;
static Jerk()
diff --git a/UnitsNet/GeneratedCode/Quantities/KinematicViscosity.g.cs b/UnitsNet/GeneratedCode/Quantities/KinematicViscosity.g.cs
index 9c57ad8ecc..cc7dc19d31 100644
--- a/UnitsNet/GeneratedCode/Quantities/KinematicViscosity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/KinematicViscosity.g.cs
@@ -59,13 +59,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly KinematicViscosityUnit? _unit;
static KinematicViscosity()
diff --git a/UnitsNet/GeneratedCode/Quantities/LeakRate.g.cs b/UnitsNet/GeneratedCode/Quantities/LeakRate.g.cs
index a0ae353186..01406342cf 100644
--- a/UnitsNet/GeneratedCode/Quantities/LeakRate.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/LeakRate.g.cs
@@ -50,13 +50,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly LeakRateUnit? _unit;
static LeakRate()
diff --git a/UnitsNet/GeneratedCode/Quantities/Length.g.cs b/UnitsNet/GeneratedCode/Quantities/Length.g.cs
index cb76d25dfa..e97ae64cdc 100644
--- a/UnitsNet/GeneratedCode/Quantities/Length.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Length.g.cs
@@ -64,13 +64,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly LengthUnit? _unit;
static Length()
diff --git a/UnitsNet/GeneratedCode/Quantities/Level.g.cs b/UnitsNet/GeneratedCode/Quantities/Level.g.cs
index bdd0dab15e..a5400487bc 100644
--- a/UnitsNet/GeneratedCode/Quantities/Level.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Level.g.cs
@@ -47,13 +47,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly LevelUnit? _unit;
static Level()
diff --git a/UnitsNet/GeneratedCode/Quantities/LinearDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/LinearDensity.g.cs
index 6b92af85a4..1066b2224a 100644
--- a/UnitsNet/GeneratedCode/Quantities/LinearDensity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/LinearDensity.g.cs
@@ -58,13 +58,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly LinearDensityUnit? _unit;
static LinearDensity()
diff --git a/UnitsNet/GeneratedCode/Quantities/LinearPowerDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/LinearPowerDensity.g.cs
index 96f3857c3d..9cffb201d4 100644
--- a/UnitsNet/GeneratedCode/Quantities/LinearPowerDensity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/LinearPowerDensity.g.cs
@@ -50,13 +50,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly LinearPowerDensityUnit? _unit;
static LinearPowerDensity()
diff --git a/UnitsNet/GeneratedCode/Quantities/Luminance.g.cs b/UnitsNet/GeneratedCode/Quantities/Luminance.g.cs
index 1df5b7a1a7..883435684d 100644
--- a/UnitsNet/GeneratedCode/Quantities/Luminance.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Luminance.g.cs
@@ -56,13 +56,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly LuminanceUnit? _unit;
static Luminance()
diff --git a/UnitsNet/GeneratedCode/Quantities/Luminosity.g.cs b/UnitsNet/GeneratedCode/Quantities/Luminosity.g.cs
index f9615cbf5d..1c9ecef869 100644
--- a/UnitsNet/GeneratedCode/Quantities/Luminosity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Luminosity.g.cs
@@ -50,13 +50,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly LuminosityUnit? _unit;
static Luminosity()
diff --git a/UnitsNet/GeneratedCode/Quantities/LuminousFlux.g.cs b/UnitsNet/GeneratedCode/Quantities/LuminousFlux.g.cs
index 648e957e1d..6bfccfe0c6 100644
--- a/UnitsNet/GeneratedCode/Quantities/LuminousFlux.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/LuminousFlux.g.cs
@@ -50,13 +50,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly LuminousFluxUnit? _unit;
static LuminousFlux()
diff --git a/UnitsNet/GeneratedCode/Quantities/LuminousIntensity.g.cs b/UnitsNet/GeneratedCode/Quantities/LuminousIntensity.g.cs
index 96ee4951cc..dc3aa573f6 100644
--- a/UnitsNet/GeneratedCode/Quantities/LuminousIntensity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/LuminousIntensity.g.cs
@@ -57,13 +57,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly LuminousIntensityUnit? _unit;
static LuminousIntensity()
diff --git a/UnitsNet/GeneratedCode/Quantities/MagneticField.g.cs b/UnitsNet/GeneratedCode/Quantities/MagneticField.g.cs
index 44dde647a7..ae039d94fc 100644
--- a/UnitsNet/GeneratedCode/Quantities/MagneticField.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/MagneticField.g.cs
@@ -50,13 +50,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly MagneticFieldUnit? _unit;
static MagneticField()
diff --git a/UnitsNet/GeneratedCode/Quantities/MagneticFlux.g.cs b/UnitsNet/GeneratedCode/Quantities/MagneticFlux.g.cs
index 5e787f545e..50b4d387c8 100644
--- a/UnitsNet/GeneratedCode/Quantities/MagneticFlux.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/MagneticFlux.g.cs
@@ -50,13 +50,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly MagneticFluxUnit? _unit;
static MagneticFlux()
diff --git a/UnitsNet/GeneratedCode/Quantities/Magnetization.g.cs b/UnitsNet/GeneratedCode/Quantities/Magnetization.g.cs
index 513f7ad77a..cadecb3367 100644
--- a/UnitsNet/GeneratedCode/Quantities/Magnetization.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Magnetization.g.cs
@@ -50,13 +50,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly MagnetizationUnit? _unit;
static Magnetization()
diff --git a/UnitsNet/GeneratedCode/Quantities/Mass.g.cs b/UnitsNet/GeneratedCode/Quantities/Mass.g.cs
index af04728649..1ff055bda1 100644
--- a/UnitsNet/GeneratedCode/Quantities/Mass.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Mass.g.cs
@@ -67,13 +67,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly MassUnit? _unit;
static Mass()
diff --git a/UnitsNet/GeneratedCode/Quantities/MassConcentration.g.cs b/UnitsNet/GeneratedCode/Quantities/MassConcentration.g.cs
index f8ee175af2..ee8c291022 100644
--- a/UnitsNet/GeneratedCode/Quantities/MassConcentration.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/MassConcentration.g.cs
@@ -58,13 +58,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly MassConcentrationUnit? _unit;
static MassConcentration()
diff --git a/UnitsNet/GeneratedCode/Quantities/MassFlow.g.cs b/UnitsNet/GeneratedCode/Quantities/MassFlow.g.cs
index 4231859097..7419d2bce2 100644
--- a/UnitsNet/GeneratedCode/Quantities/MassFlow.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/MassFlow.g.cs
@@ -61,13 +61,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly MassFlowUnit? _unit;
static MassFlow()
diff --git a/UnitsNet/GeneratedCode/Quantities/MassFlux.g.cs b/UnitsNet/GeneratedCode/Quantities/MassFlux.g.cs
index 7f29655414..74dae04d8c 100644
--- a/UnitsNet/GeneratedCode/Quantities/MassFlux.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/MassFlux.g.cs
@@ -55,13 +55,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly MassFluxUnit? _unit;
static MassFlux()
diff --git a/UnitsNet/GeneratedCode/Quantities/MassFraction.g.cs b/UnitsNet/GeneratedCode/Quantities/MassFraction.g.cs
index 3d11a8d6ac..749c8a47c6 100644
--- a/UnitsNet/GeneratedCode/Quantities/MassFraction.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/MassFraction.g.cs
@@ -56,13 +56,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly MassFractionUnit? _unit;
static MassFraction()
diff --git a/UnitsNet/GeneratedCode/Quantities/MassMomentOfInertia.g.cs b/UnitsNet/GeneratedCode/Quantities/MassMomentOfInertia.g.cs
index cece155b32..b1960d57f9 100644
--- a/UnitsNet/GeneratedCode/Quantities/MassMomentOfInertia.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/MassMomentOfInertia.g.cs
@@ -47,13 +47,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly MassMomentOfInertiaUnit? _unit;
static MassMomentOfInertia()
diff --git a/UnitsNet/GeneratedCode/Quantities/Molality.g.cs b/UnitsNet/GeneratedCode/Quantities/Molality.g.cs
index 6873dd2891..6bc27c5f39 100644
--- a/UnitsNet/GeneratedCode/Quantities/Molality.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Molality.g.cs
@@ -50,13 +50,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly MolalityUnit? _unit;
static Molality()
diff --git a/UnitsNet/GeneratedCode/Quantities/MolarEnergy.g.cs b/UnitsNet/GeneratedCode/Quantities/MolarEnergy.g.cs
index aec5941186..2685cba4e5 100644
--- a/UnitsNet/GeneratedCode/Quantities/MolarEnergy.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/MolarEnergy.g.cs
@@ -47,13 +47,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly MolarEnergyUnit? _unit;
static MolarEnergy()
diff --git a/UnitsNet/GeneratedCode/Quantities/MolarEntropy.g.cs b/UnitsNet/GeneratedCode/Quantities/MolarEntropy.g.cs
index 812e236cab..c7006545cc 100644
--- a/UnitsNet/GeneratedCode/Quantities/MolarEntropy.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/MolarEntropy.g.cs
@@ -47,13 +47,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly MolarEntropyUnit? _unit;
static MolarEntropy()
diff --git a/UnitsNet/GeneratedCode/Quantities/MolarFlow.g.cs b/UnitsNet/GeneratedCode/Quantities/MolarFlow.g.cs
index 41af47b11d..c9bd4c5d32 100644
--- a/UnitsNet/GeneratedCode/Quantities/MolarFlow.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/MolarFlow.g.cs
@@ -56,13 +56,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly MolarFlowUnit? _unit;
static MolarFlow()
diff --git a/UnitsNet/GeneratedCode/Quantities/MolarMass.g.cs b/UnitsNet/GeneratedCode/Quantities/MolarMass.g.cs
index 285f387898..435d364984 100644
--- a/UnitsNet/GeneratedCode/Quantities/MolarMass.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/MolarMass.g.cs
@@ -55,13 +55,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly MolarMassUnit? _unit;
static MolarMass()
diff --git a/UnitsNet/GeneratedCode/Quantities/Molarity.g.cs b/UnitsNet/GeneratedCode/Quantities/Molarity.g.cs
index 85997751a3..936248d156 100644
--- a/UnitsNet/GeneratedCode/Quantities/Molarity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Molarity.g.cs
@@ -57,13 +57,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly MolarityUnit? _unit;
static Molarity()
diff --git a/UnitsNet/GeneratedCode/Quantities/Permeability.g.cs b/UnitsNet/GeneratedCode/Quantities/Permeability.g.cs
index 3a2fc624f6..be2971b0cd 100644
--- a/UnitsNet/GeneratedCode/Quantities/Permeability.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Permeability.g.cs
@@ -50,13 +50,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly PermeabilityUnit? _unit;
static Permeability()
diff --git a/UnitsNet/GeneratedCode/Quantities/Permittivity.g.cs b/UnitsNet/GeneratedCode/Quantities/Permittivity.g.cs
index 1cfd9c6dcf..ef68870bba 100644
--- a/UnitsNet/GeneratedCode/Quantities/Permittivity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Permittivity.g.cs
@@ -50,13 +50,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly PermittivityUnit? _unit;
static Permittivity()
diff --git a/UnitsNet/GeneratedCode/Quantities/PorousMediumPermeability.g.cs b/UnitsNet/GeneratedCode/Quantities/PorousMediumPermeability.g.cs
index 475e411e73..a2443d796f 100644
--- a/UnitsNet/GeneratedCode/Quantities/PorousMediumPermeability.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/PorousMediumPermeability.g.cs
@@ -50,13 +50,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly PorousMediumPermeabilityUnit? _unit;
static PorousMediumPermeability()
diff --git a/UnitsNet/GeneratedCode/Quantities/Power.g.cs b/UnitsNet/GeneratedCode/Quantities/Power.g.cs
index 475bbbe81e..dc3d486953 100644
--- a/UnitsNet/GeneratedCode/Quantities/Power.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Power.g.cs
@@ -65,13 +65,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly decimal _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly PowerUnit? _unit;
static Power()
diff --git a/UnitsNet/GeneratedCode/Quantities/PowerDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/PowerDensity.g.cs
index a18ed33c53..3324bdaf78 100644
--- a/UnitsNet/GeneratedCode/Quantities/PowerDensity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/PowerDensity.g.cs
@@ -47,13 +47,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly PowerDensityUnit? _unit;
static PowerDensity()
diff --git a/UnitsNet/GeneratedCode/Quantities/PowerRatio.g.cs b/UnitsNet/GeneratedCode/Quantities/PowerRatio.g.cs
index e167b84c17..ea2ee3c7d6 100644
--- a/UnitsNet/GeneratedCode/Quantities/PowerRatio.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/PowerRatio.g.cs
@@ -47,13 +47,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly PowerRatioUnit? _unit;
static PowerRatio()
diff --git a/UnitsNet/GeneratedCode/Quantities/Pressure.g.cs b/UnitsNet/GeneratedCode/Quantities/Pressure.g.cs
index c03ed75484..38e86ad76c 100644
--- a/UnitsNet/GeneratedCode/Quantities/Pressure.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Pressure.g.cs
@@ -59,13 +59,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly PressureUnit? _unit;
static Pressure()
diff --git a/UnitsNet/GeneratedCode/Quantities/PressureChangeRate.g.cs b/UnitsNet/GeneratedCode/Quantities/PressureChangeRate.g.cs
index 13c093d8ea..4a857e3e2a 100644
--- a/UnitsNet/GeneratedCode/Quantities/PressureChangeRate.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/PressureChangeRate.g.cs
@@ -54,13 +54,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly PressureChangeRateUnit? _unit;
static PressureChangeRate()
diff --git a/UnitsNet/GeneratedCode/Quantities/RadiationExposure.g.cs b/UnitsNet/GeneratedCode/Quantities/RadiationExposure.g.cs
index cc0cbae92a..f7214c4925 100644
--- a/UnitsNet/GeneratedCode/Quantities/RadiationExposure.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/RadiationExposure.g.cs
@@ -47,13 +47,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly RadiationExposureUnit? _unit;
static RadiationExposure()
diff --git a/UnitsNet/GeneratedCode/Quantities/Radioactivity.g.cs b/UnitsNet/GeneratedCode/Quantities/Radioactivity.g.cs
index 82bd83970b..215280f504 100644
--- a/UnitsNet/GeneratedCode/Quantities/Radioactivity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Radioactivity.g.cs
@@ -47,13 +47,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly RadioactivityUnit? _unit;
static Radioactivity()
diff --git a/UnitsNet/GeneratedCode/Quantities/Ratio.g.cs b/UnitsNet/GeneratedCode/Quantities/Ratio.g.cs
index ad3129455b..d2e473b6f0 100644
--- a/UnitsNet/GeneratedCode/Quantities/Ratio.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Ratio.g.cs
@@ -47,13 +47,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly RatioUnit? _unit;
static Ratio()
diff --git a/UnitsNet/GeneratedCode/Quantities/RatioChangeRate.g.cs b/UnitsNet/GeneratedCode/Quantities/RatioChangeRate.g.cs
index fc45a08177..fff23fbc87 100644
--- a/UnitsNet/GeneratedCode/Quantities/RatioChangeRate.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/RatioChangeRate.g.cs
@@ -47,13 +47,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly RatioChangeRateUnit? _unit;
static RatioChangeRate()
diff --git a/UnitsNet/GeneratedCode/Quantities/ReactiveEnergy.g.cs b/UnitsNet/GeneratedCode/Quantities/ReactiveEnergy.g.cs
index 6a4a87bff1..7078170d8f 100644
--- a/UnitsNet/GeneratedCode/Quantities/ReactiveEnergy.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ReactiveEnergy.g.cs
@@ -47,13 +47,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly ReactiveEnergyUnit? _unit;
static ReactiveEnergy()
diff --git a/UnitsNet/GeneratedCode/Quantities/ReactivePower.g.cs b/UnitsNet/GeneratedCode/Quantities/ReactivePower.g.cs
index 87a57bab66..eb13dc9ce0 100644
--- a/UnitsNet/GeneratedCode/Quantities/ReactivePower.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ReactivePower.g.cs
@@ -47,13 +47,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly ReactivePowerUnit? _unit;
static ReactivePower()
diff --git a/UnitsNet/GeneratedCode/Quantities/ReciprocalArea.g.cs b/UnitsNet/GeneratedCode/Quantities/ReciprocalArea.g.cs
index d738a440ca..33af7f257e 100644
--- a/UnitsNet/GeneratedCode/Quantities/ReciprocalArea.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ReciprocalArea.g.cs
@@ -58,13 +58,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly ReciprocalAreaUnit? _unit;
static ReciprocalArea()
diff --git a/UnitsNet/GeneratedCode/Quantities/ReciprocalLength.g.cs b/UnitsNet/GeneratedCode/Quantities/ReciprocalLength.g.cs
index 338ba936b1..e7e14092e9 100644
--- a/UnitsNet/GeneratedCode/Quantities/ReciprocalLength.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ReciprocalLength.g.cs
@@ -59,13 +59,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly ReciprocalLengthUnit? _unit;
static ReciprocalLength()
diff --git a/UnitsNet/GeneratedCode/Quantities/RelativeHumidity.g.cs b/UnitsNet/GeneratedCode/Quantities/RelativeHumidity.g.cs
index f869e249e9..e40d9a2225 100644
--- a/UnitsNet/GeneratedCode/Quantities/RelativeHumidity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/RelativeHumidity.g.cs
@@ -47,13 +47,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly RelativeHumidityUnit? _unit;
static RelativeHumidity()
diff --git a/UnitsNet/GeneratedCode/Quantities/RotationalAcceleration.g.cs b/UnitsNet/GeneratedCode/Quantities/RotationalAcceleration.g.cs
index 2908c46eaf..69d92b62ea 100644
--- a/UnitsNet/GeneratedCode/Quantities/RotationalAcceleration.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/RotationalAcceleration.g.cs
@@ -47,13 +47,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly RotationalAccelerationUnit? _unit;
static RotationalAcceleration()
diff --git a/UnitsNet/GeneratedCode/Quantities/RotationalSpeed.g.cs b/UnitsNet/GeneratedCode/Quantities/RotationalSpeed.g.cs
index 764cfd2154..72fb597d12 100644
--- a/UnitsNet/GeneratedCode/Quantities/RotationalSpeed.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/RotationalSpeed.g.cs
@@ -54,13 +54,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly RotationalSpeedUnit? _unit;
static RotationalSpeed()
diff --git a/UnitsNet/GeneratedCode/Quantities/RotationalStiffness.g.cs b/UnitsNet/GeneratedCode/Quantities/RotationalStiffness.g.cs
index f695eb00af..cba3bee86f 100644
--- a/UnitsNet/GeneratedCode/Quantities/RotationalStiffness.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/RotationalStiffness.g.cs
@@ -55,13 +55,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly RotationalStiffnessUnit? _unit;
static RotationalStiffness()
diff --git a/UnitsNet/GeneratedCode/Quantities/RotationalStiffnessPerLength.g.cs b/UnitsNet/GeneratedCode/Quantities/RotationalStiffnessPerLength.g.cs
index 7994f6fea6..8c914284af 100644
--- a/UnitsNet/GeneratedCode/Quantities/RotationalStiffnessPerLength.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/RotationalStiffnessPerLength.g.cs
@@ -53,13 +53,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly RotationalStiffnessPerLengthUnit? _unit;
static RotationalStiffnessPerLength()
diff --git a/UnitsNet/GeneratedCode/Quantities/Scalar.g.cs b/UnitsNet/GeneratedCode/Quantities/Scalar.g.cs
index 410c1f7ecc..7e354aaac0 100644
--- a/UnitsNet/GeneratedCode/Quantities/Scalar.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Scalar.g.cs
@@ -47,13 +47,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly ScalarUnit? _unit;
static Scalar()
diff --git a/UnitsNet/GeneratedCode/Quantities/SolidAngle.g.cs b/UnitsNet/GeneratedCode/Quantities/SolidAngle.g.cs
index 38b0c43c5d..d6087d18e6 100644
--- a/UnitsNet/GeneratedCode/Quantities/SolidAngle.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/SolidAngle.g.cs
@@ -50,13 +50,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly SolidAngleUnit? _unit;
static SolidAngle()
diff --git a/UnitsNet/GeneratedCode/Quantities/SpecificEnergy.g.cs b/UnitsNet/GeneratedCode/Quantities/SpecificEnergy.g.cs
index ae041cfd4a..c757fb0091 100644
--- a/UnitsNet/GeneratedCode/Quantities/SpecificEnergy.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/SpecificEnergy.g.cs
@@ -59,13 +59,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly SpecificEnergyUnit? _unit;
static SpecificEnergy()
diff --git a/UnitsNet/GeneratedCode/Quantities/SpecificEntropy.g.cs b/UnitsNet/GeneratedCode/Quantities/SpecificEntropy.g.cs
index 947b7d5784..308a10e0f5 100644
--- a/UnitsNet/GeneratedCode/Quantities/SpecificEntropy.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/SpecificEntropy.g.cs
@@ -54,13 +54,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly SpecificEntropyUnit? _unit;
static SpecificEntropy()
diff --git a/UnitsNet/GeneratedCode/Quantities/SpecificFuelConsumption.g.cs b/UnitsNet/GeneratedCode/Quantities/SpecificFuelConsumption.g.cs
index 8966135ee6..c292ceeef9 100644
--- a/UnitsNet/GeneratedCode/Quantities/SpecificFuelConsumption.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/SpecificFuelConsumption.g.cs
@@ -50,13 +50,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly SpecificFuelConsumptionUnit? _unit;
static SpecificFuelConsumption()
diff --git a/UnitsNet/GeneratedCode/Quantities/SpecificVolume.g.cs b/UnitsNet/GeneratedCode/Quantities/SpecificVolume.g.cs
index fe1120be0d..bf896f2a04 100644
--- a/UnitsNet/GeneratedCode/Quantities/SpecificVolume.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/SpecificVolume.g.cs
@@ -53,13 +53,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly SpecificVolumeUnit? _unit;
static SpecificVolume()
diff --git a/UnitsNet/GeneratedCode/Quantities/SpecificWeight.g.cs b/UnitsNet/GeneratedCode/Quantities/SpecificWeight.g.cs
index dd50467cf8..c6141cac2a 100644
--- a/UnitsNet/GeneratedCode/Quantities/SpecificWeight.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/SpecificWeight.g.cs
@@ -59,13 +59,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly SpecificWeightUnit? _unit;
static SpecificWeight()
diff --git a/UnitsNet/GeneratedCode/Quantities/Speed.g.cs b/UnitsNet/GeneratedCode/Quantities/Speed.g.cs
index f1672b27ae..06ade9b4bb 100644
--- a/UnitsNet/GeneratedCode/Quantities/Speed.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Speed.g.cs
@@ -62,13 +62,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly SpeedUnit? _unit;
static Speed()
diff --git a/UnitsNet/GeneratedCode/Quantities/StandardVolumeFlow.g.cs b/UnitsNet/GeneratedCode/Quantities/StandardVolumeFlow.g.cs
index 5b998472ed..e229c4b67a 100644
--- a/UnitsNet/GeneratedCode/Quantities/StandardVolumeFlow.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/StandardVolumeFlow.g.cs
@@ -47,13 +47,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly StandardVolumeFlowUnit? _unit;
static StandardVolumeFlow()
diff --git a/UnitsNet/GeneratedCode/Quantities/Temperature.g.cs b/UnitsNet/GeneratedCode/Quantities/Temperature.g.cs
index 56d52222c8..9b89fd2f04 100644
--- a/UnitsNet/GeneratedCode/Quantities/Temperature.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Temperature.g.cs
@@ -47,13 +47,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly TemperatureUnit? _unit;
static Temperature()
diff --git a/UnitsNet/GeneratedCode/Quantities/TemperatureChangeRate.g.cs b/UnitsNet/GeneratedCode/Quantities/TemperatureChangeRate.g.cs
index 05799ba7c5..3a397fbf7c 100644
--- a/UnitsNet/GeneratedCode/Quantities/TemperatureChangeRate.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/TemperatureChangeRate.g.cs
@@ -54,13 +54,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly TemperatureChangeRateUnit? _unit;
static TemperatureChangeRate()
diff --git a/UnitsNet/GeneratedCode/Quantities/TemperatureDelta.g.cs b/UnitsNet/GeneratedCode/Quantities/TemperatureDelta.g.cs
index 3a0bec33d8..96d1d1fdf1 100644
--- a/UnitsNet/GeneratedCode/Quantities/TemperatureDelta.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/TemperatureDelta.g.cs
@@ -57,13 +57,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly TemperatureDeltaUnit? _unit;
static TemperatureDelta()
diff --git a/UnitsNet/GeneratedCode/Quantities/TemperatureGradient.g.cs b/UnitsNet/GeneratedCode/Quantities/TemperatureGradient.g.cs
index 93d6ee18a4..cb9e6d6e36 100644
--- a/UnitsNet/GeneratedCode/Quantities/TemperatureGradient.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/TemperatureGradient.g.cs
@@ -53,13 +53,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly TemperatureGradientUnit? _unit;
static TemperatureGradient()
diff --git a/UnitsNet/GeneratedCode/Quantities/ThermalConductivity.g.cs b/UnitsNet/GeneratedCode/Quantities/ThermalConductivity.g.cs
index e402a5be18..5436d4b4da 100644
--- a/UnitsNet/GeneratedCode/Quantities/ThermalConductivity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ThermalConductivity.g.cs
@@ -50,13 +50,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly ThermalConductivityUnit? _unit;
static ThermalConductivity()
diff --git a/UnitsNet/GeneratedCode/Quantities/ThermalResistance.g.cs b/UnitsNet/GeneratedCode/Quantities/ThermalResistance.g.cs
index 06713100d4..0a0a9698bf 100644
--- a/UnitsNet/GeneratedCode/Quantities/ThermalResistance.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ThermalResistance.g.cs
@@ -47,13 +47,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly ThermalResistanceUnit? _unit;
static ThermalResistance()
diff --git a/UnitsNet/GeneratedCode/Quantities/Torque.g.cs b/UnitsNet/GeneratedCode/Quantities/Torque.g.cs
index 87eaaf99b7..96128169ef 100644
--- a/UnitsNet/GeneratedCode/Quantities/Torque.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Torque.g.cs
@@ -56,13 +56,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly TorqueUnit? _unit;
static Torque()
diff --git a/UnitsNet/GeneratedCode/Quantities/TorquePerLength.g.cs b/UnitsNet/GeneratedCode/Quantities/TorquePerLength.g.cs
index 2e3582a04f..1abe988cf9 100644
--- a/UnitsNet/GeneratedCode/Quantities/TorquePerLength.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/TorquePerLength.g.cs
@@ -47,13 +47,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly TorquePerLengthUnit? _unit;
static TorquePerLength()
diff --git a/UnitsNet/GeneratedCode/Quantities/Turbidity.g.cs b/UnitsNet/GeneratedCode/Quantities/Turbidity.g.cs
index 10ceccf7d7..17caf386c4 100644
--- a/UnitsNet/GeneratedCode/Quantities/Turbidity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Turbidity.g.cs
@@ -50,13 +50,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly TurbidityUnit? _unit;
static Turbidity()
diff --git a/UnitsNet/GeneratedCode/Quantities/VitaminA.g.cs b/UnitsNet/GeneratedCode/Quantities/VitaminA.g.cs
index ca08eed1ed..c28ce6e569 100644
--- a/UnitsNet/GeneratedCode/Quantities/VitaminA.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/VitaminA.g.cs
@@ -47,13 +47,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly VitaminAUnit? _unit;
static VitaminA()
diff --git a/UnitsNet/GeneratedCode/Quantities/Volume.g.cs b/UnitsNet/GeneratedCode/Quantities/Volume.g.cs
index b7517fca06..0f241b68e8 100644
--- a/UnitsNet/GeneratedCode/Quantities/Volume.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Volume.g.cs
@@ -59,13 +59,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly VolumeUnit? _unit;
static Volume()
diff --git a/UnitsNet/GeneratedCode/Quantities/VolumeConcentration.g.cs b/UnitsNet/GeneratedCode/Quantities/VolumeConcentration.g.cs
index 3b813902a3..93895cf334 100644
--- a/UnitsNet/GeneratedCode/Quantities/VolumeConcentration.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/VolumeConcentration.g.cs
@@ -57,13 +57,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly VolumeConcentrationUnit? _unit;
static VolumeConcentration()
diff --git a/UnitsNet/GeneratedCode/Quantities/VolumeFlow.g.cs b/UnitsNet/GeneratedCode/Quantities/VolumeFlow.g.cs
index bce0ff4739..a76a9f150a 100644
--- a/UnitsNet/GeneratedCode/Quantities/VolumeFlow.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/VolumeFlow.g.cs
@@ -57,13 +57,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly VolumeFlowUnit? _unit;
static VolumeFlow()
diff --git a/UnitsNet/GeneratedCode/Quantities/VolumeFlowPerArea.g.cs b/UnitsNet/GeneratedCode/Quantities/VolumeFlowPerArea.g.cs
index 41bd9801db..058ca287dd 100644
--- a/UnitsNet/GeneratedCode/Quantities/VolumeFlowPerArea.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/VolumeFlowPerArea.g.cs
@@ -47,13 +47,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly VolumeFlowPerAreaUnit? _unit;
static VolumeFlowPerArea()
diff --git a/UnitsNet/GeneratedCode/Quantities/VolumePerLength.g.cs b/UnitsNet/GeneratedCode/Quantities/VolumePerLength.g.cs
index 72f78ac97e..a51dabcde1 100644
--- a/UnitsNet/GeneratedCode/Quantities/VolumePerLength.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/VolumePerLength.g.cs
@@ -47,13 +47,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly VolumePerLengthUnit? _unit;
static VolumePerLength()
diff --git a/UnitsNet/GeneratedCode/Quantities/VolumetricHeatCapacity.g.cs b/UnitsNet/GeneratedCode/Quantities/VolumetricHeatCapacity.g.cs
index 093ee8b1cb..3e141d1649 100644
--- a/UnitsNet/GeneratedCode/Quantities/VolumetricHeatCapacity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/VolumetricHeatCapacity.g.cs
@@ -50,13 +50,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly VolumetricHeatCapacityUnit? _unit;
static VolumetricHeatCapacity()
diff --git a/UnitsNet/GeneratedCode/Quantities/WarpingMomentOfInertia.g.cs b/UnitsNet/GeneratedCode/Quantities/WarpingMomentOfInertia.g.cs
index c7c1034b2e..42412a843b 100644
--- a/UnitsNet/GeneratedCode/Quantities/WarpingMomentOfInertia.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/WarpingMomentOfInertia.g.cs
@@ -47,13 +47,13 @@ namespace UnitsNet
///
/// The numeric value this quantity was constructed with.
///
- [DataMember(Name = "Value", Order = 0)]
+ [DataMember(Name = "Value", Order = 1)]
private readonly double _value;
///
/// The unit this quantity was constructed with.
///
- [DataMember(Name = "Unit", Order = 1)]
+ [DataMember(Name = "Unit", Order = 2)]
private readonly WarpingMomentOfInertiaUnit? _unit;
static WarpingMomentOfInertia()