From aa2a74303afd7860054fb6a2a6efa7b40216890d Mon Sep 17 00:00:00 2001 From: Andreas Gullberg Larsen Date: Wed, 14 Feb 2024 07:26:22 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=A5=F0=9F=90=9BChange=20DataMember=20o?= =?UTF-8?q?rdering=20to=201-indexed=20(#1360)=20(#1363)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Related #1200 Fixes #1356 Apparently, protobuf-net does not support 0-indexed order values. - Change `DataMember` explicit order from 0-indexed to 1-indexed Some investigation indicates that the actual order value is not important, only the relative ordering: https://github.com/angularsen/UnitsNet/issues/1356#issuecomment-1900278438 - WCF should tolerate this, according to its docs. https://github.com/angularsen/UnitsNet/issues/1356#issuecomment-1900278438 - Binary formatters hopefully only care about relative ordering and thus still compatible? - Protobuf-net, it never worked and should be OK - [BinaryFormatter](https://learn.microsoft.com/en-us/dotnet/api/system.runtime.serialization.formatters.binary.binaryformatter?view=net-8.0) is obsolete and generally not recommended for years, so hopefully no users are affected - A bunch of others exist too, haven't looked into how they handle this - XML/JSON serializers should tolerate any order, can't imagine it breaking these? --- CodeGen/Generators/UnitsNetGen/QuantityGenerator.cs | 4 ++-- .../Quantities/AbsorbedDoseOfIonizingRadiation.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Acceleration.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/AmountOfSubstance.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/AmplitudeRatio.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Angle.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ApparentEnergy.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ApparentPower.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Area.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/AreaDensity.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/AreaMomentOfInertia.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/BitRate.g.cs | 4 ++-- .../Quantities/BrakeSpecificFuelConsumption.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Capacitance.g.cs | 4 ++-- .../Quantities/CoefficientOfThermalExpansion.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Compressibility.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Density.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Duration.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/DynamicViscosity.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ElectricAdmittance.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ElectricCharge.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ElectricChargeDensity.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ElectricConductance.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ElectricConductivity.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ElectricCurrent.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ElectricCurrentDensity.g.cs | 4 ++-- .../GeneratedCode/Quantities/ElectricCurrentGradient.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ElectricField.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ElectricInductance.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ElectricPotential.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ElectricPotentialAc.g.cs | 4 ++-- .../GeneratedCode/Quantities/ElectricPotentialChangeRate.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ElectricPotentialDc.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ElectricResistance.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ElectricResistivity.g.cs | 4 ++-- .../Quantities/ElectricSurfaceChargeDensity.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Energy.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/EnergyDensity.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Entropy.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Force.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ForceChangeRate.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ForcePerLength.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Frequency.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/FuelEfficiency.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/HeatFlux.g.cs | 4 ++-- .../GeneratedCode/Quantities/HeatTransferCoefficient.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Illuminance.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Impulse.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Information.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Irradiance.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Irradiation.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Jerk.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/KinematicViscosity.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/LeakRate.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Length.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Level.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/LinearDensity.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/LinearPowerDensity.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Luminance.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Luminosity.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/LuminousFlux.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/LuminousIntensity.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/MagneticField.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/MagneticFlux.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Magnetization.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Mass.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/MassConcentration.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/MassFlow.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/MassFlux.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/MassFraction.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/MassMomentOfInertia.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Molality.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/MolarEnergy.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/MolarEntropy.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/MolarFlow.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/MolarMass.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Molarity.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Permeability.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Permittivity.g.cs | 4 ++-- .../GeneratedCode/Quantities/PorousMediumPermeability.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Power.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/PowerDensity.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/PowerRatio.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Pressure.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/PressureChangeRate.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/RadiationExposure.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Radioactivity.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Ratio.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/RatioChangeRate.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ReactiveEnergy.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ReactivePower.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ReciprocalArea.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ReciprocalLength.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/RelativeHumidity.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/RotationalAcceleration.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/RotationalSpeed.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/RotationalStiffness.g.cs | 4 ++-- .../Quantities/RotationalStiffnessPerLength.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Scalar.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/SolidAngle.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/SpecificEnergy.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/SpecificEntropy.g.cs | 4 ++-- .../GeneratedCode/Quantities/SpecificFuelConsumption.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/SpecificVolume.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/SpecificWeight.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Speed.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/StandardVolumeFlow.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Temperature.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/TemperatureChangeRate.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/TemperatureDelta.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/TemperatureGradient.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ThermalConductivity.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/ThermalResistance.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Torque.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/TorquePerLength.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Turbidity.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/VitaminA.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/Volume.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/VolumeConcentration.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/VolumeFlow.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/VolumeFlowPerArea.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/VolumePerLength.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/VolumetricHeatCapacity.g.cs | 4 ++-- UnitsNet/GeneratedCode/Quantities/WarpingMomentOfInertia.g.cs | 4 ++-- 124 files changed, 248 insertions(+), 248 deletions(-) diff --git a/CodeGen/Generators/UnitsNetGen/QuantityGenerator.cs b/CodeGen/Generators/UnitsNetGen/QuantityGenerator.cs index 031b5d0c55..56bcd6bc0b 100644 --- a/CodeGen/Generators/UnitsNetGen/QuantityGenerator.cs +++ b/CodeGen/Generators/UnitsNetGen/QuantityGenerator.cs @@ -82,13 +82,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(); diff --git a/UnitsNet/GeneratedCode/Quantities/AbsorbedDoseOfIonizingRadiation.g.cs b/UnitsNet/GeneratedCode/Quantities/AbsorbedDoseOfIonizingRadiation.g.cs index d298fa0a0e..9cb7320d07 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 ba700ce0a6..9d339c9f58 100644 --- a/UnitsNet/GeneratedCode/Quantities/Acceleration.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Acceleration.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 AccelerationUnit? _unit; static Acceleration() diff --git a/UnitsNet/GeneratedCode/Quantities/AmountOfSubstance.g.cs b/UnitsNet/GeneratedCode/Quantities/AmountOfSubstance.g.cs index 7c428ebd06..3b7ce4083b 100644 --- a/UnitsNet/GeneratedCode/Quantities/AmountOfSubstance.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/AmountOfSubstance.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 AmountOfSubstanceUnit? _unit; static AmountOfSubstance() diff --git a/UnitsNet/GeneratedCode/Quantities/AmplitudeRatio.g.cs b/UnitsNet/GeneratedCode/Quantities/AmplitudeRatio.g.cs index 3311db2870..17205e1361 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 e1e19da154..bda588fe07 100644 --- a/UnitsNet/GeneratedCode/Quantities/Angle.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Angle.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 AngleUnit? _unit; static Angle() diff --git a/UnitsNet/GeneratedCode/Quantities/ApparentEnergy.g.cs b/UnitsNet/GeneratedCode/Quantities/ApparentEnergy.g.cs index 2863b0be5f..395edac542 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 fb6c0eb086..5a4ab36b8d 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 6c0b4d2bb2..8183a60286 100644 --- a/UnitsNet/GeneratedCode/Quantities/Area.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Area.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 AreaUnit? _unit; static Area() diff --git a/UnitsNet/GeneratedCode/Quantities/AreaDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/AreaDensity.g.cs index b1413377f3..f30cc89b6d 100644 --- a/UnitsNet/GeneratedCode/Quantities/AreaDensity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/AreaDensity.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 AreaDensityUnit? _unit; static AreaDensity() diff --git a/UnitsNet/GeneratedCode/Quantities/AreaMomentOfInertia.g.cs b/UnitsNet/GeneratedCode/Quantities/AreaMomentOfInertia.g.cs index 5e99d19640..79a9f1765b 100644 --- a/UnitsNet/GeneratedCode/Quantities/AreaMomentOfInertia.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/AreaMomentOfInertia.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 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 9d44e789dd..e35937eb22 100644 --- a/UnitsNet/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.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 BrakeSpecificFuelConsumptionUnit? _unit; static BrakeSpecificFuelConsumption() diff --git a/UnitsNet/GeneratedCode/Quantities/Capacitance.g.cs b/UnitsNet/GeneratedCode/Quantities/Capacitance.g.cs index ee13557165..bfe8a15407 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 fb3f68cec8..112f616dde 100644 --- a/UnitsNet/GeneratedCode/Quantities/CoefficientOfThermalExpansion.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/CoefficientOfThermalExpansion.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 CoefficientOfThermalExpansionUnit? _unit; static CoefficientOfThermalExpansion() diff --git a/UnitsNet/GeneratedCode/Quantities/Compressibility.g.cs b/UnitsNet/GeneratedCode/Quantities/Compressibility.g.cs index 66529b83b8..2c76c29a85 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 d648a03d8f..e2931faaa7 100644 --- a/UnitsNet/GeneratedCode/Quantities/Density.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Density.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 DensityUnit? _unit; static Density() diff --git a/UnitsNet/GeneratedCode/Quantities/Duration.g.cs b/UnitsNet/GeneratedCode/Quantities/Duration.g.cs index b7d437df45..752e85fb68 100644 --- a/UnitsNet/GeneratedCode/Quantities/Duration.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Duration.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 DurationUnit? _unit; static Duration() diff --git a/UnitsNet/GeneratedCode/Quantities/DynamicViscosity.g.cs b/UnitsNet/GeneratedCode/Quantities/DynamicViscosity.g.cs index 8b9fec91e9..967eef2877 100644 --- a/UnitsNet/GeneratedCode/Quantities/DynamicViscosity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/DynamicViscosity.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 DynamicViscosityUnit? _unit; static DynamicViscosity() diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricAdmittance.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricAdmittance.g.cs index 0ce3a0f80f..7a08e39e7d 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 7882ac8960..37af59b8d6 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricCharge.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricCharge.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 ElectricChargeUnit? _unit; static ElectricCharge() diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricChargeDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricChargeDensity.g.cs index a290973a58..079f650e96 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 c8a4d1dcb4..94126c8ed1 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 09df006af7..59b59081ce 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 80e95ee4ba..24755fafc7 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricCurrent.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricCurrent.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 ElectricCurrentUnit? _unit; static ElectricCurrent() diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricCurrentDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricCurrentDensity.g.cs index 9c24238d60..8e0bfce5a0 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 044d4ad6d7..59ed4c7b8c 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricCurrentGradient.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricCurrentGradient.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 ElectricCurrentGradientUnit? _unit; static ElectricCurrentGradient() diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricField.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricField.g.cs index 97d8662782..cef49cc011 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 c124373991..0294de0054 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 bf4fd44d3f..d481f554fb 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricPotential.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricPotential.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 ElectricPotentialUnit? _unit; static ElectricPotential() diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricPotentialAc.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricPotentialAc.g.cs index a03ff4520c..0c950bb2b2 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 96db13ce29..d3963850d3 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 a4c48d4abc..0b2a841c16 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 b91c8e0b72..9b3f362729 100644 --- a/UnitsNet/GeneratedCode/Quantities/ElectricResistance.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ElectricResistance.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 ElectricResistanceUnit? _unit; static ElectricResistance() diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricResistivity.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricResistivity.g.cs index 3332a834ad..6f2a0d189b 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 422c6d8c52..04cee8105d 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 151a2621ee..bd479ee511 100644 --- a/UnitsNet/GeneratedCode/Quantities/Energy.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Energy.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 EnergyUnit? _unit; static Energy() diff --git a/UnitsNet/GeneratedCode/Quantities/EnergyDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/EnergyDensity.g.cs index 6c9cebbdc1..fe61aeb16e 100644 --- a/UnitsNet/GeneratedCode/Quantities/EnergyDensity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/EnergyDensity.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 EnergyDensityUnit? _unit; static EnergyDensity() diff --git a/UnitsNet/GeneratedCode/Quantities/Entropy.g.cs b/UnitsNet/GeneratedCode/Quantities/Entropy.g.cs index df5ec29e4d..e6ec846097 100644 --- a/UnitsNet/GeneratedCode/Quantities/Entropy.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Entropy.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 EntropyUnit? _unit; static Entropy() diff --git a/UnitsNet/GeneratedCode/Quantities/Force.g.cs b/UnitsNet/GeneratedCode/Quantities/Force.g.cs index fe8fa8ae48..f2c6b18426 100644 --- a/UnitsNet/GeneratedCode/Quantities/Force.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Force.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 ForceUnit? _unit; static Force() diff --git a/UnitsNet/GeneratedCode/Quantities/ForceChangeRate.g.cs b/UnitsNet/GeneratedCode/Quantities/ForceChangeRate.g.cs index ed92f8f384..761a46a672 100644 --- a/UnitsNet/GeneratedCode/Quantities/ForceChangeRate.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ForceChangeRate.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 ForceChangeRateUnit? _unit; static ForceChangeRate() diff --git a/UnitsNet/GeneratedCode/Quantities/ForcePerLength.g.cs b/UnitsNet/GeneratedCode/Quantities/ForcePerLength.g.cs index 73654c7222..cbd04583f8 100644 --- a/UnitsNet/GeneratedCode/Quantities/ForcePerLength.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ForcePerLength.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 ForcePerLengthUnit? _unit; static ForcePerLength() diff --git a/UnitsNet/GeneratedCode/Quantities/Frequency.g.cs b/UnitsNet/GeneratedCode/Quantities/Frequency.g.cs index 70b75a26cb..88e86c5cc4 100644 --- a/UnitsNet/GeneratedCode/Quantities/Frequency.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Frequency.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 FrequencyUnit? _unit; static Frequency() diff --git a/UnitsNet/GeneratedCode/Quantities/FuelEfficiency.g.cs b/UnitsNet/GeneratedCode/Quantities/FuelEfficiency.g.cs index c2e1665afc..dd52a43b4f 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 d0e2dac5e2..a75443811c 100644 --- a/UnitsNet/GeneratedCode/Quantities/HeatFlux.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/HeatFlux.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 HeatFluxUnit? _unit; static HeatFlux() diff --git a/UnitsNet/GeneratedCode/Quantities/HeatTransferCoefficient.g.cs b/UnitsNet/GeneratedCode/Quantities/HeatTransferCoefficient.g.cs index 5b0d0d812a..20ff070c5f 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 d1a7b11de6..489ff87e97 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 18c29b13a3..190a006ea4 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 1b2faee843..dd448c6430 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 55d780854a..d30e2185da 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 5618e8c0c5..3c0436c9f6 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 b278c98a98..99b39c1e46 100644 --- a/UnitsNet/GeneratedCode/Quantities/KinematicViscosity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/KinematicViscosity.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 KinematicViscosityUnit? _unit; static KinematicViscosity() diff --git a/UnitsNet/GeneratedCode/Quantities/LeakRate.g.cs b/UnitsNet/GeneratedCode/Quantities/LeakRate.g.cs index 7792c37d4b..f1e0e7e692 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 56eb003acf..88d0f619c5 100644 --- a/UnitsNet/GeneratedCode/Quantities/Length.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Length.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 LengthUnit? _unit; static Length() diff --git a/UnitsNet/GeneratedCode/Quantities/Level.g.cs b/UnitsNet/GeneratedCode/Quantities/Level.g.cs index fd5a9fcd0c..7e834d899e 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 f5c9f76ec8..7b4478438f 100644 --- a/UnitsNet/GeneratedCode/Quantities/LinearDensity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/LinearDensity.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 LinearDensityUnit? _unit; static LinearDensity() diff --git a/UnitsNet/GeneratedCode/Quantities/LinearPowerDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/LinearPowerDensity.g.cs index 2d2d1651e3..45f1638bac 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 de6be7a16f..898c02ad96 100644 --- a/UnitsNet/GeneratedCode/Quantities/Luminance.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Luminance.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 LuminanceUnit? _unit; static Luminance() diff --git a/UnitsNet/GeneratedCode/Quantities/Luminosity.g.cs b/UnitsNet/GeneratedCode/Quantities/Luminosity.g.cs index 3b36a03ea2..e87865e657 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 855c605541..ff01e32568 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 f01aba9310..a9140d967d 100644 --- a/UnitsNet/GeneratedCode/Quantities/LuminousIntensity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/LuminousIntensity.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 LuminousIntensityUnit? _unit; static LuminousIntensity() diff --git a/UnitsNet/GeneratedCode/Quantities/MagneticField.g.cs b/UnitsNet/GeneratedCode/Quantities/MagneticField.g.cs index 20bb8e38a0..cb634e0ade 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 61c2da9fd0..5322969453 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 ba18aa9554..65d852140c 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 fc866ba991..59a7f77519 100644 --- a/UnitsNet/GeneratedCode/Quantities/Mass.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Mass.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 MassUnit? _unit; static Mass() diff --git a/UnitsNet/GeneratedCode/Quantities/MassConcentration.g.cs b/UnitsNet/GeneratedCode/Quantities/MassConcentration.g.cs index aabfd7f1d6..7e5d329890 100644 --- a/UnitsNet/GeneratedCode/Quantities/MassConcentration.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/MassConcentration.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 MassConcentrationUnit? _unit; static MassConcentration() diff --git a/UnitsNet/GeneratedCode/Quantities/MassFlow.g.cs b/UnitsNet/GeneratedCode/Quantities/MassFlow.g.cs index 726589a06d..8e859c0f47 100644 --- a/UnitsNet/GeneratedCode/Quantities/MassFlow.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/MassFlow.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 MassFlowUnit? _unit; static MassFlow() diff --git a/UnitsNet/GeneratedCode/Quantities/MassFlux.g.cs b/UnitsNet/GeneratedCode/Quantities/MassFlux.g.cs index 2feb33ed5b..a3d43d940f 100644 --- a/UnitsNet/GeneratedCode/Quantities/MassFlux.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/MassFlux.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 MassFluxUnit? _unit; static MassFlux() diff --git a/UnitsNet/GeneratedCode/Quantities/MassFraction.g.cs b/UnitsNet/GeneratedCode/Quantities/MassFraction.g.cs index 074b9bd8fa..650ea4b81d 100644 --- a/UnitsNet/GeneratedCode/Quantities/MassFraction.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/MassFraction.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 MassFractionUnit? _unit; static MassFraction() diff --git a/UnitsNet/GeneratedCode/Quantities/MassMomentOfInertia.g.cs b/UnitsNet/GeneratedCode/Quantities/MassMomentOfInertia.g.cs index 19f5d0d383..b9bc714d88 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 44b51bcede..0fc183d41c 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 bbec973db3..9e7471f5bb 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 3558fbc02d..bd2a42370a 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 ce9a381c2e..2257f0bd6f 100644 --- a/UnitsNet/GeneratedCode/Quantities/MolarFlow.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/MolarFlow.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 MolarFlowUnit? _unit; static MolarFlow() diff --git a/UnitsNet/GeneratedCode/Quantities/MolarMass.g.cs b/UnitsNet/GeneratedCode/Quantities/MolarMass.g.cs index 8b72eb0323..8d535c00af 100644 --- a/UnitsNet/GeneratedCode/Quantities/MolarMass.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/MolarMass.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 MolarMassUnit? _unit; static MolarMass() diff --git a/UnitsNet/GeneratedCode/Quantities/Molarity.g.cs b/UnitsNet/GeneratedCode/Quantities/Molarity.g.cs index 4814b4fdac..1cfd284ffd 100644 --- a/UnitsNet/GeneratedCode/Quantities/Molarity.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Molarity.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 MolarityUnit? _unit; static Molarity() diff --git a/UnitsNet/GeneratedCode/Quantities/Permeability.g.cs b/UnitsNet/GeneratedCode/Quantities/Permeability.g.cs index b9013703e4..34d413b1ad 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 16cbd25cfb..999b217ffd 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 5001ca2528..abee972d9c 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 199ef43506..2f6f5454be 100644 --- a/UnitsNet/GeneratedCode/Quantities/Power.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Power.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 PowerUnit? _unit; static Power() diff --git a/UnitsNet/GeneratedCode/Quantities/PowerDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/PowerDensity.g.cs index 40b9812e0a..1fc636b573 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 a29c91647c..598af1e3eb 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 25078e7698..abe4cfc758 100644 --- a/UnitsNet/GeneratedCode/Quantities/Pressure.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Pressure.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 PressureUnit? _unit; static Pressure() diff --git a/UnitsNet/GeneratedCode/Quantities/PressureChangeRate.g.cs b/UnitsNet/GeneratedCode/Quantities/PressureChangeRate.g.cs index 9eba1a7ad0..86b0ea3e19 100644 --- a/UnitsNet/GeneratedCode/Quantities/PressureChangeRate.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/PressureChangeRate.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 PressureChangeRateUnit? _unit; static PressureChangeRate() diff --git a/UnitsNet/GeneratedCode/Quantities/RadiationExposure.g.cs b/UnitsNet/GeneratedCode/Quantities/RadiationExposure.g.cs index ef1853eca5..b55c514548 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 3c72a27641..1827b582ae 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 64de7446aa..63a5c198f2 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 d46826ecd4..9fef955afc 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 d6dd38c49f..25916740d7 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 08ceeb1b59..1fd7bc6b1b 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 83edb0b0f8..105ef61009 100644 --- a/UnitsNet/GeneratedCode/Quantities/ReciprocalArea.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ReciprocalArea.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 ReciprocalAreaUnit? _unit; static ReciprocalArea() diff --git a/UnitsNet/GeneratedCode/Quantities/ReciprocalLength.g.cs b/UnitsNet/GeneratedCode/Quantities/ReciprocalLength.g.cs index 5757b2e3dc..b61b58094a 100644 --- a/UnitsNet/GeneratedCode/Quantities/ReciprocalLength.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/ReciprocalLength.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 ReciprocalLengthUnit? _unit; static ReciprocalLength() diff --git a/UnitsNet/GeneratedCode/Quantities/RelativeHumidity.g.cs b/UnitsNet/GeneratedCode/Quantities/RelativeHumidity.g.cs index bcb5812a57..f8324b47a6 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 e3087be300..db5f6d3a23 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 3262386093..fe428aafdf 100644 --- a/UnitsNet/GeneratedCode/Quantities/RotationalSpeed.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/RotationalSpeed.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 RotationalSpeedUnit? _unit; static RotationalSpeed() diff --git a/UnitsNet/GeneratedCode/Quantities/RotationalStiffness.g.cs b/UnitsNet/GeneratedCode/Quantities/RotationalStiffness.g.cs index 819a43022b..ad3b18fdff 100644 --- a/UnitsNet/GeneratedCode/Quantities/RotationalStiffness.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/RotationalStiffness.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 RotationalStiffnessUnit? _unit; static RotationalStiffness() diff --git a/UnitsNet/GeneratedCode/Quantities/RotationalStiffnessPerLength.g.cs b/UnitsNet/GeneratedCode/Quantities/RotationalStiffnessPerLength.g.cs index 23a1cdafd5..cf2b8128b9 100644 --- a/UnitsNet/GeneratedCode/Quantities/RotationalStiffnessPerLength.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/RotationalStiffnessPerLength.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 RotationalStiffnessPerLengthUnit? _unit; static RotationalStiffnessPerLength() diff --git a/UnitsNet/GeneratedCode/Quantities/Scalar.g.cs b/UnitsNet/GeneratedCode/Quantities/Scalar.g.cs index 457c258fda..2f1e0e0eb8 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 894e8b3f5f..d3cd067140 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 ca1e69f93b..487f414852 100644 --- a/UnitsNet/GeneratedCode/Quantities/SpecificEnergy.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/SpecificEnergy.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 SpecificEnergyUnit? _unit; static SpecificEnergy() diff --git a/UnitsNet/GeneratedCode/Quantities/SpecificEntropy.g.cs b/UnitsNet/GeneratedCode/Quantities/SpecificEntropy.g.cs index a60c421170..8f187846fb 100644 --- a/UnitsNet/GeneratedCode/Quantities/SpecificEntropy.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/SpecificEntropy.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 SpecificEntropyUnit? _unit; static SpecificEntropy() diff --git a/UnitsNet/GeneratedCode/Quantities/SpecificFuelConsumption.g.cs b/UnitsNet/GeneratedCode/Quantities/SpecificFuelConsumption.g.cs index 068f959660..96e2d43088 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 9cfef5e88e..62668120cc 100644 --- a/UnitsNet/GeneratedCode/Quantities/SpecificVolume.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/SpecificVolume.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 SpecificVolumeUnit? _unit; static SpecificVolume() diff --git a/UnitsNet/GeneratedCode/Quantities/SpecificWeight.g.cs b/UnitsNet/GeneratedCode/Quantities/SpecificWeight.g.cs index 8be1def8e8..38f7dcc446 100644 --- a/UnitsNet/GeneratedCode/Quantities/SpecificWeight.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/SpecificWeight.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 SpecificWeightUnit? _unit; static SpecificWeight() diff --git a/UnitsNet/GeneratedCode/Quantities/Speed.g.cs b/UnitsNet/GeneratedCode/Quantities/Speed.g.cs index 07767638d6..6b03f82dc2 100644 --- a/UnitsNet/GeneratedCode/Quantities/Speed.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Speed.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 SpeedUnit? _unit; static Speed() diff --git a/UnitsNet/GeneratedCode/Quantities/StandardVolumeFlow.g.cs b/UnitsNet/GeneratedCode/Quantities/StandardVolumeFlow.g.cs index b7db4ce03b..403dc573d2 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 f8df052091..f1fd7516d6 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 f0d3ffeec0..3535b7a757 100644 --- a/UnitsNet/GeneratedCode/Quantities/TemperatureChangeRate.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/TemperatureChangeRate.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 TemperatureChangeRateUnit? _unit; static TemperatureChangeRate() diff --git a/UnitsNet/GeneratedCode/Quantities/TemperatureDelta.g.cs b/UnitsNet/GeneratedCode/Quantities/TemperatureDelta.g.cs index 00c73911da..e2fbe7becc 100644 --- a/UnitsNet/GeneratedCode/Quantities/TemperatureDelta.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/TemperatureDelta.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 TemperatureDeltaUnit? _unit; static TemperatureDelta() diff --git a/UnitsNet/GeneratedCode/Quantities/TemperatureGradient.g.cs b/UnitsNet/GeneratedCode/Quantities/TemperatureGradient.g.cs index f62488e27f..fbcc8d1639 100644 --- a/UnitsNet/GeneratedCode/Quantities/TemperatureGradient.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/TemperatureGradient.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 TemperatureGradientUnit? _unit; static TemperatureGradient() diff --git a/UnitsNet/GeneratedCode/Quantities/ThermalConductivity.g.cs b/UnitsNet/GeneratedCode/Quantities/ThermalConductivity.g.cs index 2025bb0dfd..9b71a558df 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 1046e5363c..147b6d04ec 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 be55483305..a5868119dd 100644 --- a/UnitsNet/GeneratedCode/Quantities/Torque.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Torque.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 TorqueUnit? _unit; static Torque() diff --git a/UnitsNet/GeneratedCode/Quantities/TorquePerLength.g.cs b/UnitsNet/GeneratedCode/Quantities/TorquePerLength.g.cs index 0eec675773..f5e4883b56 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 bf842a20be..fd8ca469ca 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 ce62457a5f..e5ba65c57c 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 2815bdde9d..5c3b28c287 100644 --- a/UnitsNet/GeneratedCode/Quantities/Volume.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/Volume.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 VolumeUnit? _unit; static Volume() diff --git a/UnitsNet/GeneratedCode/Quantities/VolumeConcentration.g.cs b/UnitsNet/GeneratedCode/Quantities/VolumeConcentration.g.cs index 6233db1180..291ca8b85d 100644 --- a/UnitsNet/GeneratedCode/Quantities/VolumeConcentration.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/VolumeConcentration.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 VolumeConcentrationUnit? _unit; static VolumeConcentration() diff --git a/UnitsNet/GeneratedCode/Quantities/VolumeFlow.g.cs b/UnitsNet/GeneratedCode/Quantities/VolumeFlow.g.cs index 0842666310..4c161a99b2 100644 --- a/UnitsNet/GeneratedCode/Quantities/VolumeFlow.g.cs +++ b/UnitsNet/GeneratedCode/Quantities/VolumeFlow.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 VolumeFlowUnit? _unit; static VolumeFlow() diff --git a/UnitsNet/GeneratedCode/Quantities/VolumeFlowPerArea.g.cs b/UnitsNet/GeneratedCode/Quantities/VolumeFlowPerArea.g.cs index fc1ce4c428..1718909c8a 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 59f6fb4496..76d7afb513 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 798996c6b5..a36cf12201 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 cc92626c1e..9606b534d8 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()